view-contracts 0.5.5 → 0.5.7
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/docs/cli-reference.md
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "view-contracts",
|
|
3
|
-
"version": "0.5.
|
|
4
|
-
"description": "Contract-first UI design toolchain
|
|
3
|
+
"version": "0.5.7",
|
|
4
|
+
"description": "Contract-first UI design toolchain \u2014 restricted TSX to View IR to platform renderers",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
7
7
|
"view-contracts": "dist/view-contracts.bundle.mjs"
|
|
@@ -58,7 +58,6 @@
|
|
|
58
58
|
"test:unit": "vitest run",
|
|
59
59
|
"test:smoke": "node dist/view-contracts.bundle.mjs --version && node dist/view-contracts.bundle.mjs --help",
|
|
60
60
|
"test:ci": "npm run test:unit && npm run build:publish && npm run test:smoke",
|
|
61
|
-
"version": "node -e \"const fs=require('fs');const f='cli-contract.yaml';fs.writeFileSync(f,fs.readFileSync(f,'utf8').replace(/^ version: .*/m,' version: '+process.env.npm_package_version))\" && git add cli-contract.yaml",
|
|
62
61
|
"prepublishOnly": "npm run build:publish && npm run test:ci"
|
|
63
62
|
},
|
|
64
63
|
"keywords": [
|
|
@@ -86,9 +85,9 @@
|
|
|
86
85
|
"node": ">=20.0.0"
|
|
87
86
|
},
|
|
88
87
|
"peerDependencies": {
|
|
89
|
-
"vite": "^5.0.0 || ^6.0.0",
|
|
90
88
|
"react": "^18.0.0 || ^19.0.0",
|
|
91
|
-
"react-dom": "^18.0.0 || ^19.0.0"
|
|
89
|
+
"react-dom": "^18.0.0 || ^19.0.0",
|
|
90
|
+
"vite": "^5.0.0 || ^6.0.0"
|
|
92
91
|
},
|
|
93
92
|
"peerDependenciesMeta": {
|
|
94
93
|
"vite": {
|
|
@@ -107,8 +106,8 @@
|
|
|
107
106
|
"handlebars": "^4.7.9",
|
|
108
107
|
"js-yaml": "^4.1.1",
|
|
109
108
|
"micro-contracts": "^0.17.10",
|
|
110
|
-
"react": "^19.
|
|
111
|
-
"react-dom": "^19.
|
|
109
|
+
"react": "^18.0.0 || ^19.0.0",
|
|
110
|
+
"react-dom": "^18.0.0 || ^19.0.0",
|
|
112
111
|
"typescript": "^5.9.3"
|
|
113
112
|
},
|
|
114
113
|
"devDependencies": {
|
|
@@ -119,7 +118,7 @@
|
|
|
119
118
|
"@types/react-dom": "^19.2.3",
|
|
120
119
|
"@vitejs/plugin-react": "^4.7.0",
|
|
121
120
|
"ajv": "^8.18.0",
|
|
122
|
-
"cli-contracts": "^0.
|
|
121
|
+
"cli-contracts": "^0.34.6",
|
|
123
122
|
"esbuild": "^0.28.0",
|
|
124
123
|
"pixelmatch": "^7.2.0",
|
|
125
124
|
"playwright": "^1.61.0",
|