From 1c09b66c5851ffe359263179a5066e03bad1d0f8 Mon Sep 17 00:00:00 2001 From: Emmanuel Pelletier Date: Thu, 17 Apr 2025 17:47:27 +0200 Subject: [PATCH] integration package: fix build errors --- packages/integration/package-lock.json | 20 ++++++++++++++++++- packages/integration/package.json | 3 ++- ....2.dev.patch => @gouvfr+dsfr+1.13.0.patch} | 20 +++++++++---------- 3 files changed, 30 insertions(+), 13 deletions(-) rename packages/integration/patches/{@gouvfr+dsfr+1.11.2.dev.patch => @gouvfr+dsfr+1.13.0.patch} (91%) diff --git a/packages/integration/package-lock.json b/packages/integration/package-lock.json index e75f084..5334f3e 100644 --- a/packages/integration/package-lock.json +++ b/packages/integration/package-lock.json @@ -10,7 +10,8 @@ "devDependencies": { "@babel/plugin-syntax-import-attributes": "^7.24.1", "@fullhuman/postcss-purgecss": "^6.0.0", - "@gouvfr/dsfr": "^1.11.2", + "@gouvfr/dsfr": "1.13.0", + "@types/node": "^22.14.1", "@types/react": "^18.2.66", "@types/react-dom": "^18.2.22", "@vitejs/plugin-react": "^4.2.1", @@ -1550,6 +1551,16 @@ "dev": true, "license": "MIT" }, + "node_modules/@types/node": { + "version": "22.14.1", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.14.1.tgz", + "integrity": "sha512-u0HuPQwe/dHrItgHHpmw3N2fYCR6x4ivMNbPHRkBVP4CvN+kiRrKHWk3i8tXiO/joPwXLMYvF9TTF0eqgHIuOw==", + "dev": true, + "license": "MIT", + "dependencies": { + "undici-types": "~6.21.0" + } + }, "node_modules/@types/prop-types": { "version": "15.7.14", "resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.14.tgz", @@ -3906,6 +3917,13 @@ "node": ">=14.17" } }, + "node_modules/undici-types": { + "version": "6.21.0", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.21.0.tgz", + "integrity": "sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==", + "dev": true, + "license": "MIT" + }, "node_modules/universalify": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.1.tgz", diff --git a/packages/integration/package.json b/packages/integration/package.json index f3d5f82..9d91f99 100644 --- a/packages/integration/package.json +++ b/packages/integration/package.json @@ -40,7 +40,8 @@ "devDependencies": { "@babel/plugin-syntax-import-attributes": "^7.24.1", "@fullhuman/postcss-purgecss": "^6.0.0", - "@gouvfr/dsfr": "^1.11.2", + "@gouvfr/dsfr": "1.13.0", + "@types/node": "^22.14.1", "@types/react": "^18.2.66", "@types/react-dom": "^18.2.22", "@vitejs/plugin-react": "^4.2.1", diff --git a/packages/integration/patches/@gouvfr+dsfr+1.11.2.dev.patch b/packages/integration/patches/@gouvfr+dsfr+1.13.0.patch similarity index 91% rename from packages/integration/patches/@gouvfr+dsfr+1.11.2.dev.patch rename to packages/integration/patches/@gouvfr+dsfr+1.13.0.patch index 9ab33aa..abe22cb 100644 --- a/packages/integration/patches/@gouvfr+dsfr+1.11.2.dev.patch +++ b/packages/integration/patches/@gouvfr+dsfr+1.13.0.patch @@ -1,17 +1,16 @@ diff --git a/node_modules/@gouvfr/dsfr/dist/dsfr.css b/node_modules/@gouvfr/dsfr/dist/dsfr.css -index 9444fd2..6877e96 100644 +index 56d63bf..d77e1cd 100644 --- a/node_modules/@gouvfr/dsfr/dist/dsfr.css +++ b/node_modules/@gouvfr/dsfr/dist/dsfr.css -@@ -1,8 +1,6 @@ +@@ -1,7 +1,6 @@ /*! - * DSFR v1.11.2 | SPDX-License-Identifier: MIT | License-Filename: LICENSE.md | restricted use (see terms and conditions) + * DSFR v1.13.0 | SPDX-License-Identifier: MIT | License-Filename: LICENSE.md | restricted use (see terms and conditions) */ -@charset "UTF-8"; -- + /* ¯¯¯¯¯¯¯¯¯ *\ CORE - \* ˍˍˍˍˍˍˍˍˍ */ -@@ -1341,80 +1339,6 @@ audio:not([href]) { +@@ -1374,80 +1373,6 @@ audio:not([href]) { transition: none !important; } @@ -93,15 +92,14 @@ index 9444fd2..6877e96 100644 font-weight: 700; font-size: 1.125rem; diff --git a/node_modules/@gouvfr/dsfr/dist/utility/utility.css b/node_modules/@gouvfr/dsfr/dist/utility/utility.css -index 2941a15..1b43d4a 100644 +index a723711..097aad5 100644 --- a/node_modules/@gouvfr/dsfr/dist/utility/utility.css +++ b/node_modules/@gouvfr/dsfr/dist/utility/utility.css -@@ -1,8 +1,6 @@ +@@ -1,7 +1,6 @@ /*! - * DSFR v1.11.2 | SPDX-License-Identifier: MIT | License-Filename: LICENSE.md | restricted use (see terms and conditions) + * DSFR v1.13.0 | SPDX-License-Identifier: MIT | License-Filename: LICENSE.md | restricted use (see terms and conditions) */ -@charset "UTF-8"; -- + .fr-background-default--grey { background-color: var(--background-default-grey) !important; -