@vesk/vesk-cli 0.2.89 → 0.2.90

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.
Files changed (2) hide show
  1. package/dist/cli.js +5 -0
  2. package/package.json +5 -5
package/dist/cli.js CHANGED
@@ -34850,6 +34850,11 @@ function bodyNeedsRuntimeCells(nodes) {
34850
34850
  return false;
34851
34851
  }
34852
34852
  function buildComponentEntries(irRoot) {
34853
+ for (const name of ["redirect", "permanentRedirect", "notFound"]) {
34854
+ if (!irRoot.imports.includes(`import { ${name} } from '@vesk/runtime';`)) {
34855
+ irRoot.imports.push(`import { ${name} } from '@vesk/runtime';`);
34856
+ }
34857
+ }
34853
34858
  const runtimeNames = extractRuntimeNames(irRoot.imports);
34854
34859
  const localValueNames = localValueImportNames(irRoot.imports);
34855
34860
  const topNames = extractTopLevelNames(irRoot.topLevelCode);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vesk/vesk-cli",
3
- "version": "0.2.89",
3
+ "version": "0.2.90",
4
4
  "type": "module",
5
5
  "description": "Vesk — compiler-first framework for the post-VDOM web. vesk dev, vesk build.",
6
6
  "bin": {
@@ -8,10 +8,10 @@
8
8
  },
9
9
  "main": "./dist/cli.js",
10
10
  "dependencies": {
11
- "@vesk/adapter": "^0.2.89",
12
- "@vesk/compiler": "^0.2.89",
13
- "@vesk/plugin-tailwind": "^0.2.89",
14
- "@vesk/runtime": "^0.2.89",
11
+ "@vesk/adapter": "^0.2.90",
12
+ "@vesk/compiler": "^0.2.90",
13
+ "@vesk/plugin-tailwind": "^0.2.90",
14
+ "@vesk/runtime": "^0.2.90",
15
15
  "esrap": "^2.3.0",
16
16
  "typescript": "^5.8.0",
17
17
  "ws": "^8.18.0",