@wistia/vhs-design-tokens 2.1.2-beta.8247ca05.79929df → 2.1.2-beta.8c7f8f5a.b0aab5b
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/js/colorMetadata.mjs +1 -1
- package/dist/js/designTokens.mjs +1 -1
- package/index.mjs +3 -0
- package/package.json +18 -13
- package/index.cjs +0 -4
- /package/{index.d.cts → index.d.mts} +0 -0
package/dist/js/designTokens.mjs
CHANGED
package/index.mjs
ADDED
package/package.json
CHANGED
|
@@ -1,25 +1,33 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wistia/vhs-design-tokens",
|
|
3
|
-
"version": "2.1.2-beta.
|
|
3
|
+
"version": "2.1.2-beta.8c7f8f5a.b0aab5b",
|
|
4
4
|
"description": "VHS design tokens",
|
|
5
|
-
"main": "index.cjs",
|
|
6
5
|
"type": "module",
|
|
7
6
|
"exports": {
|
|
8
7
|
"./package.json": "./package.json",
|
|
9
|
-
".":
|
|
10
|
-
|
|
8
|
+
".": {
|
|
9
|
+
"import": {
|
|
10
|
+
"types": "./index.d.mts",
|
|
11
|
+
"default": "./dist/js/designTokens.mjs"
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
"./colorMetadata": {
|
|
15
|
+
"import": {
|
|
16
|
+
"default": "./dist/js/colorMetadata.mjs"
|
|
17
|
+
}
|
|
18
|
+
}
|
|
11
19
|
},
|
|
12
|
-
"types": "index.d.
|
|
20
|
+
"types": "index.d.mts",
|
|
13
21
|
"files": [
|
|
14
|
-
"index.
|
|
15
|
-
"index.d.
|
|
22
|
+
"index.mjs",
|
|
23
|
+
"index.d.mts",
|
|
16
24
|
"dist/"
|
|
17
25
|
],
|
|
18
26
|
"scripts": {
|
|
19
|
-
"build": "style-dictionary build --config ./config.mjs",
|
|
27
|
+
"build": "style-dictionary build --config ./config.mjs && node ./scripts/fix-exports.mjs",
|
|
20
28
|
"build:watch": "onchange \"./tokens/**/*.yaml\" -i -- yarn run build",
|
|
21
29
|
"clean": "style-dictionary clean --config ./config.mjs",
|
|
22
|
-
"compare": "node ./compare.
|
|
30
|
+
"compare": "node ./compare.mjs",
|
|
23
31
|
"lint": "node_modules/.bin/eslint --fix --report-unused-disable-directives --cache --ext js,mjs,cjs .",
|
|
24
32
|
"outdated": "yarn upgrade-interactive",
|
|
25
33
|
"prepare": "husky install && yarn run clean && yarn run build",
|
|
@@ -43,15 +51,12 @@
|
|
|
43
51
|
"@commitlint/cli": "^19.3.0",
|
|
44
52
|
"@commitlint/config-conventional": "^19.2.2",
|
|
45
53
|
"@wistia/eslint-config": "^0.34.0",
|
|
46
|
-
"deasync": "^0.1.30",
|
|
47
54
|
"husky": "^9.0.11",
|
|
48
55
|
"js-yaml": "^4.1.0",
|
|
49
|
-
"node-gyp": "^10.2.0",
|
|
50
56
|
"onchange": "^7.1.0",
|
|
51
57
|
"prettier": "^3.3.2",
|
|
52
58
|
"publint": "^0.2.8",
|
|
53
|
-
"style-dictionary": "^4.0.0"
|
|
54
|
-
"vm": "^0.1.0"
|
|
59
|
+
"style-dictionary": "^4.0.0"
|
|
55
60
|
},
|
|
56
61
|
"resolutions": {
|
|
57
62
|
"postcss": ">=8.4.38"
|
package/index.cjs
DELETED
|
File without changes
|