@lvce-editor/server 0.126.10 → 0.126.11
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 +2 -0
- package/ThirdPartyNotices.txt +2 -2
- package/package.json +3 -3
- package/src/server.js +4 -4
package/README.md
CHANGED
|
@@ -20,4 +20,6 @@ Configured values are applied before command-line arguments, so an explicit argu
|
|
|
20
20
|
|
|
21
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
22
|
|
|
23
|
+
Use `--activity-bar-worker=/path/to/worker.js` to serve a local activity bar worker at runtime. Relative paths resolve from the server working directory. The 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.
|
|
24
|
+
|
|
23
25
|
For local native process development, including with the published server, `--process-explorer=/path/to/processExplorerMain.ts` sets `develop.processExplorerPath` without rewriting installed packages.
|
package/ThirdPartyNotices.txt
CHANGED
|
@@ -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/
|
|
5
|
+
1) License Notice for static/49446cf/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/
|
|
405
|
+
2) License Notice for static/49446cf/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.126.
|
|
3
|
+
"version": "0.126.11",
|
|
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.126.
|
|
25
|
-
"@lvce-editor/static-server": "0.126.
|
|
24
|
+
"@lvce-editor/shared-process": "0.126.11",
|
|
25
|
+
"@lvce-editor/static-server": "0.126.11"
|
|
26
26
|
}
|
|
27
27
|
}
|
package/src/server.js
CHANGED
|
@@ -72,16 +72,16 @@ const ErrorCodes = {
|
|
|
72
72
|
}
|
|
73
73
|
|
|
74
74
|
const hasLinkedExtensions = argvSliced.some((arg) => arg === '--link' || arg.startsWith('--link='))
|
|
75
|
-
const
|
|
75
|
+
const hasCustomWorkerPathOverride = !argvSliced.includes('--disable-custom-worker-paths') && argvSliced.some((arg) => arg.startsWith('--process-explorer-worker=') || arg.startsWith('--activity-bar-worker='))
|
|
76
76
|
|
|
77
77
|
const isStatic = (url) => {
|
|
78
78
|
if (url === '/' || url.startsWith('/?')) {
|
|
79
|
-
return !hasLinkedExtensions && !
|
|
79
|
+
return !hasLinkedExtensions && !hasCustomWorkerPathOverride
|
|
80
80
|
}
|
|
81
81
|
if (url === '/index.html' || url.startsWith('/index.html?')) {
|
|
82
|
-
return !hasLinkedExtensions && !
|
|
82
|
+
return !hasLinkedExtensions && !hasCustomWorkerPathOverride
|
|
83
83
|
}
|
|
84
|
-
if (url.startsWith('/
|
|
84
|
+
if (url.startsWith('/49446cf')) {
|
|
85
85
|
return true
|
|
86
86
|
}
|
|
87
87
|
if (url.startsWith('/favicon.ico')) {
|