@wistia/vhs-design-tokens 2.1.1 → 2.1.2

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.
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Tue, 09 Jul 2024 13:25:48 GMT
3
+ * Generated on Thu, 11 Jul 2024 14:48:33 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Tue, 09 Jul 2024 13:25:48 GMT
3
+ * Generated on Thu, 11 Jul 2024 14:48:33 GMT
4
4
  */
5
5
 
6
6
  module.exports = {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Tue, 09 Jul 2024 13:25:48 GMT
3
+ * Generated on Thu, 11 Jul 2024 14:48:33 GMT
4
4
  */
5
5
 
6
6
  module.exports = {
@@ -1,6 +1,6 @@
1
1
 
2
2
  // Do not edit directly
3
- // Generated on Tue, 09 Jul 2024 13:25:48 GMT
3
+ // Generated on Thu, 11 Jul 2024 14:48:33 GMT
4
4
 
5
5
  $breakpoint-xs: 0em;
6
6
  $breakpoint-sm: 37.5em;
@@ -1,4 +1,4 @@
1
1
  // using CJS modules allows us to skip transpilation
2
- const designTokens = require('./dist/js/designTokens');
2
+ const designTokens = require('./dist/js/designTokens.cjs');
3
3
 
4
4
  module.exports = { designTokens };
package/package.json CHANGED
@@ -1,27 +1,29 @@
1
1
  {
2
2
  "name": "@wistia/vhs-design-tokens",
3
- "version": "2.1.1",
3
+ "version": "2.1.2",
4
4
  "description": "VHS design tokens",
5
- "main": "index.js",
5
+ "main": "index.cjs",
6
6
  "type": "commonjs",
7
7
  "exports": {
8
8
  "./package.json": "./package.json",
9
- ".": "./index.js",
10
- "./colorMetadata": "./dist/js/colorMetadata.js"
9
+ ".": "./index.cjs",
10
+ "./colorMetadata": "./dist/js/colorMetadata.cjs"
11
11
  },
12
- "types": "index.d.ts",
12
+ "types": "index.d.cts",
13
13
  "files": [
14
- "index.js",
15
- "index.d.ts",
14
+ "index.cjs",
15
+ "index.d.cts",
16
16
  "dist/"
17
17
  ],
18
18
  "scripts": {
19
19
  "build": "style-dictionary build --config ./config.cjs",
20
20
  "build:watch": "onchange \"./tokens/**/*.yaml\" -i -- yarn run build",
21
21
  "clean": "style-dictionary clean --config ./config.cjs",
22
+ "compare": "node ./compare.cjs",
22
23
  "lint": "node_modules/.bin/eslint --fix --report-unused-disable-directives --cache --ext js,mjs,cjs .",
23
24
  "outdated": "yarn upgrade-interactive",
24
- "prepare": "husky install && yarn run clean && yarn run build"
25
+ "prepare": "husky install && yarn run clean && yarn run build",
26
+ "publint": "node ./scripts/publint.mjs"
25
27
  },
26
28
  "author": "Wistia Engineering",
27
29
  "license": "UNLICENSED",
@@ -47,7 +49,9 @@
47
49
  "node-gyp": "^10.1.0",
48
50
  "onchange": "^7.1.0",
49
51
  "prettier": "^3.3.2",
50
- "style-dictionary": "^3.9.2"
52
+ "publint": "^0.2.8",
53
+ "style-dictionary": "^3.9.2",
54
+ "vm": "^0.1.0"
51
55
  },
52
56
  "resolutions": {
53
57
  "postcss": ">=8.4.38"
File without changes