@phcdevworks/spectre-ui 1.1.2 → 1.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": "@phcdevworks/spectre-ui",
3
- "version": "1.1.2",
3
+ "version": "1.2.0",
4
4
  "description": "@phcdevworks/spectre-ui is the implementation layer between @phcdevworks/spectre-tokens and downstream adapters or apps.",
5
5
  "keywords": [
6
6
  "phcdevworks",
@@ -33,7 +33,11 @@
33
33
  "url": "https://github.com/phcdevworks/spectre-ui/issues"
34
34
  },
35
35
  "homepage": "https://github.com/phcdevworks/spectre-ui#readme",
36
+ "engines": {
37
+ "node": "^22.12.0 || >=24.0.0"
38
+ },
36
39
  "type": "module",
40
+ "packageManager": "npm@11.12.1",
37
41
  "main": "./dist/index.cjs",
38
42
  "module": "./dist/index.js",
39
43
  "types": "./dist/index.d.ts",
@@ -67,11 +71,18 @@
67
71
  "scripts": {
68
72
  "build": "tsup --config tsup.config.ts && npm run build:css",
69
73
  "build:css": "node ./scripts/build-css.mjs",
74
+ "ci:verify": "npm run validate:runtime && npm run lint && npm run validate:exports && npm run validate:tokens && npm run build && npm run validate:css-contract && npm test",
70
75
  "dev": "tsup --config tsup.config.ts --watch",
71
76
  "clean": "rm -rf dist",
72
77
  "lint": "eslint .",
78
+ "pretest": "npm run build",
73
79
  "format": "prettier --write .",
74
- "test": "vitest run"
80
+ "test": "vitest run",
81
+ "validate:css-contract": "node ./scripts/validate-css-contract.mjs",
82
+ "validate:exports": "node ./scripts/validate-exports.mjs",
83
+ "validate:exports:update": "node ./scripts/validate-exports.mjs --update",
84
+ "validate:runtime": "node ./scripts/validate-runtime.mjs",
85
+ "validate:tokens": "node ./scripts/validate-tokens.mjs"
75
86
  },
76
87
  "publishConfig": {
77
88
  "access": "public"
@@ -81,24 +92,25 @@
81
92
  "typescript": "^5.9 || ^6.0"
82
93
  },
83
94
  "dependencies": {
84
- "@phcdevworks/spectre-tokens": "^2.1.1"
95
+ "@phcdevworks/spectre-tokens": "^2.2.0"
85
96
  },
86
97
  "devDependencies": {
87
- "@types/node": "^25.5.0",
88
- "@typescript-eslint/eslint-plugin": "^8.58.0",
89
- "@typescript-eslint/parser": "^8.58.0",
98
+ "@types/node": "^25.6.0",
99
+ "@typescript-eslint/eslint-plugin": "^8.58.1",
100
+ "@typescript-eslint/parser": "^8.58.1",
90
101
  "autoprefixer": "^10.4.27",
91
- "eslint": "^10.1.0",
102
+ "eslint": "^10.2.0",
92
103
  "jiti": "^2.6.1",
93
- "postcss": "^8.5.8",
104
+ "postcss": "^8.5.9",
94
105
  "postcss-cli": "^11.0.1",
95
106
  "postcss-import": "^16.1.1",
96
- "prettier": "^3.8.1",
107
+ "prettier": "^3.8.2",
97
108
  "tailwindcss": "^4.2.2",
98
109
  "tsup": "^8.5.1",
99
110
  "typescript": "^6.0.2",
100
- "typescript-eslint": "^8.58.0",
101
- "vitest": "^4.1.2"
111
+ "typescript-eslint": "^8.58.1",
112
+ "vite": "^8.0.8",
113
+ "vitest": "^4.1.4"
102
114
  },
103
115
  "cSpell.words": [
104
116
  "phcdevworks"