@wistia/vhs-design-tokens 2.1.3 → 2.1.4-beta.2a6f22bd.e2a9627

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 Mon, 15 Jul 2024 11:18:23 GMT
3
+ * Generated on Wed, 12 Feb 2025 14:18:26 GMT
4
4
  */
5
5
 
6
6
  module.exports = {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 15 Jul 2024 11:18:23 GMT
3
+ * Generated on Wed, 12 Feb 2025 14:18:26 GMT
4
4
  */
5
5
 
6
6
  export const designTokens = {
package/package.json CHANGED
@@ -1,20 +1,21 @@
1
1
  {
2
2
  "name": "@wistia/vhs-design-tokens",
3
- "version": "2.1.3",
3
+ "version": "2.1.4-beta.2a6f22bd.e2a9627",
4
4
  "description": "VHS design tokens",
5
5
  "type": "module",
6
- "main": "index.cjs",
7
- "types": "index.d.cts",
6
+ "main": "dist/index.cjs",
7
+ "module": "dist/index.mjs",
8
+ "types": "dist/index.d.cts",
8
9
  "exports": {
9
10
  "./package.json": "./package.json",
10
11
  ".": {
11
12
  "import": {
12
- "types": "./index.d.mts",
13
- "default": "./index.mjs"
13
+ "types": "./dist/index.d.mts",
14
+ "default": "./dist/index.mjs"
14
15
  },
15
16
  "require": {
16
- "types": "./index.d.cts",
17
- "default": "./index.cjs"
17
+ "types": "./dist/index.d.cts",
18
+ "default": "./dist/index.cjs"
18
19
  }
19
20
  },
20
21
  "./colorMetadata": {
@@ -27,21 +28,30 @@
27
28
  }
28
29
  },
29
30
  "files": [
30
- "index.mjs",
31
- "index.d.mts",
32
- "index.cjs",
33
- "index.d.cts",
34
31
  "dist/"
35
32
  ],
36
33
  "scripts": {
37
- "build": "style-dictionary build --config ./config.mjs && node ./scripts/fix-exports.mjs",
38
- "build:watch": "onchange \"./tokens/**/*.yaml\" -i -- yarn run build",
34
+ "build": "style-dictionary build --config ./config.mjs && node ./scripts/postBuild.mjs",
39
35
  "clean": "style-dictionary clean --config ./config.mjs",
40
- "compare": "node ./compare.mjs",
41
- "lint": "node_modules/.bin/eslint --fix --report-unused-disable-directives --cache --ext js,mjs,cjs .",
42
- "outdated": "yarn upgrade-interactive",
43
- "prepare": "husky install && yarn run clean && yarn run build",
44
- "publint": "node ./scripts/publint.mjs"
36
+ "depcheck": "depcheck",
37
+ "lint": "node_modules/.bin/eslint --fix --report-unused-disable-directives --cache --ext mjs .",
38
+ "lint:debug": "node_modules/.bin/eslint --print-config ./packages/vhs/src/index.ts",
39
+ "prepack": "yarn run build",
40
+ "publint": "publint-check"
41
+ },
42
+ "dependencies": {
43
+ "@karibash/pixel-units": "^2.3.0"
44
+ },
45
+ "devDependencies": {
46
+ "@repo/config": "workspace:*",
47
+ "depcheck": "^1.4.7",
48
+ "js-yaml": "^4.1.0",
49
+ "prettier": "^3.5.0",
50
+ "signale": "^1.4.0",
51
+ "style-dictionary": "^4.3.3"
52
+ },
53
+ "engines": {
54
+ "node": ">=18.0.0 || >=20.0.0"
45
55
  },
46
56
  "author": "Wistia Engineering",
47
57
  "license": "UNLICENSED",
@@ -49,26 +59,8 @@
49
59
  "type": "git",
50
60
  "url": "git+https://github.com/wistia/vhs-design-tokens.git"
51
61
  },
62
+ "homepage": "https://github.com/wistia/vhs-design-tokens#readme",
52
63
  "bugs": {
53
64
  "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
- "dependencies": {
58
- "@karibash/pixel-units": "^2.3.0"
59
- },
60
- "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
- "js-yaml": "^4.1.0",
66
- "onchange": "^7.1.0",
67
- "prettier": "^3.3.2",
68
- "publint": "^0.2.8",
69
- "style-dictionary": "^4.0.0"
70
- },
71
- "resolutions": {
72
- "postcss": ">=8.4.38"
73
65
  }
74
66
  }
package/index.cjs DELETED
@@ -1,4 +0,0 @@
1
- // using CJS modules allows us to skip transpilation
2
- const designTokens = require('./dist/js/designTokens.cjs');
3
-
4
- module.exports = { designTokens };
package/index.mjs DELETED
@@ -1,3 +0,0 @@
1
- import { designTokens } from './dist/js/designTokens.mjs';
2
-
3
- export { designTokens };