@jasonshimmy/vite-plugin-cer-app 0.27.1 → 0.27.3
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/README.md
CHANGED
|
@@ -256,6 +256,20 @@ See [docs/content.md](docs/content.md) for the full content-layer API and exampl
|
|
|
256
256
|
|
|
257
257
|
---
|
|
258
258
|
|
|
259
|
+
## Runtime release maintenance
|
|
260
|
+
|
|
261
|
+
After publishing a new `@jasonshimmy/custom-elements-runtime` release, synchronize the plugin with the npm `latest` tag:
|
|
262
|
+
|
|
263
|
+
```sh
|
|
264
|
+
npm run update:runtime
|
|
265
|
+
```
|
|
266
|
+
|
|
267
|
+
The command updates the plugin's peer and development dependency ranges, the installed runtime record in `package-lock.json`, and every `package.json.tpl` used by `create-cer-app`. Template manifests are discovered recursively, so newly added SPA, SSR, SSG, or future build-mode templates are included automatically. The update aborts before writing if any required reference is missing, registry metadata is incomplete, or the published runtime declares dependencies. Run `npm install` or `npm ci` afterward when the local `node_modules` tree also needs to be refreshed; CI already does this from the updated lockfile.
|
|
268
|
+
|
|
269
|
+
For a read-only CI/release check, use `npm run check:runtime`. It exits non-zero and lists stale files when an update is required. If npm's `latest` tag has not propagated yet, a known published version can be selected explicitly with `npm run update:runtime -- --version 3.9.2`.
|
|
270
|
+
|
|
271
|
+
---
|
|
272
|
+
|
|
259
273
|
## License
|
|
260
274
|
|
|
261
275
|
MIT
|
package/dist/cli/create/index.js
CHANGED
|
@@ -116,8 +116,8 @@ async function readOwnVersion() {
|
|
|
116
116
|
async function addMaterialPreset(targetDir) {
|
|
117
117
|
const packagePath = join(targetDir, 'package.json');
|
|
118
118
|
const pkg = JSON.parse(await readFile(packagePath, 'utf-8'));
|
|
119
|
-
pkg.dependencies['@jasonshimmy/cer-material'] = '^0.
|
|
120
|
-
pkg.dependencies['material-symbols'] = '^0.
|
|
119
|
+
pkg.dependencies['@jasonshimmy/cer-material'] = '^0.9.2';
|
|
120
|
+
pkg.dependencies['material-symbols'] = '^0.47.2';
|
|
121
121
|
await writeFile(packagePath, `${JSON.stringify(pkg, null, 2)}\n`, 'utf-8');
|
|
122
122
|
const configPath = join(targetDir, 'cer.config.ts');
|
|
123
123
|
const config = await readFile(configPath, 'utf-8');
|
|
@@ -10,11 +10,11 @@
|
|
|
10
10
|
"validate": "npm run typecheck && npm run build"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@jasonshimmy/custom-elements-runtime": "^3.
|
|
13
|
+
"@jasonshimmy/custom-elements-runtime": "^3.10.0"
|
|
14
14
|
},
|
|
15
15
|
"devDependencies": {
|
|
16
16
|
"@jasonshimmy/vite-plugin-cer-app": "^{{pluginVersion}}",
|
|
17
|
-
"typescript": "^
|
|
18
|
-
"vite": "^8.0
|
|
17
|
+
"typescript": "^7.0.2",
|
|
18
|
+
"vite": "^8.3.0"
|
|
19
19
|
}
|
|
20
20
|
}
|
|
@@ -11,11 +11,11 @@
|
|
|
11
11
|
"validate": "npm run typecheck && npm run build && cer-app check links && cer-app check performance"
|
|
12
12
|
},
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"@jasonshimmy/custom-elements-runtime": "^3.
|
|
14
|
+
"@jasonshimmy/custom-elements-runtime": "^3.10.0"
|
|
15
15
|
},
|
|
16
16
|
"devDependencies": {
|
|
17
17
|
"@jasonshimmy/vite-plugin-cer-app": "^{{pluginVersion}}",
|
|
18
|
-
"typescript": "^
|
|
19
|
-
"vite": "^8.0
|
|
18
|
+
"typescript": "^7.0.2",
|
|
19
|
+
"vite": "^8.3.0"
|
|
20
20
|
}
|
|
21
21
|
}
|
|
@@ -10,11 +10,11 @@
|
|
|
10
10
|
"validate": "npm run typecheck && npm run build"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@jasonshimmy/custom-elements-runtime": "^3.
|
|
13
|
+
"@jasonshimmy/custom-elements-runtime": "^3.10.0"
|
|
14
14
|
},
|
|
15
15
|
"devDependencies": {
|
|
16
16
|
"@jasonshimmy/vite-plugin-cer-app": "^{{pluginVersion}}",
|
|
17
|
-
"typescript": "^
|
|
18
|
-
"vite": "^8.0
|
|
17
|
+
"typescript": "^7.0.2",
|
|
18
|
+
"vite": "^8.3.0"
|
|
19
19
|
}
|
|
20
20
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jasonshimmy/vite-plugin-cer-app",
|
|
3
|
-
"version": "0.27.
|
|
3
|
+
"version": "0.27.3",
|
|
4
4
|
"description": "Nuxt-style meta-framework for @jasonshimmy/custom-elements-runtime",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"keywords": [
|
|
@@ -66,6 +66,8 @@
|
|
|
66
66
|
"test": "vitest run",
|
|
67
67
|
"test:watch": "vitest",
|
|
68
68
|
"test:coverage": "vitest run --coverage",
|
|
69
|
+
"check:runtime": "node scripts/update-runtime.mjs --check",
|
|
70
|
+
"update:runtime": "node scripts/update-runtime.mjs",
|
|
69
71
|
"e2e:clean": "node e2e/scripts/clean.mjs",
|
|
70
72
|
"e2e:build:spa": "npm run e2e:clean && node dist/cli/index.js build --mode spa --root e2e/kitchen-sink",
|
|
71
73
|
"e2e:build:ssr": "npm run e2e:clean && node dist/cli/index.js build --mode ssr --root e2e/kitchen-sink",
|
|
@@ -88,33 +90,37 @@
|
|
|
88
90
|
"cypress:open": "cypress open"
|
|
89
91
|
},
|
|
90
92
|
"peerDependencies": {
|
|
91
|
-
"@jasonshimmy/custom-elements-runtime": ">=3.
|
|
93
|
+
"@jasonshimmy/custom-elements-runtime": ">=3.10.0",
|
|
92
94
|
"vite": ">=5.0.0"
|
|
93
95
|
},
|
|
94
96
|
"dependencies": {
|
|
95
|
-
"commander": "^
|
|
97
|
+
"commander": "^15.0.0",
|
|
96
98
|
"fast-glob": "^3.3.3",
|
|
97
|
-
"magic-string": "^
|
|
98
|
-
"marked": "^18.0.
|
|
99
|
+
"magic-string": "^1.3.1",
|
|
100
|
+
"marked": "^18.0.12",
|
|
99
101
|
"minisearch": "^7.2.0",
|
|
100
102
|
"pathe": "^2.0.3",
|
|
101
|
-
"yaml": "^2.9.
|
|
103
|
+
"yaml": "^2.9.1"
|
|
102
104
|
},
|
|
103
105
|
"devDependencies": {
|
|
104
|
-
"@jasonshimmy/custom-elements-runtime": "^3.
|
|
105
|
-
"@types/node": "^
|
|
106
|
-
"@vitest/coverage-v8": "^
|
|
107
|
-
"cypress": "^
|
|
108
|
-
"eslint": "^10.
|
|
109
|
-
"happy-dom": "^20.
|
|
110
|
-
"jiti": "^2.
|
|
111
|
-
"start-server-and-test": "^3.0.
|
|
112
|
-
"typescript": "^
|
|
113
|
-
"typescript-eslint": "^8.
|
|
114
|
-
"vite": "^8.0
|
|
115
|
-
"vitest": "^
|
|
106
|
+
"@jasonshimmy/custom-elements-runtime": "^3.10.0",
|
|
107
|
+
"@types/node": "^24.13.4",
|
|
108
|
+
"@vitest/coverage-v8": "^5.0.0",
|
|
109
|
+
"cypress": "^16.0.0",
|
|
110
|
+
"eslint": "^10.10.0",
|
|
111
|
+
"happy-dom": "^20.14.5",
|
|
112
|
+
"jiti": "^2.7.0",
|
|
113
|
+
"start-server-and-test": "^3.0.12",
|
|
114
|
+
"typescript": "^6.0.3",
|
|
115
|
+
"typescript-eslint": "^8.70.0",
|
|
116
|
+
"vite": "^8.3.0",
|
|
117
|
+
"vitest": "^5.0.0"
|
|
116
118
|
},
|
|
117
119
|
"publishConfig": {
|
|
118
120
|
"access": "public"
|
|
121
|
+
},
|
|
122
|
+
"allowScripts": {
|
|
123
|
+
"cypress@16.0.0": true,
|
|
124
|
+
"fsevents@2.3.3": true
|
|
119
125
|
}
|
|
120
126
|
}
|