@lvce-editor/server 0.125.22 → 0.125.23

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
@@ -12,8 +12,12 @@ The Electron CLI and desktop main process read persistent command-line arguments
12
12
  {
13
13
  "link": ["/path/to/extension", "/path/to/another extension"],
14
14
  "asar": true,
15
- "electron-version": "44.1.2"
15
+ "electron-version": "44.1.2",
16
16
  }
17
17
  ```
18
18
 
19
19
  Configured values are applied before command-line arguments, so an explicit argument takes precedence. Set a boolean to `false` to leave a boolean option disabled. `--transient` uses isolated configuration and does not read the persistent file.
20
+
21
+ Use `--process-explorer-worker=/path/to/worker.js` to serve a local process explorer worker at runtime. Relative paths resolve from the server working directory. The last flag overrides the user preference and packaged worker URL; `--disable-custom-worker-paths` suppresses this override. Without the flag, the existing worker configuration is retained. Explicitly linked worker packages retain their existing precedence.
22
+
23
+ For local native process development, `--process-explorer=/path/to/processExplorerMain.ts` sets `develop.processExplorerPath` without rewriting installed packages.
@@ -2,7 +2,7 @@ This project incorporates components from the projects listed below, that may ha
2
2
  differing from this project:
3
3
 
4
4
 
5
- 1) License Notice for static/2d6096f/icons (from https://github.com/microsoft/vscode-codicons)
5
+ 1) License Notice for static/453fa6a/icons (from https://github.com/microsoft/vscode-codicons)
6
6
  ---------------------------------------
7
7
 
8
8
  Attribution 4.0 International
@@ -402,7 +402,7 @@ public licenses.
402
402
  Creative Commons may be contacted at creativecommons.org.
403
403
 
404
404
 
405
- 2) License Notice for static/2d6096f/fonts/FiraCode-VariableFont.ttf (from https://github.com/tonsky/FiraCode)
405
+ 2) License Notice for static/453fa6a/fonts/FiraCode-VariableFont.ttf (from https://github.com/tonsky/FiraCode)
406
406
  ---------------------------------------
407
407
 
408
408
  Copyright (c) 2014, The Fira Code Project Authors (https://github.com/tonsky/FiraCode)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/server",
3
- "version": "0.125.22",
3
+ "version": "0.125.23",
4
4
  "description": "Run LVCE Editor as a server.",
5
5
  "main": "index.js",
6
6
  "bin": "bin/server.js",
@@ -21,7 +21,7 @@
21
21
  },
22
22
  "dependencies": {
23
23
  "@lvce-editor/jsonc-parser": "^1.5.2",
24
- "@lvce-editor/shared-process": "0.125.22",
25
- "@lvce-editor/static-server": "0.125.22"
24
+ "@lvce-editor/shared-process": "0.125.23",
25
+ "@lvce-editor/static-server": "0.125.23"
26
26
  }
27
27
  }
package/src/server.js CHANGED
@@ -80,7 +80,7 @@ const isStatic = (url) => {
80
80
  if (url === '/index.html' || url.startsWith('/index.html?')) {
81
81
  return !hasLinkedExtensions
82
82
  }
83
- if (url.startsWith('/2d6096f')) {
83
+ if (url.startsWith('/453fa6a')) {
84
84
  return true
85
85
  }
86
86
  if (url.startsWith('/favicon.ico')) {
@@ -61,3 +61,11 @@ test('finds the workspace while ignoring repeated link arguments', () => {
61
61
  test('uses the application config directory for argv.json', () => {
62
62
  assert.equal(ArgvConfig.getArgvConfigPath({ XDG_CONFIG_HOME: '/test/config' }, '/test/home'), join('/test/config', 'lvce-oss', 'argv.json'))
63
63
  })
64
+
65
+ test('worker path options do not become workspace arguments', () => {
66
+ assert.equal(
67
+ ArgvConfig.getWorkspaceArgument(['--process-explorer-worker=relative worker.js', '--process-explorer=/native/process.ts', '/workspace']),
68
+ '/workspace',
69
+ )
70
+ assert.equal(ArgvConfig.getWorkspaceArgument(['--process-explorer-worker=/worker.js']), '')
71
+ })