@evjs/cli 0.2.1 → 0.2.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
@@ -39,7 +39,9 @@ Uses the default bundler adapter directly (no temp config files):
39
39
  Runs the production build through `@evjs/ev` with `NODE_ENV=production`:
40
40
  - `dist/client/` — optimized client assets with content hashes.
41
41
  - `dist/server/main.[hash].js` — server bundle.
42
- - `dist/manifest.json` — single framework manifest with client, server, route, and function metadata.
42
+ - `dist/client/manifest.json` — lightweight client deployment metadata.
43
+ - `dist/server/manifest.json` — lightweight server entry and route metadata.
44
+ - `dist/build-output.json` — canonical deployment metadata for tooling and adapters.
43
45
 
44
46
  ### `ev inspect`
45
47
 
package/dist/inspect.js CHANGED
@@ -16,7 +16,7 @@ export function formatInspectText(result) {
16
16
  lines.push(` dir: ${result.routing.dir}`);
17
17
  lines.push(` html: ${result.routing.html}`);
18
18
  lines.push(` mount: ${result.routing.mount}`);
19
- lines.push(` layout: ${formatValue(result.routing.layout ?? "auto")}`);
19
+ lines.push(` conventions.layout: ${formatLayoutConvention(result.routing.conventions?.layout)}`);
20
20
  if (result.routing.rootModule) {
21
21
  lines.push(` rootModule: ${result.routing.rootModule}`);
22
22
  }
@@ -57,14 +57,13 @@ export function formatInspectText(result) {
57
57
  return `${route.path} [${route.methods.join(", ")}] (${route.module})`;
58
58
  });
59
59
  lines.push("Runtime");
60
- lines.push(` serverEnabled: ${String(result.runtime.serverEnabled)}`);
61
- if (result.runtime.server) {
62
- lines.push(` server.basePath: ${result.runtime.server.basePath}`);
63
- lines.push(` server.fn: ${result.runtime.server.fn}`);
64
- lines.push(` server.ppr: ${result.runtime.server.ppr}`);
65
- if (result.runtime.server.rsc) {
66
- lines.push(` server.rsc: ${result.runtime.server.rsc}`);
67
- }
60
+ lines.push(` output.client: ${result.output.client}`);
61
+ lines.push(` output.server: ${result.output.server}`);
62
+ lines.push(` server.basePath: ${result.runtime.server.basePath}`);
63
+ lines.push(` server.fn: ${result.runtime.server.fn}`);
64
+ lines.push(` server.ppr: ${result.runtime.server.ppr}`);
65
+ if (result.runtime.server.rsc) {
66
+ lines.push(` server.rsc: ${result.runtime.server.rsc}`);
68
67
  }
69
68
  if (result.runtime.transport?.baseUrl) {
70
69
  lines.push(` transport.baseUrl: ${result.runtime.transport.baseUrl}`);
@@ -114,3 +113,10 @@ function formatDiagnostic(diagnostic) {
114
113
  function formatValue(value) {
115
114
  return typeof value === "string" ? value : JSON.stringify(value);
116
115
  }
116
+ function formatLayoutConvention(value) {
117
+ if (value === true)
118
+ return "auto";
119
+ if (value === false || value === undefined)
120
+ return "disabled";
121
+ return formatValue(value);
122
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@evjs/cli",
3
- "version": "0.2.1",
3
+ "version": "0.2.3",
4
4
  "description": "Command-line wrapper for the evjs framework",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -28,8 +28,8 @@
28
28
  "check-types": "tsc --noEmit"
29
29
  },
30
30
  "dependencies": {
31
- "@evjs/bundler-utoopack": "*",
32
- "@evjs/ev": "*",
31
+ "@evjs/bundler-utoopack": "0.2.3",
32
+ "@evjs/ev": "0.2.3",
33
33
  "@logtape/logtape": "^2.0.4",
34
34
  "commander": "^12.1.0"
35
35
  },
@@ -37,13 +37,13 @@
37
37
  "@types/node": "^22.19.15",
38
38
  "typescript": "^6.0.2"
39
39
  },
40
- "homepage": "https://github.com/evaijs/evjs#readme",
40
+ "homepage": "https://github.com/afx-team/evjs#readme",
41
41
  "bugs": {
42
- "url": "https://github.com/evaijs/evjs/issues"
42
+ "url": "https://github.com/afx-team/evjs/issues"
43
43
  },
44
44
  "repository": {
45
45
  "type": "git",
46
- "url": "git+https://github.com/evaijs/evjs.git"
46
+ "url": "git+https://github.com/afx-team/evjs.git"
47
47
  },
48
48
  "keywords": [
49
49
  "evjs",