@vegastack/design-tokens 0.1.0 → 0.2.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vegastack/design-tokens",
3
- "version": "0.1.0",
3
+ "version": "0.2.0",
4
4
  "description": "VegaStack design tokens (DTCG → Tailwind v4 theme + TS)",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -8,6 +8,9 @@
8
8
  "url": "git+https://github.com/VegaStack/vegastack-design.git",
9
9
  "directory": "packages/design-tokens"
10
10
  },
11
+ "engines": {
12
+ "node": ">=24.14.0"
13
+ },
11
14
  "type": "module",
12
15
  "sideEffects": [
13
16
  "**/*.css"
@@ -18,12 +21,15 @@
18
21
  "exports": {
19
22
  ".": {
20
23
  "types": "./dist/tokens.d.ts",
21
- "import": "./dist/tokens.js"
24
+ "import": "./dist/tokens.js",
25
+ "require": "./dist/tokens.cjs",
26
+ "default": "./dist/tokens.js"
22
27
  },
23
28
  "./theme.css": "./dist/theme.css",
24
29
  "./base.css": "./dist/base.css",
25
30
  "./utilities.css": "./dist/utilities.css",
26
- "./tokens.json": "./dist/tokens.json"
31
+ "./tokens.json": "./dist/tokens.json",
32
+ "./package.json": "./package.json"
27
33
  },
28
34
  "devDependencies": {
29
35
  "style-dictionary": "5.5.0",
@@ -31,12 +37,11 @@
31
37
  "@vegastack/typescript-config": "0.0.0"
32
38
  },
33
39
  "publishConfig": {
34
- "access": "public",
35
- "provenance": true
40
+ "access": "public"
36
41
  },
37
42
  "scripts": {
38
- "build": "node build-tokens.mjs && node ../../tooling/contrast-check.mjs dist/theme.css && tsup src/tokens.ts --format esm --dts --out-dir dist",
39
- "lint": "node ../../tooling/contrast-check.mjs dist/theme.css && node ../../tooling/design-lint.mjs --token-css src",
43
+ "build": "node build-tokens.mjs && node ../../tooling/contrast-check.mjs dist/theme.css && tsup src/tokens.ts --format esm,cjs --dts --out-dir dist",
44
+ "lint": "node ../../tooling/verify-theme-parity.mjs dist/theme.css && node ../../tooling/contrast-check.mjs dist/theme.css && node ../../tooling/design-lint.mjs --token-css src",
40
45
  "typecheck": "tsc --noEmit"
41
46
  }
42
47
  }