Skip to content

Commit 2c3bd31

Browse files
committed
No need to have @gouvfr/dsfr
1 parent 24b739d commit 2c3bd31

File tree

3 files changed

+3
-15
lines changed

3 files changed

+3
-15
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,10 @@
6868
}
6969
},
7070
"dependencies": {
71-
"@gouvfr/dsfr": "1.8.2",
7271
"tsafe": "^1.1.1"
7372
},
7473
"devDependencies": {
74+
"@gouvfr/dsfr": "1.8.2",
7575
"css": "^3.0.0",
7676
"remixicon": "^2.5.0",
7777
"@emotion/react": "^11.10.4",

src/lib/start.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ export async function startDsfrReact(params: Params) {
7171

7272
(window as any).dsfr = { verbose, "mode": "manual" };
7373

74-
await import("@gouvfr/dsfr/dist/dsfr.module");
74+
await import("../dsfr/dsfr.module" as any as "@gouvfr/dsfr/dist/dsfr.module");
7575

7676
if (isNextJsDevEnvironnement) {
7777
// NOTE: @gouvfr/dsfr/dist/dsfr.module.js is not isomorphic, it can't run on the Server.",

test/integration/next/yarn.lock

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,8 @@
3939
regenerator-runtime "^0.13.10"
4040

4141
"@codegouvfr/react-dsfr@file:../../../dist":
42-
version "0.0.33"
42+
version "0.0.37"
4343
dependencies:
44-
"@gouvfr/dsfr" "1.8.1"
45-
remixicon "^2.5.0"
4644
tsafe "^1.1.1"
4745

4846
"@eslint/eslintrc@^0.4.2":
@@ -60,11 +58,6 @@
6058
minimatch "^3.0.4"
6159
strip-json-comments "^3.1.1"
6260

63-
"@gouvfr/dsfr@1.8.1":
64-
version "1.8.1"
65-
resolved "https://registry.yarnpkg.com/@gouvfr/dsfr/-/dsfr-1.8.1.tgz#2484eb8ad9a73b5f01c5f41f49146d1aa8a71b7b"
66-
integrity sha512-XpVFdvhtalA5jSAhzzNaMd+/Hvf8Ef9jCdAZhuukEEMo2/cWvCgzz9tfbE+9QTJDIVP+EwJ7aCGWcXUSWkOHJg==
67-
6861
"@humanwhocodes/config-array@^0.5.0":
6962
version "0.5.0"
7063
resolved "https://registry.yarnpkg.com/@humanwhocodes/config-array/-/config-array-0.5.0.tgz#1407967d4c6eecd7388f83acf1eaf4d0c6e58ef9"
@@ -1555,11 +1548,6 @@ regexpp@^3.1.0:
15551548
resolved "https://registry.yarnpkg.com/regexpp/-/regexpp-3.2.0.tgz#0425a2768d8f23bad70ca4b90461fa2f1213e1b2"
15561549
integrity sha512-pq2bWo9mVD43nbts2wGv17XLiNLya+GklZ8kaDLV2Z08gDCsGpnKn9BFMepvWuHCbyVvY7J5o5+BVvoQbmlJLg==
15571550

1558-
remixicon@^2.5.0:
1559-
version "2.5.0"
1560-
resolved "https://registry.yarnpkg.com/remixicon/-/remixicon-2.5.0.tgz#b5e245894a1550aa23793f95daceadbf96ad1a41"
1561-
integrity sha512-q54ra2QutYDZpuSnFjmeagmEiN9IMo56/zz5dDNitzKD23oFRw77cWo4TsrAdmdkPiEn8mxlrTqxnkujDbEGww==
1562-
15631551
require-from-string@^2.0.2:
15641552
version "2.0.2"
15651553
resolved "https://registry.yarnpkg.com/require-from-string/-/require-from-string-2.0.2.tgz#89a7fdd938261267318eafe14f9c32e598c36909"

0 commit comments

Comments
 (0)