@evjs/cli 0.0.1-rc.13 → 0.0.1-rc.15

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/AGENT.md CHANGED
@@ -103,7 +103,7 @@ Interactive scaffolding. Templates:
103
103
  ### `ev build`
104
104
  - Outputs client bundle to `dist/client/`
105
105
  - Outputs server bundle to `dist/server/`
106
- - Emits `dist/server/manifest.json` with server function registry
106
+ - Emits `dist/manifest.json` with server function registry
107
107
  - `NODE_ENV=production`
108
108
 
109
109
  ## Common Mistakes
package/README.md CHANGED
@@ -41,7 +41,7 @@ Uses webpack Node API directly (no temp config files):
41
41
 
42
42
  Runs webpack via Node API with `NODE_ENV=production`:
43
43
  - `dist/client/` — optimized client assets with content hashes.
44
- - `dist/server/main.[hash].js` — server bundle (entry discovered via `dist/server/manifest.json`).
44
+ - `dist/server/main.[hash].js` — server bundle (entry discovered via `dist/manifest.json`).
45
45
 
46
46
  ## Configuration
47
47
 
package/dist/index.js CHANGED
@@ -138,7 +138,7 @@ program
138
138
  await server.start();
139
139
  // Background: wait for server bundle, then start Node API
140
140
  void (async () => {
141
- const manifestPath = path.resolve(cwd, "dist/server/manifest.json");
141
+ const manifestPath = path.resolve(cwd, "dist/manifest.json");
142
142
  const bootstrapPath = path.resolve(cwd, "dist/server/_dev_start.cjs");
143
143
  let started = false;
144
144
  while (true) {
@@ -149,7 +149,7 @@ program
149
149
  logger.info `Server bundle detected, starting ${runner} API...`;
150
150
  started = true;
151
151
  const manifest = JSON.parse(fs.readFileSync(manifestPath, "utf-8"));
152
- const serverBundlePath = path.resolve(cwd, "dist/server", manifest.entry);
152
+ const serverBundlePath = path.resolve(cwd, "dist/server", manifest.server.entry);
153
153
  fs.writeFileSync(bootstrapPath, [
154
154
  `const bundle = require(${JSON.stringify(serverBundlePath)});`,
155
155
  `const app = bundle.createApp({ endpoint: ${JSON.stringify(evjsConfig?.server?.endpoint ?? CONFIG_DEFAULTS.endpoint)} });`,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@evjs/cli",
3
- "version": "0.0.1-rc.13",
3
+ "version": "0.0.1-rc.15",
4
4
  "description": "CLI and configuration layer for the evjs framework",
5
5
  "type": "module",
6
6
  "main": "./dist/config.js",
@@ -30,7 +30,7 @@
30
30
  "prepare": "npm run build"
31
31
  },
32
32
  "dependencies": {
33
- "@evjs/webpack-plugin": "0.0.1-rc.13",
33
+ "@evjs/webpack-plugin": "0.0.1-rc.15",
34
34
  "@logtape/logtape": "^2.0.4",
35
35
  "@swc/core": "^1.2.147",
36
36
  "commander": "^12.1.0",
@@ -8,7 +8,7 @@
8
8
  "check-types": "tsc --noEmit"
9
9
  },
10
10
  "dependencies": {
11
- "@evjs/runtime": "^0.0.1-rc.13",
11
+ "@evjs/runtime": "^0.0.1-rc.15",
12
12
  "react": "^19.2.4",
13
13
  "react-dom": "^19.2.4"
14
14
  },
@@ -8,7 +8,7 @@
8
8
  "check-types": "tsc --noEmit"
9
9
  },
10
10
  "dependencies": {
11
- "@evjs/runtime": "^0.0.1-rc.13",
11
+ "@evjs/runtime": "^0.0.1-rc.15",
12
12
  "react": "^19.2.4",
13
13
  "react-dom": "^19.2.4"
14
14
  },
@@ -8,7 +8,7 @@
8
8
  "check-types": "tsc --noEmit"
9
9
  },
10
10
  "dependencies": {
11
- "@evjs/runtime": "^0.0.1-rc.13",
11
+ "@evjs/runtime": "^0.0.1-rc.15",
12
12
  "react": "^19.2.4",
13
13
  "react-dom": "^19.2.4"
14
14
  },
@@ -8,7 +8,7 @@
8
8
  "check-types": "tsc --noEmit"
9
9
  },
10
10
  "dependencies": {
11
- "@evjs/runtime": "^0.0.1-rc.13",
11
+ "@evjs/runtime": "^0.0.1-rc.15",
12
12
  "react": "^19.2.4",
13
13
  "react-dom": "^19.2.4"
14
14
  },