@wistia/vhs-design-tokens 2.1.3 → 2.1.4
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/index.cjs +3 -0
- package/{index.d.mts → dist/index.d.mts} +5 -4
- package/dist/index.mjs +3 -0
- package/dist/js/colorMetadata.cjs +99 -99
- package/dist/js/colorMetadata.mjs +99 -99
- package/dist/js/designTokens.cjs +1 -1
- package/dist/js/designTokens.mjs +1 -1
- package/package.json +29 -32
- package/index.cjs +0 -4
- package/index.mjs +0 -3
- /package/{index.d.cts → dist/index.d.cts} +0 -0
package/dist/js/designTokens.cjs
CHANGED
package/dist/js/designTokens.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,20 +1,22 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wistia/vhs-design-tokens",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.4",
|
|
4
4
|
"description": "VHS design tokens",
|
|
5
|
+
"packageManager": "yarn@4.3.1",
|
|
5
6
|
"type": "module",
|
|
6
|
-
"main": "index.cjs",
|
|
7
|
-
"
|
|
7
|
+
"main": "dist/index.cjs",
|
|
8
|
+
"module": "dist/index.mjs",
|
|
9
|
+
"types": "dist/index.d.cts",
|
|
8
10
|
"exports": {
|
|
9
11
|
"./package.json": "./package.json",
|
|
10
12
|
".": {
|
|
11
13
|
"import": {
|
|
12
|
-
"types": "./index.d.mts",
|
|
13
|
-
"default": "./index.mjs"
|
|
14
|
+
"types": "./dist/index.d.mts",
|
|
15
|
+
"default": "./dist/index.mjs"
|
|
14
16
|
},
|
|
15
17
|
"require": {
|
|
16
|
-
"types": "./index.d.cts",
|
|
17
|
-
"default": "./index.cjs"
|
|
18
|
+
"types": "./dist/index.d.cts",
|
|
19
|
+
"default": "./dist/index.cjs"
|
|
18
20
|
}
|
|
19
21
|
},
|
|
20
22
|
"./colorMetadata": {
|
|
@@ -27,48 +29,43 @@
|
|
|
27
29
|
}
|
|
28
30
|
},
|
|
29
31
|
"files": [
|
|
30
|
-
"index.mjs",
|
|
31
|
-
"index.d.mts",
|
|
32
|
-
"index.cjs",
|
|
33
|
-
"index.d.cts",
|
|
34
32
|
"dist/"
|
|
35
33
|
],
|
|
36
34
|
"scripts": {
|
|
37
|
-
"build": "style-dictionary build --config ./config.mjs && node ./scripts/
|
|
38
|
-
"build:watch": "onchange \"./tokens/**/*.yaml\" -i -- yarn run build",
|
|
35
|
+
"build": "style-dictionary build --config ./config.mjs && node ./scripts/postBuild.mjs",
|
|
36
|
+
"build:watch": "onchange \"./src/tokens/**/*.yaml\" -i -- yarn run build",
|
|
39
37
|
"clean": "style-dictionary clean --config ./config.mjs",
|
|
40
38
|
"compare": "node ./compare.mjs",
|
|
41
|
-
"lint": "node_modules/.bin/eslint --fix --report-unused-disable-directives --cache --ext
|
|
39
|
+
"lint": "node_modules/.bin/eslint --fix --report-unused-disable-directives --cache --ext mjs .",
|
|
40
|
+
"lint:debug": "node_modules/.bin/eslint --print-config ./index.mjs",
|
|
42
41
|
"outdated": "yarn upgrade-interactive",
|
|
43
|
-
"
|
|
42
|
+
"prepublishOnly": "yarn run clean && yarn run build",
|
|
44
43
|
"publint": "node ./scripts/publint.mjs"
|
|
45
44
|
},
|
|
46
|
-
"author": "Wistia Engineering",
|
|
47
|
-
"license": "UNLICENSED",
|
|
48
|
-
"repository": {
|
|
49
|
-
"type": "git",
|
|
50
|
-
"url": "git+https://github.com/wistia/vhs-design-tokens.git"
|
|
51
|
-
},
|
|
52
|
-
"bugs": {
|
|
53
|
-
"url": "https://github.com/wistia/vhs-design-tokens/issues"
|
|
54
|
-
},
|
|
55
|
-
"homepage": "https://github.com/wistia/vhs-design-tokens#readme",
|
|
56
|
-
"packageManager": "yarn@4.3.1",
|
|
57
45
|
"dependencies": {
|
|
58
46
|
"@karibash/pixel-units": "^2.3.0"
|
|
59
47
|
},
|
|
60
48
|
"devDependencies": {
|
|
61
|
-
"@commitlint/cli": "^19.3.0",
|
|
62
|
-
"@commitlint/config-conventional": "^19.2.2",
|
|
63
|
-
"@wistia/eslint-config": "^0.34.0",
|
|
64
|
-
"husky": "^9.0.11",
|
|
65
49
|
"js-yaml": "^4.1.0",
|
|
66
50
|
"onchange": "^7.1.0",
|
|
67
|
-
"prettier": "^3.3.
|
|
68
|
-
"publint": "^0.2.
|
|
51
|
+
"prettier": "^3.3.3",
|
|
52
|
+
"publint": "^0.2.9",
|
|
69
53
|
"style-dictionary": "^4.0.0"
|
|
70
54
|
},
|
|
71
55
|
"resolutions": {
|
|
72
56
|
"postcss": ">=8.4.38"
|
|
57
|
+
},
|
|
58
|
+
"engines": {
|
|
59
|
+
"node": ">=18.0.0 || >=20.0.0"
|
|
60
|
+
},
|
|
61
|
+
"author": "Wistia Engineering",
|
|
62
|
+
"license": "UNLICENSED",
|
|
63
|
+
"repository": {
|
|
64
|
+
"type": "git",
|
|
65
|
+
"url": "git+https://github.com/wistia/vhs-design-tokens.git"
|
|
66
|
+
},
|
|
67
|
+
"homepage": "https://github.com/wistia/vhs-design-tokens#readme",
|
|
68
|
+
"bugs": {
|
|
69
|
+
"url": "https://github.com/wistia/vhs-design-tokens/issues"
|
|
73
70
|
}
|
|
74
71
|
}
|
package/index.cjs
DELETED
package/index.mjs
DELETED
|
File without changes
|