@jasonshimmy/vite-plugin-cer-app 0.27.2 → 0.28.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/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
@@ -10,7 +10,7 @@
10
10
  "validate": "npm run typecheck && npm run build"
11
11
  },
12
12
  "dependencies": {
13
- "@jasonshimmy/custom-elements-runtime": "^3.9.1"
13
+ "@jasonshimmy/custom-elements-runtime": "^3.11.0"
14
14
  },
15
15
  "devDependencies": {
16
16
  "@jasonshimmy/vite-plugin-cer-app": "^{{pluginVersion}}",
@@ -11,7 +11,7 @@
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.9.1"
14
+ "@jasonshimmy/custom-elements-runtime": "^3.11.0"
15
15
  },
16
16
  "devDependencies": {
17
17
  "@jasonshimmy/vite-plugin-cer-app": "^{{pluginVersion}}",
@@ -10,7 +10,7 @@
10
10
  "validate": "npm run typecheck && npm run build"
11
11
  },
12
12
  "dependencies": {
13
- "@jasonshimmy/custom-elements-runtime": "^3.9.1"
13
+ "@jasonshimmy/custom-elements-runtime": "^3.11.0"
14
14
  },
15
15
  "devDependencies": {
16
16
  "@jasonshimmy/vite-plugin-cer-app": "^{{pluginVersion}}",
@@ -1 +1 @@
1
- {"version":3,"file":"prune-runtime-css.d.ts","sourceRoot":"","sources":["../../../src/plugin/transforms/prune-runtime-css.ts"],"names":[],"mappings":"AA6BA;;;;;GAKG;AACH,wBAAgB,kCAAkC,CAChD,IAAI,EAAE,MAAM,EACZ,EAAE,EAAE,MAAM,EACV,cAAc,EAAE,OAAO,GAAG,MAAM,EAAE,GACjC,MAAM,CAcR"}
1
+ {"version":3,"file":"prune-runtime-css.d.ts","sourceRoot":"","sources":["../../../src/plugin/transforms/prune-runtime-css.ts"],"names":[],"mappings":"AAiCA;;;;;GAKG;AACH,wBAAgB,kCAAkC,CAChD,IAAI,EAAE,MAAM,EACZ,EAAE,EAAE,MAAM,EACV,cAAc,EAAE,OAAO,GAAG,MAAM,EAAE,GACjC,MAAM,CAcR"}
@@ -1,4 +1,8 @@
1
1
  const EXTENDED_COLOR_FAMILIES = [
2
+ 'mauve',
3
+ 'olive',
4
+ 'mist',
5
+ 'taupe',
2
6
  'slate',
3
7
  'gray',
4
8
  'zinc',
@@ -1 +1 @@
1
- {"version":3,"file":"prune-runtime-css.js","sourceRoot":"","sources":["../../../src/plugin/transforms/prune-runtime-css.ts"],"names":[],"mappings":"AAAA,MAAM,uBAAuB,GAAG;IAC9B,OAAO;IACP,MAAM;IACN,MAAM;IACN,OAAO;IACP,KAAK;IACL,QAAQ;IACR,OAAO;IACP,QAAQ;IACR,MAAM;IACN,OAAO;IACP,SAAS;IACT,MAAM;IACN,MAAM;IACN,KAAK;IACL,MAAM;IACN,QAAQ;IACR,QAAQ;IACR,QAAQ;IACR,SAAS;IACT,MAAM;IACN,MAAM;CACE,CAAA;AAEV,MAAM,0BAA0B,GAAG,IAAI,MAAM,CAC3C,MAAM,CAAC,GAAG,CAAA,sBAAsB,uBAAuB,CAAC,IAAI,CAAC,GAAG,CAAC,yCAAyC,EAC1G,GAAG,CACJ,CAAA;AAED;;;;;GAKG;AACH,MAAM,UAAU,kCAAkC,CAChD,IAAY,EACZ,EAAU,EACV,cAAkC;IAElC,IACE,cAAc,KAAK,IAAI;QACvB,CAAC,EAAE,CAAC,QAAQ,CAAC,sCAAsC,CAAC;QACpD,CAAC,oCAAoC,CAAC,IAAI,CAAC,EAAE,CAAC,EAC9C,CAAC;QACD,OAAO,IAAI,CAAA;IACb,CAAC;IAED,MAAM,OAAO,GAAG,IAAI,GAAG,CAAC,KAAK,CAAC,OAAO,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,EAAE,CAAC,CAAA;IAC5E,OAAO,IAAI,CAAC,OAAO,CACjB,0BAA0B,EAC1B,CAAC,WAAW,EAAE,MAAc,EAAE,EAAE,CAAC,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,EAAE,CACxE,CAAA;AACH,CAAC"}
1
+ {"version":3,"file":"prune-runtime-css.js","sourceRoot":"","sources":["../../../src/plugin/transforms/prune-runtime-css.ts"],"names":[],"mappings":"AAAA,MAAM,uBAAuB,GAAG;IAC9B,OAAO;IACP,OAAO;IACP,MAAM;IACN,OAAO;IACP,OAAO;IACP,MAAM;IACN,MAAM;IACN,OAAO;IACP,KAAK;IACL,QAAQ;IACR,OAAO;IACP,QAAQ;IACR,MAAM;IACN,OAAO;IACP,SAAS;IACT,MAAM;IACN,MAAM;IACN,KAAK;IACL,MAAM;IACN,QAAQ;IACR,QAAQ;IACR,QAAQ;IACR,SAAS;IACT,MAAM;IACN,MAAM;CACE,CAAA;AAEV,MAAM,0BAA0B,GAAG,IAAI,MAAM,CAC3C,MAAM,CAAC,GAAG,CAAA,sBAAsB,uBAAuB,CAAC,IAAI,CAAC,GAAG,CAAC,yCAAyC,EAC1G,GAAG,CACJ,CAAA;AAED;;;;;GAKG;AACH,MAAM,UAAU,kCAAkC,CAChD,IAAY,EACZ,EAAU,EACV,cAAkC;IAElC,IACE,cAAc,KAAK,IAAI;QACvB,CAAC,EAAE,CAAC,QAAQ,CAAC,sCAAsC,CAAC;QACpD,CAAC,oCAAoC,CAAC,IAAI,CAAC,EAAE,CAAC,EAC9C,CAAC;QACD,OAAO,IAAI,CAAA;IACb,CAAC;IAED,MAAM,OAAO,GAAG,IAAI,GAAG,CAAC,KAAK,CAAC,OAAO,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,EAAE,CAAC,CAAA;IAC5E,OAAO,IAAI,CAAC,OAAO,CACjB,0BAA0B,EAC1B,CAAC,WAAW,EAAE,MAAc,EAAE,EAAE,CAAC,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,EAAE,CACxE,CAAA;AACH,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jasonshimmy/vite-plugin-cer-app",
3
- "version": "0.27.2",
3
+ "version": "0.28.0",
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,20 +90,20 @@
88
90
  "cypress:open": "cypress open"
89
91
  },
90
92
  "peerDependencies": {
91
- "@jasonshimmy/custom-elements-runtime": ">=3.9.1",
93
+ "@jasonshimmy/custom-elements-runtime": ">=3.11.0",
92
94
  "vite": ">=5.0.0"
93
95
  },
94
96
  "dependencies": {
95
97
  "commander": "^15.0.0",
96
98
  "fast-glob": "^3.3.3",
97
99
  "magic-string": "^1.3.1",
98
- "marked": "^18.0.12",
100
+ "marked": "^18.0.13",
99
101
  "minisearch": "^7.2.0",
100
102
  "pathe": "^2.0.3",
101
103
  "yaml": "^2.9.1"
102
104
  },
103
105
  "devDependencies": {
104
- "@jasonshimmy/custom-elements-runtime": "^3.9.1",
106
+ "@jasonshimmy/custom-elements-runtime": "^3.11.0",
105
107
  "@types/node": "^24.13.4",
106
108
  "@vitest/coverage-v8": "^5.0.0",
107
109
  "cypress": "^16.0.0",