diff --git a/.infra/local/Dockerfile b/.infra/local/Dockerfile
new file mode 100644
index 0000000..34cb7fa
--- /dev/null
+++ b/.infra/local/Dockerfile
@@ -0,0 +1,8 @@
+FROM mongo:7
+COPY ./mongo_keyfile /tmp/mongo_keyfile
+COPY ./mongod.conf /etc/mongod.conf
+RUN chown mongodb:mongodb /etc/mongod.conf
+RUN chown mongodb:mongodb /tmp/mongo_keyfile
+RUN chmod 400 /tmp/mongo_keyfile
+
+CMD ["mongod", "--config", "/etc/mongod.conf"]
diff --git a/docker-compose.yml b/docker-compose.yml
index b9b154d..a13514b 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -1,15 +1,12 @@
services:
mongodb:
- image: mongo:7
+ build: ./.infra/local/
restart: unless-stopped
hostname: mongodb
ports:
- "127.0.0.1:27017:27017"
- command: ["-f", "/etc/mongod.conf"]
volumes:
- tpml_mongodb_data:/data
- - ./.infra/local/mongo_keyfile:/tmp/mongo_keyfile
- - ./.infra/local/mongod.conf:/etc/mongod.conf:ro
healthcheck:
test: ["CMD", "mongosh", "--eval", '''db.runCommand("ping").ok''', "--quiet"]
interval: 10s
diff --git a/ui/app/StartDsfr.tsx b/ui/app/StartDsfr.tsx
index 9a4a77c..da7f8b7 100644
--- a/ui/app/StartDsfr.tsx
+++ b/ui/app/StartDsfr.tsx
@@ -3,13 +3,15 @@
import { startReactDsfr } from "@codegouvfr/react-dsfr/next-appdir";
import Link from "next/link";
+import { defaultColorScheme } from "@/theme/defaultColorScheme";
+
declare module "@codegouvfr/react-dsfr/next-appdir" {
interface RegisterLink {
Link: typeof Link;
}
}
-startReactDsfr({ defaultColorScheme: "light", Link });
+startReactDsfr({ defaultColorScheme, Link });
export function StartDsfr() {
//Yes, leave null here.
diff --git a/ui/app/admin/utilisateurs/[id]/page.tsx b/ui/app/admin/utilisateurs/[id]/page.tsx
index 788ae45..a0eb39e 100644
--- a/ui/app/admin/utilisateurs/[id]/page.tsx
+++ b/ui/app/admin/utilisateurs/[id]/page.tsx
@@ -3,10 +3,11 @@ import { apiGet } from "@/utils/api.utils";
import UserView from "./components/UserView";
interface Props {
- params: { id: string };
+ params: Promise<{ id: string }>;
}
-const AdminUserViewPage = async ({ params }: Props) => {
+const AdminUserViewPage = async (props: Props) => {
+ const params = await props.params;
//@ts-expect-error: TODO fix this
const user = await apiGet(`/admin/users/:id`, { params });
diff --git a/ui/app/doc/[[...slug]]/page.tsx b/ui/app/doc/[[...slug]]/page.tsx
index 28f573c..a60ba3a 100644
--- a/ui/app/doc/[[...slug]]/page.tsx
+++ b/ui/app/doc/[[...slug]]/page.tsx
@@ -5,13 +5,13 @@ import NotFoundPage from "@/app/not-found";
export const revalidate = 3_600;
type DocPageProps = {
- params: {
+ params: Promise<{
slug: string[];
- };
+ }>;
};
export default async function DocPage(props: DocPageProps) {
- const path = `/doc/${props.params.slug.join("/")}`;
+ const path = `/doc/${(await props.params).slug.join("/")}`;
const page = Object.values(NOTION_PAGES).find((p) => {
return p.path === path;
});
diff --git a/ui/app/notion/[id]/page.tsx b/ui/app/notion/[id]/page.tsx
index 44bb520..4b69f50 100644
--- a/ui/app/notion/[id]/page.tsx
+++ b/ui/app/notion/[id]/page.tsx
@@ -2,6 +2,10 @@ import NotionPage from "@/app/components/notion/NotionPage";
export const revalidate = 300;
-export default async function Page({ params: { id } }: { params: { id: string } }) {
+export default async function Page(props: { params: Promise<{ id: string }> }) {
+ const params = await props.params;
+
+ const { id } = params;
+
return ;
}
diff --git a/ui/app/template.tsx b/ui/app/template.tsx
index 0ab9364..fd073e5 100644
--- a/ui/app/template.tsx
+++ b/ui/app/template.tsx
@@ -31,7 +31,7 @@ const RootTemplate: FC = ({ children }) => {
{children}
-
+ {/* */}
diff --git a/ui/next.config.mjs b/ui/next.config.mjs
index c034eb9..a68b9f9 100644
--- a/ui/next.config.mjs
+++ b/ui/next.config.mjs
@@ -1,5 +1,6 @@
-/* eslint-disable @typescript-eslint/no-var-requires */
-/** @type {import('next').NextConfig} */
+/**
+ * @type {import('next').NextConfig}
+ */
import { withSentryConfig } from "@sentry/nextjs";
import { withPlausibleProxy } from "next-plausible";
@@ -31,14 +32,16 @@ const contentSecurityPolicy = `
`;
const nextConfig = {
- transpilePackages: ["shared"],
+ transpilePackages: [
+ "shared",
+ "@codegouvfr/react-dsfr",
+ "tss-react", // This is for MUI or if you use htts://tss-react.dev
+ ],
poweredByHeader: false,
productionBrowserSourceMaps: true,
- swcMinify: true,
+ outputFileTracingRoot: path.join(path.dirname(fileURLToPath(import.meta.url)), "../"),
experimental: {
- outputFileTracingRoot: path.join(path.dirname(fileURLToPath(import.meta.url)), "../"),
- typedRoutes: true,
- instrumentationHook: true,
+ // typedRoutes: true,
},
output: "standalone",
diff --git a/ui/package.json b/ui/package.json
index bcef1a9..251954c 100644
--- a/ui/package.json
+++ b/ui/package.json
@@ -11,20 +11,20 @@
"dev": "yarn predev && next dev",
"build": "yarn prebuild && next build --no-lint",
"typecheck": "tsc --noEmit",
- "predev": "only-include-used-icons",
- "prebuild": "only-include-used-icons"
+ "predev": "react-dsfr update-icons",
+ "prebuild": "react-dsfr update-icons"
},
"type": "module",
"dependencies": {
"@babel/runtime": "^7.25.7",
- "@codegouvfr/react-dsfr": "^1.13.8",
+ "@codegouvfr/react-dsfr": "^1.16.5",
"@emotion/cache": "^11.13.1",
- "@emotion/react": "^11.13.3",
+ "@emotion/react": "^11.14.0",
"@emotion/server": "^11.11.0",
- "@emotion/styled": "^11.13.0",
+ "@emotion/styled": "^11.14.0",
"@hookform/resolvers": "^3.9.0",
"@mui/icons-material": "^6.1.3",
- "@mui/material": "^6.1.3",
+ "@mui/material": "^6.3.1",
"@mui/material-nextjs": "^6.1.3",
"@mui/system": "^6.1.3",
"@mui/x-data-grid": "^7.20.0",
@@ -32,8 +32,8 @@
"@sentry/nextjs": "^8.34.0",
"@tanstack/react-query": "^5.59.13",
"@types/node": "^22.5.5",
- "@types/react": "^18.3.11",
- "@types/react-dom": "^18.3.1",
+ "@types/react": "19.0.3",
+ "@types/react-dom": "19.0.2",
"accept-language": "^3.0.20",
"autosuggest-highlight": "^3.3.4",
"core-js": "^3.38.1",
@@ -44,11 +44,11 @@
"jwt-decode": "^4.0.0",
"match-sorter": "^6.3.4",
"mobx": "^6.13.3",
- "next": "^14.2.20",
+ "next": "15.1.3",
"next-plausible": "^3.12.2",
"notion-client": "^6.16.0",
- "react": "^18.3.1",
- "react-dom": "^18.3.1",
+ "react": "19.0.0",
+ "react-dom": "19.0.0",
"react-hook-form": "^7.53.0",
"react-i18next": "^15.0.3",
"react-markdown": "^9.0.1",
@@ -72,5 +72,9 @@
"notion-types": "^6.16.0",
"type-fest": "^4.26.1",
"vitest": "^2.1.3"
+ },
+ "resolutions": {
+ "@types/react": "19.0.3",
+ "@types/react-dom": "19.0.2"
}
}
diff --git a/ui/utils/api.utils.ts b/ui/utils/api.utils.ts
index 4fe3c8c..2e47da2 100644
--- a/ui/utils/api.utils.ts
+++ b/ui/utils/api.utils.ts
@@ -71,7 +71,8 @@ async function getHeaders(options: IRequestOptions) {
// By default server-side we don't use headers
// But we need them for the api, as all routes are authenticated
const { headers: nextHeaders } = await import("next/headers");
- const cookie = nextHeaders().get("cookie");
+ const headersList = await nextHeaders();
+ const cookie = headersList.get("cookie");
if (cookie) {
headers.append("cookie", cookie);
}
diff --git a/yarn.lock b/yarn.lock
index 24d9e6f..67b7762 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -205,6 +205,15 @@ __metadata:
languageName: node
linkType: hard
+"@babel/runtime@npm:^7.26.0":
+ version: 7.26.0
+ resolution: "@babel/runtime@npm:7.26.0"
+ dependencies:
+ regenerator-runtime: ^0.14.0
+ checksum: c8e2c0504ab271b3467a261a8f119bf2603eb857a0d71e37791f4e3fae00f681365073cc79f141ddaa90c6077c60ba56448004ad5429d07ac73532be9f7cf28a
+ languageName: node
+ linkType: hard
+
"@babel/template@npm:^7.25.7":
version: 7.25.7
resolution: "@babel/template@npm:7.25.7"
@@ -273,11 +282,11 @@ __metadata:
languageName: node
linkType: hard
-"@codegouvfr/react-dsfr@npm:^1.13.8":
- version: 1.14.1
- resolution: "@codegouvfr/react-dsfr@npm:1.14.1"
+"@codegouvfr/react-dsfr@npm:^1.16.5":
+ version: 1.16.5
+ resolution: "@codegouvfr/react-dsfr@npm:1.16.5"
dependencies:
- tsafe: ^1.7.2
+ tsafe: ^1.8.5
yargs-parser: ^21.1.1
peerDependencies:
"@gouvfr/dsfr-chart": ^1.0.0
@@ -288,7 +297,7 @@ __metadata:
copy-dsfr-to-public: bin/copy-dsfr-to-public.js
only-include-used-icons: bin/only-include-used-icons.js
react-dsfr: bin/react-dsfr.js
- checksum: b8b8b662f17c5f8459d0de579d03618110e659fbd95befc197c438307ad4ac6ab57893cd41da4ef72a13e9ea7d0ce89a48ad076849d6d63155586987d0f0de15
+ checksum: 76c9d300ec1acb4ac372a898eea0feb9b1ec2f00c90558866e41df8f820d52a0b25e33491e7cef5d84504c61682a7938f66fcca9278594690b02043239a8a48e
languageName: node
linkType: hard
@@ -612,26 +621,26 @@ __metadata:
languageName: node
linkType: hard
-"@emotion/babel-plugin@npm:^11.12.0":
- version: 11.12.0
- resolution: "@emotion/babel-plugin@npm:11.12.0"
+"@emotion/babel-plugin@npm:^11.13.5":
+ version: 11.13.5
+ resolution: "@emotion/babel-plugin@npm:11.13.5"
dependencies:
"@babel/helper-module-imports": ^7.16.7
"@babel/runtime": ^7.18.3
"@emotion/hash": ^0.9.2
"@emotion/memoize": ^0.9.0
- "@emotion/serialize": ^1.2.0
+ "@emotion/serialize": ^1.3.3
babel-plugin-macros: ^3.1.0
convert-source-map: ^1.5.0
escape-string-regexp: ^4.0.0
find-root: ^1.1.0
source-map: ^0.5.7
stylis: 4.2.0
- checksum: b5d4b3dfe97e6763794a42b5c3a027a560caa1aa6dcaf05c18e5969691368dd08245c077bad7397dcc720b53d29caeaaec1888121e68cfd9ab02ff52f6fef662
+ checksum: c41df7e6c19520e76d1939f884be878bf88b5ba00bd3de9d05c5b6c5baa5051686ab124d7317a0645de1b017b574d8139ae1d6390ec267fbe8e85a5252afb542
languageName: node
linkType: hard
-"@emotion/cache@npm:^11.13.0, @emotion/cache@npm:^11.13.1":
+"@emotion/cache@npm:^11.13.1":
version: 11.13.1
resolution: "@emotion/cache@npm:11.13.1"
dependencies:
@@ -644,6 +653,19 @@ __metadata:
languageName: node
linkType: hard
+"@emotion/cache@npm:^11.13.5, @emotion/cache@npm:^11.14.0":
+ version: 11.14.0
+ resolution: "@emotion/cache@npm:11.14.0"
+ dependencies:
+ "@emotion/memoize": ^0.9.0
+ "@emotion/sheet": ^1.4.0
+ "@emotion/utils": ^1.4.2
+ "@emotion/weak-memoize": ^0.4.0
+ stylis: 4.2.0
+ checksum: 0a81591541ea43bc7851742e6444b7800d72e98006f94e775ae6ea0806662d14e0a86ff940f5f19d33b4bb2c427c882aa65d417e7322a6e0d5f20fe65ed920c9
+ languageName: node
+ linkType: hard
+
"@emotion/hash@npm:^0.9.2":
version: 0.9.2
resolution: "@emotion/hash@npm:0.9.2"
@@ -683,16 +705,16 @@ __metadata:
languageName: node
linkType: hard
-"@emotion/react@npm:^11.13.3":
- version: 11.13.3
- resolution: "@emotion/react@npm:11.13.3"
+"@emotion/react@npm:^11.14.0":
+ version: 11.14.0
+ resolution: "@emotion/react@npm:11.14.0"
dependencies:
"@babel/runtime": ^7.18.3
- "@emotion/babel-plugin": ^11.12.0
- "@emotion/cache": ^11.13.0
- "@emotion/serialize": ^1.3.1
- "@emotion/use-insertion-effect-with-fallbacks": ^1.1.0
- "@emotion/utils": ^1.4.0
+ "@emotion/babel-plugin": ^11.13.5
+ "@emotion/cache": ^11.14.0
+ "@emotion/serialize": ^1.3.3
+ "@emotion/use-insertion-effect-with-fallbacks": ^1.2.0
+ "@emotion/utils": ^1.4.2
"@emotion/weak-memoize": ^0.4.0
hoist-non-react-statics: ^3.3.1
peerDependencies:
@@ -700,11 +722,11 @@ __metadata:
peerDependenciesMeta:
"@types/react":
optional: true
- checksum: 0b58374bf28de914b49881f0060acfb908989869ebab63a2287773fc5e91a39f15552632b03d376c3e9835c5b4f23a5ebac8b0963b29af164d46c0a77ac928f0
+ checksum: 3cf023b11d132b56168713764d6fced8e5a1f0687dfe0caa2782dfd428c8f9e30f9826a919965a311d87b523cd196722aaf75919cd0f6bd0fd57f8a6a0281500
languageName: node
linkType: hard
-"@emotion/serialize@npm:^1.2.0, @emotion/serialize@npm:^1.3.0, @emotion/serialize@npm:^1.3.1, @emotion/serialize@npm:^1.3.2":
+"@emotion/serialize@npm:^1.3.2":
version: 1.3.2
resolution: "@emotion/serialize@npm:1.3.2"
dependencies:
@@ -717,6 +739,19 @@ __metadata:
languageName: node
linkType: hard
+"@emotion/serialize@npm:^1.3.3":
+ version: 1.3.3
+ resolution: "@emotion/serialize@npm:1.3.3"
+ dependencies:
+ "@emotion/hash": ^0.9.2
+ "@emotion/memoize": ^0.9.0
+ "@emotion/unitless": ^0.10.0
+ "@emotion/utils": ^1.4.2
+ csstype: ^3.0.2
+ checksum: 510331233767ae4e09e925287ca2c7269b320fa1d737ea86db5b3c861a734483ea832394c0c1fe5b21468fe335624a75e72818831d303ba38125f54f44ba02e7
+ languageName: node
+ linkType: hard
+
"@emotion/server@npm:^11.11.0":
version: 11.11.0
resolution: "@emotion/server@npm:11.11.0"
@@ -741,23 +776,23 @@ __metadata:
languageName: node
linkType: hard
-"@emotion/styled@npm:^11.13.0":
- version: 11.13.0
- resolution: "@emotion/styled@npm:11.13.0"
+"@emotion/styled@npm:^11.14.0":
+ version: 11.14.0
+ resolution: "@emotion/styled@npm:11.14.0"
dependencies:
"@babel/runtime": ^7.18.3
- "@emotion/babel-plugin": ^11.12.0
+ "@emotion/babel-plugin": ^11.13.5
"@emotion/is-prop-valid": ^1.3.0
- "@emotion/serialize": ^1.3.0
- "@emotion/use-insertion-effect-with-fallbacks": ^1.1.0
- "@emotion/utils": ^1.4.0
+ "@emotion/serialize": ^1.3.3
+ "@emotion/use-insertion-effect-with-fallbacks": ^1.2.0
+ "@emotion/utils": ^1.4.2
peerDependencies:
"@emotion/react": ^11.0.0-rc.0
react: ">=16.8.0"
peerDependenciesMeta:
"@types/react":
optional: true
- checksum: f5b951059418f57bc8ea32b238afb25965ece3314f2ffd1b14ce049ba3c066a424990dfbfabbf57bb88e044eaa80bf19f620ac988adda3d2fc483177be6da05e
+ checksum: 9c1b842e942e69fb6037d1ab161046d2bcfeff95fd2ccfdab30acaaf6b89dc07b14bb00f8cc8ec14df11e6746c8e4e1d781bc54d10bd739aab44966ded64d4fb
languageName: node
linkType: hard
@@ -775,12 +810,12 @@ __metadata:
languageName: node
linkType: hard
-"@emotion/use-insertion-effect-with-fallbacks@npm:^1.1.0":
- version: 1.1.0
- resolution: "@emotion/use-insertion-effect-with-fallbacks@npm:1.1.0"
+"@emotion/use-insertion-effect-with-fallbacks@npm:^1.2.0":
+ version: 1.2.0
+ resolution: "@emotion/use-insertion-effect-with-fallbacks@npm:1.2.0"
peerDependencies:
react: ">=16.8.0"
- checksum: 63665191773b27de66807c53b90091ef0d10d5161381f62726cfceecfe1d8c944f18594b8021805fc81575b64246fd5ab9c75d60efabec92f940c1c410530949
+ checksum: 8ff6aec7f2924526ff8c8f8f93d4b8236376e2e12c435314a18c9a373016e24dfdf984e82bbc83712b8e90ff4783cd765eb39fc7050d1a43245e5728740ddd71
languageName: node
linkType: hard
@@ -791,6 +826,13 @@ __metadata:
languageName: node
linkType: hard
+"@emotion/utils@npm:^1.4.2":
+ version: 1.4.2
+ resolution: "@emotion/utils@npm:1.4.2"
+ checksum: 04cf76849c6401205c058b82689fd0ec5bf501aed6974880fe9681a1d61543efb97e848f4c38664ac4a9068c7ad2d1cb84f73bde6cf95f1208aa3c28e0190321
+ languageName: node
+ linkType: hard
+
"@emotion/weak-memoize@npm:^0.4.0":
version: 0.4.0
resolution: "@emotion/weak-memoize@npm:0.4.0"
@@ -1677,10 +1719,10 @@ __metadata:
languageName: node
linkType: hard
-"@mui/core-downloads-tracker@npm:^6.1.4":
- version: 6.1.4
- resolution: "@mui/core-downloads-tracker@npm:6.1.4"
- checksum: 6bffe7e09ec3cd5d47c52d4f4520b4138f5767776d7fc49942902c118bd9b4399eb329f335c156a8a6de32c7e6d74ba63ce407947a89401fe0441f37adaa6c1c
+"@mui/core-downloads-tracker@npm:^6.3.1":
+ version: 6.3.1
+ resolution: "@mui/core-downloads-tracker@npm:6.3.1"
+ checksum: 26bdb92d7a53c7d9123a60733f9cfae33acdee30ef78d1dcb0884e0e38b12bff375be54616898ead8abe1ed10550b7824d9c6b48c4f78dcab8e8fd32ae948794
languageName: node
linkType: hard
@@ -1723,26 +1765,26 @@ __metadata:
languageName: node
linkType: hard
-"@mui/material@npm:^6.1.3":
- version: 6.1.4
- resolution: "@mui/material@npm:6.1.4"
+"@mui/material@npm:^6.3.1":
+ version: 6.3.1
+ resolution: "@mui/material@npm:6.3.1"
dependencies:
- "@babel/runtime": ^7.25.7
- "@mui/core-downloads-tracker": ^6.1.4
- "@mui/system": ^6.1.4
- "@mui/types": ^7.2.18
- "@mui/utils": ^6.1.4
+ "@babel/runtime": ^7.26.0
+ "@mui/core-downloads-tracker": ^6.3.1
+ "@mui/system": ^6.3.1
+ "@mui/types": ^7.2.21
+ "@mui/utils": ^6.3.1
"@popperjs/core": ^2.11.8
- "@types/react-transition-group": ^4.4.11
+ "@types/react-transition-group": ^4.4.12
clsx: ^2.1.1
csstype: ^3.1.3
prop-types: ^15.8.1
- react-is: ^18.3.1
+ react-is: ^19.0.0
react-transition-group: ^4.4.5
peerDependencies:
"@emotion/react": ^11.5.0
"@emotion/styled": ^11.3.0
- "@mui/material-pigment-css": ^6.1.4
+ "@mui/material-pigment-css": ^6.3.1
"@types/react": ^17.0.0 || ^18.0.0 || ^19.0.0
react: ^17.0.0 || ^18.0.0 || ^19.0.0
react-dom: ^17.0.0 || ^18.0.0 || ^19.0.0
@@ -1755,7 +1797,7 @@ __metadata:
optional: true
"@types/react":
optional: true
- checksum: 46d95f087a2f3b9c04b786702baa9e260d7d3fe459dfa6bd8f61b50062265c8aaa294f22121df251ec8c39cc1b1404220c04657aba16fce2d695303fbe6411de
+ checksum: 55d5c56a7de1a4ce0feaa52860e1eb959736a50747e649fc786f29e6466fdb72a57b71f43a82ae6b30c58f73ef4e80dc74db899c3f1a7bbf189952baa3b72118
languageName: node
linkType: hard
@@ -1776,6 +1818,23 @@ __metadata:
languageName: node
linkType: hard
+"@mui/private-theming@npm:^6.3.1":
+ version: 6.3.1
+ resolution: "@mui/private-theming@npm:6.3.1"
+ dependencies:
+ "@babel/runtime": ^7.26.0
+ "@mui/utils": ^6.3.1
+ prop-types: ^15.8.1
+ peerDependencies:
+ "@types/react": ^17.0.0 || ^18.0.0 || ^19.0.0
+ react: ^17.0.0 || ^18.0.0 || ^19.0.0
+ peerDependenciesMeta:
+ "@types/react":
+ optional: true
+ checksum: 176b65d6186f1f3fe9a710575845e4eb4cc5386d560bbd70448595f0eaba367f9cd92f08a02165e65a8c1bd7dda9ba12da9985fb93306984295155afe09fd2be
+ languageName: node
+ linkType: hard
+
"@mui/styled-engine@npm:^6.1.4":
version: 6.1.4
resolution: "@mui/styled-engine@npm:6.1.4"
@@ -1799,7 +1858,30 @@ __metadata:
languageName: node
linkType: hard
-"@mui/system@npm:^6.1.3, @mui/system@npm:^6.1.4":
+"@mui/styled-engine@npm:^6.3.1":
+ version: 6.3.1
+ resolution: "@mui/styled-engine@npm:6.3.1"
+ dependencies:
+ "@babel/runtime": ^7.26.0
+ "@emotion/cache": ^11.13.5
+ "@emotion/serialize": ^1.3.3
+ "@emotion/sheet": ^1.4.0
+ csstype: ^3.1.3
+ prop-types: ^15.8.1
+ peerDependencies:
+ "@emotion/react": ^11.4.1
+ "@emotion/styled": ^11.3.0
+ react: ^17.0.0 || ^18.0.0 || ^19.0.0
+ peerDependenciesMeta:
+ "@emotion/react":
+ optional: true
+ "@emotion/styled":
+ optional: true
+ checksum: ca646327ca23f2f790986e2f85d9fe73f255edfff71262074df588d787fc0f4010b8363295d2477bf6a21398bf61d3d95baa460d9e22820b4fbf2aafde1abb76
+ languageName: node
+ linkType: hard
+
+"@mui/system@npm:^6.1.3":
version: 6.1.4
resolution: "@mui/system@npm:6.1.4"
dependencies:
@@ -1827,6 +1909,34 @@ __metadata:
languageName: node
linkType: hard
+"@mui/system@npm:^6.3.1":
+ version: 6.3.1
+ resolution: "@mui/system@npm:6.3.1"
+ dependencies:
+ "@babel/runtime": ^7.26.0
+ "@mui/private-theming": ^6.3.1
+ "@mui/styled-engine": ^6.3.1
+ "@mui/types": ^7.2.21
+ "@mui/utils": ^6.3.1
+ clsx: ^2.1.1
+ csstype: ^3.1.3
+ prop-types: ^15.8.1
+ peerDependencies:
+ "@emotion/react": ^11.5.0
+ "@emotion/styled": ^11.3.0
+ "@types/react": ^17.0.0 || ^18.0.0 || ^19.0.0
+ react: ^17.0.0 || ^18.0.0 || ^19.0.0
+ peerDependenciesMeta:
+ "@emotion/react":
+ optional: true
+ "@emotion/styled":
+ optional: true
+ "@types/react":
+ optional: true
+ checksum: ca7259e778415c55c90bddf468b4ddbd63b91dc5e62c67edf55d34f2349bbd250845b17711925d58250bbc1d4adeb01dd087f4346766acfdfc3799394160dcf1
+ languageName: node
+ linkType: hard
+
"@mui/types@npm:^7.2.18":
version: 7.2.18
resolution: "@mui/types@npm:7.2.18"
@@ -1839,6 +1949,18 @@ __metadata:
languageName: node
linkType: hard
+"@mui/types@npm:^7.2.21":
+ version: 7.2.21
+ resolution: "@mui/types@npm:7.2.21"
+ peerDependencies:
+ "@types/react": ^17.0.0 || ^18.0.0 || ^19.0.0
+ peerDependenciesMeta:
+ "@types/react":
+ optional: true
+ checksum: d3c005358777204debb75c684a25ec324df8a0e108440a4b8bd7c658716d6712d993253294fc790c4c9f431156502f1cafd63819643c7a7b9651ac3216ebf9f2
+ languageName: node
+ linkType: hard
+
"@mui/utils@npm:^5.16.6 || ^6.0.0, @mui/utils@npm:^6.1.4":
version: 6.1.4
resolution: "@mui/utils@npm:6.1.4"
@@ -1859,6 +1981,26 @@ __metadata:
languageName: node
linkType: hard
+"@mui/utils@npm:^6.3.1":
+ version: 6.3.1
+ resolution: "@mui/utils@npm:6.3.1"
+ dependencies:
+ "@babel/runtime": ^7.26.0
+ "@mui/types": ^7.2.21
+ "@types/prop-types": ^15.7.14
+ clsx: ^2.1.1
+ prop-types: ^15.8.1
+ react-is: ^19.0.0
+ peerDependencies:
+ "@types/react": ^17.0.0 || ^18.0.0 || ^19.0.0
+ react: ^17.0.0 || ^18.0.0 || ^19.0.0
+ peerDependenciesMeta:
+ "@types/react":
+ optional: true
+ checksum: 49740d9b1b465c06d0cdb56bed32f95e5006af998197357681b313c1c4c618ac200b701169be35a1cfc8beb2026e212d2bacb0069b9284acd13885ab872b1aea
+ languageName: node
+ linkType: hard
+
"@mui/x-data-grid@npm:^7.20.0":
version: 7.20.0
resolution: "@mui/x-data-grid@npm:7.20.0"
@@ -1945,10 +2087,10 @@ __metadata:
languageName: node
linkType: hard
-"@next/env@npm:14.2.20":
- version: 14.2.20
- resolution: "@next/env@npm:14.2.20"
- checksum: 2525fc529701eeae555540fa4b533af1e17fe9dcc025b1d192fabedb2585d30f9d1a2d28f193f53b86aa1972fe62931846e210ffd22f5741d692edbd370fd7da
+"@next/env@npm:15.1.3":
+ version: 15.1.3
+ resolution: "@next/env@npm:15.1.3"
+ checksum: 3b6c21f8de6ad12f753f4b38750f7d915b1361382421f5477c7ffb98325b234063f2d0ab225bbe78fe9455e01f5bce28a3fa131524e0b879e3c1e9cd83bd06aa
languageName: node
linkType: hard
@@ -1961,65 +2103,58 @@ __metadata:
languageName: node
linkType: hard
-"@next/swc-darwin-arm64@npm:14.2.20":
- version: 14.2.20
- resolution: "@next/swc-darwin-arm64@npm:14.2.20"
+"@next/swc-darwin-arm64@npm:15.1.3":
+ version: 15.1.3
+ resolution: "@next/swc-darwin-arm64@npm:15.1.3"
conditions: os=darwin & cpu=arm64
languageName: node
linkType: hard
-"@next/swc-darwin-x64@npm:14.2.20":
- version: 14.2.20
- resolution: "@next/swc-darwin-x64@npm:14.2.20"
+"@next/swc-darwin-x64@npm:15.1.3":
+ version: 15.1.3
+ resolution: "@next/swc-darwin-x64@npm:15.1.3"
conditions: os=darwin & cpu=x64
languageName: node
linkType: hard
-"@next/swc-linux-arm64-gnu@npm:14.2.20":
- version: 14.2.20
- resolution: "@next/swc-linux-arm64-gnu@npm:14.2.20"
+"@next/swc-linux-arm64-gnu@npm:15.1.3":
+ version: 15.1.3
+ resolution: "@next/swc-linux-arm64-gnu@npm:15.1.3"
conditions: os=linux & cpu=arm64 & libc=glibc
languageName: node
linkType: hard
-"@next/swc-linux-arm64-musl@npm:14.2.20":
- version: 14.2.20
- resolution: "@next/swc-linux-arm64-musl@npm:14.2.20"
+"@next/swc-linux-arm64-musl@npm:15.1.3":
+ version: 15.1.3
+ resolution: "@next/swc-linux-arm64-musl@npm:15.1.3"
conditions: os=linux & cpu=arm64 & libc=musl
languageName: node
linkType: hard
-"@next/swc-linux-x64-gnu@npm:14.2.20":
- version: 14.2.20
- resolution: "@next/swc-linux-x64-gnu@npm:14.2.20"
+"@next/swc-linux-x64-gnu@npm:15.1.3":
+ version: 15.1.3
+ resolution: "@next/swc-linux-x64-gnu@npm:15.1.3"
conditions: os=linux & cpu=x64 & libc=glibc
languageName: node
linkType: hard
-"@next/swc-linux-x64-musl@npm:14.2.20":
- version: 14.2.20
- resolution: "@next/swc-linux-x64-musl@npm:14.2.20"
+"@next/swc-linux-x64-musl@npm:15.1.3":
+ version: 15.1.3
+ resolution: "@next/swc-linux-x64-musl@npm:15.1.3"
conditions: os=linux & cpu=x64 & libc=musl
languageName: node
linkType: hard
-"@next/swc-win32-arm64-msvc@npm:14.2.20":
- version: 14.2.20
- resolution: "@next/swc-win32-arm64-msvc@npm:14.2.20"
+"@next/swc-win32-arm64-msvc@npm:15.1.3":
+ version: 15.1.3
+ resolution: "@next/swc-win32-arm64-msvc@npm:15.1.3"
conditions: os=win32 & cpu=arm64
languageName: node
linkType: hard
-"@next/swc-win32-ia32-msvc@npm:14.2.20":
- version: 14.2.20
- resolution: "@next/swc-win32-ia32-msvc@npm:14.2.20"
- conditions: os=win32 & cpu=ia32
- languageName: node
- linkType: hard
-
-"@next/swc-win32-x64-msvc@npm:14.2.20":
- version: 14.2.20
- resolution: "@next/swc-win32-x64-msvc@npm:14.2.20"
+"@next/swc-win32-x64-msvc@npm:15.1.3":
+ version: 15.1.3
+ resolution: "@next/swc-win32-x64-msvc@npm:15.1.3"
conditions: os=win32 & cpu=x64
languageName: node
linkType: hard
@@ -4265,20 +4400,19 @@ __metadata:
languageName: node
linkType: hard
-"@swc/counter@npm:^0.1.3":
+"@swc/counter@npm:0.1.3":
version: 0.1.3
resolution: "@swc/counter@npm:0.1.3"
checksum: df8f9cfba9904d3d60f511664c70d23bb323b3a0803ec9890f60133954173047ba9bdeabce28cd70ba89ccd3fd6c71c7b0bd58be85f611e1ffbe5d5c18616598
languageName: node
linkType: hard
-"@swc/helpers@npm:0.5.5":
- version: 0.5.5
- resolution: "@swc/helpers@npm:0.5.5"
+"@swc/helpers@npm:0.5.15":
+ version: 0.5.15
+ resolution: "@swc/helpers@npm:0.5.15"
dependencies:
- "@swc/counter": ^0.1.3
- tslib: ^2.4.0
- checksum: d4f207b191e54b29460804ddf2984ba6ece1d679a0b2f6a9c765dcf27bba92c5769e7965668a4546fb9f1021eaf0ff9be4bf5c235ce12adcd65acdfe77187d11
+ tslib: ^2.8.0
+ checksum: 1a9e0dbb792b2d1e0c914d69c201dbc96af3a0e6e6e8cf5a7f7d6a5d7b0e8b762915cd4447acb6b040e2ecc1ed49822875a7239f99a2d63c96c3c3407fb6fccf
languageName: node
linkType: hard
@@ -4690,6 +4824,13 @@ __metadata:
languageName: node
linkType: hard
+"@types/prop-types@npm:^15.7.14":
+ version: 15.7.14
+ resolution: "@types/prop-types@npm:15.7.14"
+ checksum: d0c5407b9ccc3dd5fae0ccf9b1007e7622ba5e6f1c18399b4f24dff33619d469da4b9fa918a374f19dc0d9fe6a013362aab0b844b606cfc10676efba3f5f736d
+ languageName: node
+ linkType: hard
+
"@types/ramda@npm:~0.30.0":
version: 0.30.2
resolution: "@types/ramda@npm:0.30.2"
@@ -4699,12 +4840,12 @@ __metadata:
languageName: node
linkType: hard
-"@types/react-dom@npm:^18.3.1":
- version: 18.3.1
- resolution: "@types/react-dom@npm:18.3.1"
- dependencies:
- "@types/react": "*"
- checksum: ad28ecce3915d30dc76adc2a1373fda1745ba429cea290e16c6628df9a05fd80b6403c8e87d78b45e6c60e51df7a67add389ab62b90070fbfdc9bda8307d9953
+"@types/react-dom@npm:19.0.2":
+ version: 19.0.2
+ resolution: "@types/react-dom@npm:19.0.2"
+ peerDependencies:
+ "@types/react": ^19.0.0
+ checksum: d2ae81ec0b8eee7a4bf31918796fdaa34e8db68f69682163bc212d759de76783e6ffcc02c02722dcf508429067148841e6da81414cc730ca2a28c9c2b350c880
languageName: node
linkType: hard
@@ -4717,7 +4858,16 @@ __metadata:
languageName: node
linkType: hard
-"@types/react@npm:*, @types/react@npm:^18.3.11":
+"@types/react-transition-group@npm:^4.4.12":
+ version: 4.4.12
+ resolution: "@types/react-transition-group@npm:4.4.12"
+ peerDependencies:
+ "@types/react": "*"
+ checksum: 13d36396cae4d3c316b03d4a0ba299f0d039c59368ba65e04b0c3dc06fd0a16f59d2c669c3e32d6d525a95423f156b84e550d26bff0bdd8df285f305f8f3a0ed
+ languageName: node
+ linkType: hard
+
+"@types/react@npm:*":
version: 18.3.11
resolution: "@types/react@npm:18.3.11"
dependencies:
@@ -4727,6 +4877,15 @@ __metadata:
languageName: node
linkType: hard
+"@types/react@npm:19.0.3":
+ version: 19.0.3
+ resolution: "@types/react@npm:19.0.3"
+ dependencies:
+ csstype: ^3.0.2
+ checksum: a6c2bcd032522f5c041601a0df1c56288ad66c7973fa672b6c375334dd93295a4d1bfebf9c3498bafb86525f1fd8f4d58175267ed41ef5534b64ba28bd274bb6
+ languageName: node
+ linkType: hard
+
"@types/responselike@npm:^1.0.0":
version: 1.0.3
resolution: "@types/responselike@npm:1.0.3"
@@ -14548,31 +14707,32 @@ __metadata:
languageName: node
linkType: hard
-"next@npm:^14.2.20":
- version: 14.2.20
- resolution: "next@npm:14.2.20"
+"next@npm:15.1.3":
+ version: 15.1.3
+ resolution: "next@npm:15.1.3"
dependencies:
- "@next/env": 14.2.20
- "@next/swc-darwin-arm64": 14.2.20
- "@next/swc-darwin-x64": 14.2.20
- "@next/swc-linux-arm64-gnu": 14.2.20
- "@next/swc-linux-arm64-musl": 14.2.20
- "@next/swc-linux-x64-gnu": 14.2.20
- "@next/swc-linux-x64-musl": 14.2.20
- "@next/swc-win32-arm64-msvc": 14.2.20
- "@next/swc-win32-ia32-msvc": 14.2.20
- "@next/swc-win32-x64-msvc": 14.2.20
- "@swc/helpers": 0.5.5
+ "@next/env": 15.1.3
+ "@next/swc-darwin-arm64": 15.1.3
+ "@next/swc-darwin-x64": 15.1.3
+ "@next/swc-linux-arm64-gnu": 15.1.3
+ "@next/swc-linux-arm64-musl": 15.1.3
+ "@next/swc-linux-x64-gnu": 15.1.3
+ "@next/swc-linux-x64-musl": 15.1.3
+ "@next/swc-win32-arm64-msvc": 15.1.3
+ "@next/swc-win32-x64-msvc": 15.1.3
+ "@swc/counter": 0.1.3
+ "@swc/helpers": 0.5.15
busboy: 1.6.0
caniuse-lite: ^1.0.30001579
- graceful-fs: ^4.2.11
postcss: 8.4.31
- styled-jsx: 5.1.1
+ sharp: ^0.33.5
+ styled-jsx: 5.1.6
peerDependencies:
"@opentelemetry/api": ^1.1.0
"@playwright/test": ^1.41.2
- react: ^18.2.0
- react-dom: ^18.2.0
+ babel-plugin-react-compiler: "*"
+ react: ^18.2.0 || 19.0.0-rc-de68d2f4-20241204 || ^19.0.0
+ react-dom: ^18.2.0 || 19.0.0-rc-de68d2f4-20241204 || ^19.0.0
sass: ^1.3.0
dependenciesMeta:
"@next/swc-darwin-arm64":
@@ -14589,20 +14749,22 @@ __metadata:
optional: true
"@next/swc-win32-arm64-msvc":
optional: true
- "@next/swc-win32-ia32-msvc":
- optional: true
"@next/swc-win32-x64-msvc":
optional: true
+ sharp:
+ optional: true
peerDependenciesMeta:
"@opentelemetry/api":
optional: true
"@playwright/test":
optional: true
+ babel-plugin-react-compiler:
+ optional: true
sass:
optional: true
bin:
next: dist/bin/next
- checksum: cee45a2640f9d0f6cbdcf50d7dd4cf45b565ecbc8d6a481ee282f2564e0665716f1ab6a3c73b01c6a8de80941c607d64aceb8316c4d0eb8cc12a6add2997e102
+ checksum: ae71fcd9f5d7d25e925b9b5f967eaffbd52542d1ab4af8632e428acee7b1b2e4906e0f601d4c876b43c524c9108c8219852eeedcffb296c27c9265280c2d3889
languageName: node
linkType: hard
@@ -16665,15 +16827,14 @@ __metadata:
languageName: node
linkType: hard
-"react-dom@npm:^18.3.1":
- version: 18.3.1
- resolution: "react-dom@npm:18.3.1"
+"react-dom@npm:19.0.0":
+ version: 19.0.0
+ resolution: "react-dom@npm:19.0.0"
dependencies:
- loose-envify: ^1.1.0
- scheduler: ^0.23.2
+ scheduler: ^0.25.0
peerDependencies:
- react: ^18.3.1
- checksum: 298954ecd8f78288dcaece05e88b570014d8f6dce5db6f66e6ee91448debeb59dcd31561dddb354eee47e6c1bb234669459060deb238ed0213497146e555a0b9
+ react: ^19.0.0
+ checksum: 009cc6e575263a0d1906f9dd4aa6532d2d3d0d71e4c2b7777c8fe4de585fa06b5b77cdc2e0fbaa2f3a4a5e5d3305c189ba152153f358ee7da4d9d9ba5d3a8975
languageName: node
linkType: hard
@@ -16791,6 +16952,13 @@ __metadata:
languageName: node
linkType: hard
+"react-is@npm:^19.0.0":
+ version: 19.0.0
+ resolution: "react-is@npm:19.0.0"
+ checksum: fbb3060bcb6b3e8e525b17f0872d1cf62a40b73fa7c5de02419069e2edd3e01cf1e8e86c8888f0733cff006175ee76ae927b40b6f0c4332bdda21020505ac90b
+ languageName: node
+ linkType: hard
+
"react-lazy-images@npm:^1.1.0":
version: 1.1.0
resolution: "react-lazy-images@npm:1.1.0"
@@ -17001,7 +17169,7 @@ __metadata:
languageName: node
linkType: hard
-"react@npm:18.3.1, react@npm:^18.3.1":
+"react@npm:18.3.1":
version: 18.3.1
resolution: "react@npm:18.3.1"
dependencies:
@@ -17010,6 +17178,13 @@ __metadata:
languageName: node
linkType: hard
+"react@npm:19.0.0":
+ version: 19.0.0
+ resolution: "react@npm:19.0.0"
+ checksum: 86de15d85b2465feb40297a90319c325cb07cf27191a361d47bcfe8c6126c973d660125aa67b8f4cbbe39f15a2f32efd0c814e98196d8e5b68c567ba40a399c6
+ languageName: node
+ linkType: hard
+
"read-cmd-shim@npm:^4.0.0":
version: 4.0.0
resolution: "read-cmd-shim@npm:4.0.0"
@@ -17899,12 +18074,10 @@ __metadata:
languageName: node
linkType: hard
-"scheduler@npm:^0.23.2":
- version: 0.23.2
- resolution: "scheduler@npm:0.23.2"
- dependencies:
- loose-envify: ^1.1.0
- checksum: 3e82d1f419e240ef6219d794ff29c7ee415fbdc19e038f680a10c067108e06284f1847450a210b29bbaf97b9d8a97ced5f624c31c681248ac84c80d56ad5a2c4
+"scheduler@npm:^0.25.0":
+ version: 0.25.0
+ resolution: "scheduler@npm:0.25.0"
+ checksum: b7bb9fddbf743e521e9aaa5198a03ae823f5e104ebee0cb9ec625392bb7da0baa1c28ab29cee4b1e407a94e76acc6eee91eeb749614f91f853efda2613531566
languageName: node
linkType: hard
@@ -19126,19 +19299,19 @@ __metadata:
languageName: node
linkType: hard
-"styled-jsx@npm:5.1.1":
- version: 5.1.1
- resolution: "styled-jsx@npm:5.1.1"
+"styled-jsx@npm:5.1.6":
+ version: 5.1.6
+ resolution: "styled-jsx@npm:5.1.6"
dependencies:
client-only: 0.0.1
peerDependencies:
- react: ">= 16.8.0 || 17.x.x || ^18.0.0-0"
+ react: ">= 16.8.0 || 17.x.x || ^18.0.0-0 || ^19.0.0-0"
peerDependenciesMeta:
"@babel/core":
optional: true
babel-plugin-macros:
optional: true
- checksum: 523a33b38603492547e861b98e29c873939b04e15fbe5ef16132c6f1e15958126647983c7d4675325038b428a5e91183d996e90141b18bdd1bbadf6e2c45b2fa
+ checksum: 879ad68e3e81adcf4373038aaafe55f968294955593660e173fbf679204aff158c59966716a60b29af72dc88795cfb2c479b6d2c3c87b2b2d282f3e27cc66461
languageName: node
linkType: hard
@@ -19828,10 +20001,10 @@ __metadata:
languageName: node
linkType: hard
-"tsafe@npm:^1.7.2":
- version: 1.7.5
- resolution: "tsafe@npm:1.7.5"
- checksum: ea7193ebdd8bb59c0c1a40dae3029c686bb7e2db74c9fe029f61ff2223acd5bba6e3a272f8f4bba87efd6434321d5edbab9eb32647a68bae9864d3efe7bb28d7
+"tsafe@npm:^1.8.5":
+ version: 1.8.5
+ resolution: "tsafe@npm:1.8.5"
+ checksum: 2bd0490681e86f00d3d21ed2c42a2294ed816c84d861bf5cbf2c3535ad67aa99dbd025804e40c0bba846c8cdcb6d5ab6fc64a3a82bd8ec3728ee8919b7275d85
languageName: node
linkType: hard
@@ -19875,6 +20048,13 @@ __metadata:
languageName: node
linkType: hard
+"tslib@npm:^2.8.0":
+ version: 2.8.1
+ resolution: "tslib@npm:2.8.1"
+ checksum: e4aba30e632b8c8902b47587fd13345e2827fa639e7c3121074d5ee0880723282411a8838f830b55100cbe4517672f84a2472667d355b81e8af165a55dc6203a
+ languageName: node
+ linkType: hard
+
"tsup@npm:^8.3.0":
version: 8.3.0
resolution: "tsup@npm:8.3.0"
@@ -20117,14 +20297,14 @@ __metadata:
resolution: "ui@workspace:ui"
dependencies:
"@babel/runtime": ^7.25.7
- "@codegouvfr/react-dsfr": ^1.13.8
+ "@codegouvfr/react-dsfr": ^1.16.5
"@emotion/cache": ^11.13.1
- "@emotion/react": ^11.13.3
+ "@emotion/react": ^11.14.0
"@emotion/server": ^11.11.0
- "@emotion/styled": ^11.13.0
+ "@emotion/styled": ^11.14.0
"@hookform/resolvers": ^3.9.0
"@mui/icons-material": ^6.1.3
- "@mui/material": ^6.1.3
+ "@mui/material": ^6.3.1
"@mui/material-nextjs": ^6.1.3
"@mui/system": ^6.1.3
"@mui/x-data-grid": ^7.20.0
@@ -20134,8 +20314,8 @@ __metadata:
"@tsconfig/next": ^2.0.3
"@types/autosuggest-highlight": ^3.2.3
"@types/node": ^22.5.5
- "@types/react": ^18.3.11
- "@types/react-dom": ^18.3.1
+ "@types/react": 19.0.3
+ "@types/react-dom": 19.0.2
"@types/swagger-ui-react": ^4.18.3
accept-language: ^3.0.20
autosuggest-highlight: ^3.3.4
@@ -20148,12 +20328,12 @@ __metadata:
jwt-decode: ^4.0.0
match-sorter: ^6.3.4
mobx: ^6.13.3
- next: ^14.2.20
+ next: 15.1.3
next-plausible: ^3.12.2
notion-client: ^6.16.0
notion-types: ^6.16.0
- react: ^18.3.1
- react-dom: ^18.3.1
+ react: 19.0.0
+ react-dom: 19.0.0
react-hook-form: ^7.53.0
react-i18next: ^15.0.3
react-markdown: ^9.0.1