@digdir/designsystemet 1.1.9 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bin/config.js +14 -14
- package/dist/bin/designsystemet.js +61 -63
- package/dist/src/config.d.ts +1 -1
- package/dist/src/config.d.ts.map +1 -1
- package/dist/src/config.js +8 -8
- package/dist/src/index.js +22 -22
- package/dist/src/migrations/beta-to-v1.js +5 -5
- package/dist/src/migrations/codemods/css/plugins.js +3 -3
- package/dist/src/migrations/codemods/css/run.js +2 -2
- package/dist/src/migrations/color-rename-next49.js +5 -5
- package/dist/src/migrations/index.js +5 -5
- package/dist/src/scripts/createJsonSchema.js +4 -4
- package/dist/src/scripts/update-design-tokens.js +2 -2
- package/dist/src/scripts/update-preview-tokens.js +22 -22
- package/dist/src/scripts/update-template.js +11 -11
- package/dist/src/tokens/build.js +33 -33
- package/dist/src/tokens/create/generators/$designsystemet.js +9 -9
- package/dist/src/tokens/create/write.d.ts.map +1 -1
- package/dist/src/tokens/create/write.js +18 -20
- package/dist/src/tokens/format.js +22 -22
- package/dist/src/tokens/index.js +22 -22
- package/dist/src/tokens/process/configs/color.js +2 -2
- package/dist/src/tokens/process/configs/semantic.js +2 -2
- package/dist/src/tokens/process/configs/typography.js +2 -2
- package/dist/src/tokens/process/configs.js +4 -4
- package/dist/src/tokens/process/formats/css/color.js +2 -2
- package/dist/src/tokens/process/formats/css/semantic.js +2 -2
- package/dist/src/tokens/process/formats/css/typography.js +2 -2
- package/dist/src/tokens/process/formats/css.js +2 -2
- package/dist/src/tokens/process/output/declarations.js +13 -13
- package/dist/src/tokens/process/output/theme.js +12 -12
- package/dist/src/tokens/process/platform.js +10 -10
- package/dist/src/tokens/process/utils/getMultidimensionalThemes.js +4 -4
- package/dist/src/utils.js +10 -10
- package/package.json +9 -9
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@digdir/designsystemet",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2.0",
|
|
4
4
|
"description": "CLI for Designsystemet",
|
|
5
5
|
"author": "Designsystemet team",
|
|
6
6
|
"engines": {
|
|
7
|
-
"node": ">=22.
|
|
7
|
+
"node": ">=22.18.0"
|
|
8
8
|
},
|
|
9
9
|
"repository": {
|
|
10
10
|
"type": "git",
|
|
@@ -40,7 +40,6 @@
|
|
|
40
40
|
"@commander-js/extra-typings": "^14.0.0",
|
|
41
41
|
"@tokens-studio/sd-transforms": "1.3.0",
|
|
42
42
|
"apca-w3": "^0.1.9",
|
|
43
|
-
"chalk": "^5.4.1",
|
|
44
43
|
"change-case": "^5.4.4",
|
|
45
44
|
"chroma-js": "^3.1.2",
|
|
46
45
|
"colorjs.io": "^0.6.0-alpha.1",
|
|
@@ -48,25 +47,26 @@
|
|
|
48
47
|
"fast-glob": "^3.3.3",
|
|
49
48
|
"hsluv": "^1.0.1",
|
|
50
49
|
"object-hash": "^3.0.0",
|
|
50
|
+
"picocolors": "^1.1.1",
|
|
51
51
|
"postcss": "^8.5.6",
|
|
52
52
|
"ramda": "^0.31.3",
|
|
53
53
|
"style-dictionary": "^5.0.1",
|
|
54
|
-
"zod": "^
|
|
55
|
-
"zod-validation-error": "^
|
|
54
|
+
"zod": "^4.0.17",
|
|
55
|
+
"zod-validation-error": "^4.0.1"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
58
|
"@tokens-studio/types": "0.5.2",
|
|
59
59
|
"@types/apca-w3": "^0.1.3",
|
|
60
60
|
"@types/chroma-js": "^3.1.1",
|
|
61
61
|
"@types/fs-extra": "^11.0.4",
|
|
62
|
-
"@types/node": "^22.
|
|
62
|
+
"@types/node": "^22.17.1",
|
|
63
63
|
"@types/object-hash": "^3.0.6",
|
|
64
|
-
"@types/ramda": "^0.
|
|
65
|
-
"fs-extra": "^11.3.
|
|
64
|
+
"@types/ramda": "^0.31.0",
|
|
65
|
+
"fs-extra": "^11.3.1",
|
|
66
66
|
"tslib": "^2.8.1",
|
|
67
67
|
"tsup": "^8.5.0",
|
|
68
68
|
"tsx": "^4.20.3",
|
|
69
|
-
"typescript": "^5.
|
|
69
|
+
"typescript": "^5.9.2"
|
|
70
70
|
},
|
|
71
71
|
"scripts": {
|
|
72
72
|
"designsystemet": "tsx ./bin/designsystemet.ts",
|