diff --git a/apps/web/package.json b/apps/web/package.json
index b6624093dfc..90ff90d932f 100644
--- a/apps/web/package.json
+++ b/apps/web/package.json
@@ -68,7 +68,7 @@
},
"devDependencies": {
"@faker-js/faker": "^9.0.3",
- "@formatjs/cli": "^6.2.15",
+ "@formatjs/cli": "^6.3.5",
"@gc-digital-talent/eslint-config": "workspace:*",
"@gc-digital-talent/fake-data": "workspace:*",
"@gc-digital-talent/helpers": "workspace:*",
diff --git a/apps/web/src/pages/DirectivePage/DirectivePage.tsx b/apps/web/src/pages/DirectivePage/DirectivePage.tsx
index 5d96dbd3dcc..a1795658d40 100644
--- a/apps/web/src/pages/DirectivePage/DirectivePage.tsx
+++ b/apps/web/src/pages/DirectivePage/DirectivePage.tsx
@@ -25,6 +25,7 @@ import {
import Hero from "~/components/HeroDeprecated";
import useBreadcrumbs from "~/hooks/useBreadcrumbs";
import useRoutes from "~/hooks/useRoutes";
+import SEO from "~/components/SEO/SEO";
import Resources from "./Resources";
@@ -76,6 +77,13 @@ export const pageTitle = defineMessage({
description: "Title for the digital talent directive page",
});
+export const pageSubtitle = defineMessage({
+ defaultMessage:
+ "Learn more about how the Government of Canada is strengthening the talent base of the GC digital community.",
+ id: "c/u1K+",
+ description: "Subtitle for the digital talent directive page",
+});
+
export const Component = () => {
const intl = useIntl();
const locale = getLocale(intl);
@@ -103,14 +111,13 @@ export const Component = () => {
return (
<>
+
diff --git a/packages/forms/src/types.ts b/packages/forms/src/types.ts
index 0c4b4a19380..96e1463bb40 100644
--- a/packages/forms/src/types.ts
+++ b/packages/forms/src/types.ts
@@ -4,12 +4,7 @@ import {
FieldsetHTMLAttributes,
ReactNode,
} from "react";
-import {
- RegisterOptions,
- FieldError,
- FieldErrorsImpl,
- Merge,
-} from "react-hook-form";
+import { RegisterOptions } from "react-hook-form";
export type FieldLabels = Record;
@@ -45,14 +40,6 @@ export interface CommonInputProps {
trackUnsaved?: boolean;
}
-export type InputFieldError =
- | string
- | FieldError
- // This is from `react-hook-form` so ignore the any
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
- | Merge>
- | undefined;
-
export interface Option {
label: ReactNode;
value: string | number;
diff --git a/packages/i18n/package.json b/packages/i18n/package.json
index 834fc4232d3..96406a9bac8 100644
--- a/packages/i18n/package.json
+++ b/packages/i18n/package.json
@@ -27,7 +27,7 @@
"@gc-digital-talent/graphql": "workspace:*"
},
"devDependencies": {
- "@formatjs/cli": "^6.2.15",
+ "@formatjs/cli": "^6.3.5",
"@gc-digital-talent/eslint-config": "workspace:*",
"@gc-digital-talent/helpers": "workspace:*",
"@gc-digital-talent/logger": "workspace:*",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index a46f6f07dbd..6ba416cac78 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -161,8 +161,8 @@ importers:
specifier: ^9.0.3
version: 9.0.3
'@formatjs/cli':
- specifier: ^6.2.15
- version: 6.2.15
+ specifier: ^6.3.5
+ version: 6.3.5
'@gc-digital-talent/eslint-config':
specifier: workspace:*
version: link:../../packages/eslint-config-custom
@@ -763,8 +763,8 @@ importers:
version: link:../graphql
devDependencies:
'@formatjs/cli':
- specifier: ^6.2.15
- version: 6.2.15
+ specifier: ^6.3.5
+ version: 6.3.5
'@gc-digital-talent/eslint-config':
specifier: workspace:*
version: link:../eslint-config-custom
@@ -2033,8 +2033,8 @@ packages:
'@floating-ui/utils@0.2.4':
resolution: {integrity: sha512-dWO2pw8hhi+WrXq1YJy2yCuWoL20PddgGaqTgVe4cOS9Q6qklXCiA1tJEqX6BEwRNSCP84/afac9hd4MS+zEUA==}
- '@formatjs/cli@6.2.15':
- resolution: {integrity: sha512-s31YblAseSVqgFvY2EoIZaaEycifR/CadvMj1WcNvFvHK+2Xn02OuSX1jiKM/Nx29hX2x8k0raFJ6PtnXZgjtQ==}
+ '@formatjs/cli@6.3.5':
+ resolution: {integrity: sha512-SkMSNl9ULAHYWrPujKjC+mHK4S1WsHgQPk/8Nl0cXzk/PUpKKfQ7+t4YdZICC3etvA6Eyvgj3+1Biogmzmo7Sw==}
engines: {node: '>= 16'}
hasBin: true
peerDependencies:
@@ -8833,7 +8833,7 @@ snapshots:
'@floating-ui/utils@0.2.4': {}
- '@formatjs/cli@6.2.15': {}
+ '@formatjs/cli@6.3.5': {}
'@formatjs/ecma402-abstract@2.0.0':
dependencies: