@wtfalch/design 0.3.2 → 0.5.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": "@wtfalch/design",
3
- "version": "0.3.2",
3
+ "version": "0.5.0",
4
4
  "description": "wtfalch's design system: themeable components on a fixed token vocabulary.",
5
5
  "keywords": [
6
6
  "design-system",
@@ -24,9 +24,7 @@
24
24
  },
25
25
  "license": "MIT",
26
26
  "type": "module",
27
- "files": [
28
- "dist"
29
- ],
27
+ "files": ["dist"],
30
28
  "publishConfig": {
31
29
  "access": "public"
32
30
  },
@@ -52,12 +50,16 @@
52
50
  "./tokens.css": "./dist/tokens.css",
53
51
  "./styles.css": "./dist/styles/index.css"
54
52
  },
55
- "sideEffects": [
56
- "*.css"
57
- ],
53
+ "sideEffects": ["*.css"],
58
54
  "engines": {
59
55
  "node": ">=22.0.0"
60
56
  },
57
+ "scripts": {
58
+ "build": "rm -rf dist && tsc -p tsconfig.build.json && node scripts/fix-extensions.mjs && node scripts/copy-css.mjs && node scripts/build-products.mjs",
59
+ "prepack": "pnpm build",
60
+ "typecheck": "tsc --noEmit",
61
+ "test": "vitest run"
62
+ },
61
63
  "peerDependencies": {
62
64
  "react": "^19.0.0",
63
65
  "react-dom": "^19.0.0"
@@ -75,10 +77,5 @@
75
77
  "react-dom": "^19",
76
78
  "typescript": "^5.9.0",
77
79
  "vitest": "^4.1.6"
78
- },
79
- "scripts": {
80
- "build": "rm -rf dist && tsc -p tsconfig.build.json && node scripts/fix-extensions.mjs && node scripts/copy-css.mjs && node scripts/build-products.mjs",
81
- "typecheck": "tsc --noEmit",
82
- "test": "vitest run"
83
80
  }
84
- }
81
+ }