@evjs/cli 0.3.15 → 0.3.17

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.
@@ -5,7 +5,7 @@ export { loadConfig } from "../config/load.js";
5
5
  const defaultBundler = utoopackAdapter;
6
6
  export async function dev(userConfig, options) {
7
7
  const { loadConfig } = await import("../config/load.js");
8
- const defaultLoadConfig = (loadConfig);
8
+ const defaultLoadConfig = loadConfig;
9
9
  const reloadInitialConfig = options?.reloadInitialConfig ?? userConfig === undefined;
10
10
  const configLoader = options?.loadConfig ??
11
11
  (reloadInitialConfig ? defaultLoadConfig : undefined);
@@ -13,6 +13,9 @@ export function formatInspectText(result) {
13
13
  lines.push("Routing");
14
14
  if (result.routing) {
15
15
  lines.push(` routingMode: ${result.routing.routingMode}`);
16
+ if (result.routing.basepath) {
17
+ lines.push(` basepath: ${result.routing.basepath}`);
18
+ }
16
19
  lines.push(` pageRoot: ${result.routing.pageRoot}`);
17
20
  lines.push(` document.template: ${result.routing.document.template}`);
18
21
  lines.push(` document.mount: ${result.routing.document.mount}`);
@@ -92,7 +95,7 @@ export function formatInspectText(result) {
92
95
  lines.push(` bundler.gap: ${gap.capability} (${gap.reason})`);
93
96
  }
94
97
  }
95
- lines.push(` server.basePath: ${result.runtime.server.basePath}`);
98
+ lines.push(` server.basepath: ${result.runtime.server.basepath}`);
96
99
  lines.push(` server.fn: ${result.runtime.server.fn}`);
97
100
  lines.push(` server.ppr: ${result.runtime.server.ppr}`);
98
101
  if (result.runtime.server.rsc) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@evjs/cli",
3
- "version": "0.3.15",
3
+ "version": "0.3.17",
4
4
  "description": "Command-line wrapper for the evjs framework",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -28,15 +28,15 @@
28
28
  "check-types": "tsc --noEmit"
29
29
  },
30
30
  "dependencies": {
31
- "@evjs/bundler-utoopack": "0.3.15",
32
- "@evjs/ev": "0.3.15",
31
+ "@evjs/bundler-utoopack": "0.3.17",
32
+ "@evjs/ev": "0.3.17",
33
33
  "@logtape/logtape": "^2.0.4",
34
34
  "commander": "^12.1.0"
35
35
  },
36
36
  "devDependencies": {
37
37
  "@evjs/shared": "*",
38
38
  "@types/node": "^22.19.15",
39
- "typescript": "^6.0.2"
39
+ "typescript": "^7.0.2"
40
40
  },
41
41
  "homepage": "https://github.com/afx-team/evjs#readme",
42
42
  "bugs": {