@designtools/tokens 0.5.0 → 0.7.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/CHANGELOG.md +40 -0
- package/LICENSE +21 -0
- package/README.md +90 -32
- package/dist/{chunk-D6675UF5.js → chunk-43GMBZQK.js} +328 -159
- package/dist/cli.js +172 -14
- package/dist/index.d.ts +142 -14
- package/dist/index.js +9 -1
- package/package.json +27 -15
package/package.json
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@designtools/tokens",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.0",
|
|
4
4
|
"description": "Turn one brand colour into a complete design-token system: perceptual OKLCH ramps, contrast-checked semantic tokens (WCAG or APCA), light and dark, as CSS custom properties, Tailwind v4/v3 or DTCG. Deterministic CLI, safe for agents.",
|
|
5
5
|
"type": "module",
|
|
6
|
-
"license": "
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"author": "Made by Many",
|
|
7
8
|
"repository": {
|
|
8
9
|
"type": "git",
|
|
9
|
-
"url": "git+https://github.com/
|
|
10
|
+
"url": "git+https://github.com/madebymany/designtools.git",
|
|
10
11
|
"directory": "packages/tokens"
|
|
11
12
|
},
|
|
12
13
|
"main": "dist/index.js",
|
|
@@ -23,27 +24,31 @@
|
|
|
23
24
|
"files": [
|
|
24
25
|
"dist",
|
|
25
26
|
"README.md",
|
|
26
|
-
"CHANGELOG.md"
|
|
27
|
+
"CHANGELOG.md",
|
|
28
|
+
"LICENSE"
|
|
27
29
|
],
|
|
28
30
|
"engines": {
|
|
29
31
|
"node": ">=18"
|
|
30
32
|
},
|
|
31
|
-
"scripts": {
|
|
32
|
-
"build": "tsup src/index.ts src/cli.ts --format esm --dts --clean",
|
|
33
|
-
"typecheck": "tsc --noEmit",
|
|
34
|
-
"cli": "tsx src/cli.ts",
|
|
35
|
-
"fixtures": "tsx test/generate-fixtures.ts"
|
|
36
|
-
},
|
|
37
33
|
"dependencies": {
|
|
38
|
-
"apca-w3": "^0.1.9",
|
|
39
34
|
"culori": "^4.0.2"
|
|
40
35
|
},
|
|
36
|
+
"peerDependencies": {
|
|
37
|
+
"apca-w3": "^0.1.9"
|
|
38
|
+
},
|
|
39
|
+
"peerDependenciesMeta": {
|
|
40
|
+
"apca-w3": {
|
|
41
|
+
"optional": true
|
|
42
|
+
}
|
|
43
|
+
},
|
|
41
44
|
"devDependencies": {
|
|
42
45
|
"@types/culori": "^4.0.1",
|
|
43
46
|
"@types/node": "^24.13.3",
|
|
47
|
+
"apca-w3": "^0.1.9",
|
|
44
48
|
"tsup": "^8.0.0",
|
|
45
49
|
"tsx": "^4.19.0",
|
|
46
|
-
"typescript": "^5.9.3"
|
|
50
|
+
"typescript": "^5.9.3",
|
|
51
|
+
"vitest": "^4.1.11"
|
|
47
52
|
},
|
|
48
53
|
"keywords": [
|
|
49
54
|
"design-tokens",
|
|
@@ -74,8 +79,15 @@
|
|
|
74
79
|
"generator",
|
|
75
80
|
"deterministic"
|
|
76
81
|
],
|
|
77
|
-
"homepage": "https://github.com/
|
|
82
|
+
"homepage": "https://github.com/madebymany/designtools/tree/main/packages/tokens#readme",
|
|
78
83
|
"bugs": {
|
|
79
|
-
"url": "https://github.com/
|
|
84
|
+
"url": "https://github.com/madebymany/designtools/issues"
|
|
85
|
+
},
|
|
86
|
+
"scripts": {
|
|
87
|
+
"build": "tsup src/index.ts src/cli.ts --format esm --dts --clean",
|
|
88
|
+
"typecheck": "tsc --noEmit",
|
|
89
|
+
"cli": "tsx src/cli.ts",
|
|
90
|
+
"fixtures": "tsx test/generate-fixtures.ts",
|
|
91
|
+
"test": "vitest run"
|
|
80
92
|
}
|
|
81
|
-
}
|
|
93
|
+
}
|