castle-web-cli 0.4.176 → 0.4.177

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/serve.js +3 -1
  2. package/package.json +7 -3
package/dist/serve.js CHANGED
@@ -1021,11 +1021,13 @@ async function serveDetached(projectDir, options) {
1021
1021
  // this serve and it dies with the session.
1022
1022
  // `.unref()` is what lets the calling node process exit either way.
1023
1023
  const fullDetach = process.env.CASTLE_WEB_CLI_DETACH === '1';
1024
+ const childEnv = { ...process.env };
1025
+ delete childEnv.CASTLE_WEB_CLI_DETACH;
1024
1026
  const child = spawn(process.execPath, [entry, ...args], {
1025
1027
  cwd: projectDir,
1026
1028
  detached: fullDetach,
1027
1029
  stdio: ['ignore', logFd, logFd],
1028
- env: process.env,
1030
+ env: childEnv,
1029
1031
  });
1030
1032
  child.unref();
1031
1033
  fs.closeSync(logFd);
package/package.json CHANGED
@@ -1,14 +1,18 @@
1
1
  {
2
2
  "name": "castle-web-cli",
3
- "version": "0.4.176",
3
+ "version": "0.4.177",
4
+ "repository": {
5
+ "type": "git",
6
+ "url": "git+https://github.com/castle-xyz/castle-experimental-web.git"
7
+ },
4
8
  "type": "module",
5
9
  "bin": {
6
- "castle-web": "./dist/index.js"
10
+ "castle-web": "dist/index.js"
7
11
  },
8
12
  "scripts": {
9
13
  "build": "rm -rf dist && tsc && chmod +x dist/index.js && vite build && cp -R src/castle-host dist/castle-host && chmod -R u+w kits 2>/dev/null; rm -rf kits && cp -R ../kits kits && chmod -R u+w kits && rm -rf kits/*/imports",
10
14
  "dev": "tsc --watch",
11
- "check": "node ../scripts/sync-tokens.mjs --check && node ../scripts/tests/icon-registry.mjs && eslint . && jscpd && tsc --noEmit && tsc --noEmit -p src/shell/tsconfig.json"
15
+ "check": "node ../scripts/sync-tokens.mjs --check && node ../scripts/tests/icon-registry.mjs && node ../scripts/tests/sandbox-graphql-fields.mjs && eslint . && jscpd && tsc --noEmit && tsc --noEmit -p src/shell/tsconfig.json"
12
16
  },
13
17
  "jscpd": {
14
18
  "path": [