@lvce-editor/shared-process 0.37.9 → 0.37.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/index.js
CHANGED
|
@@ -10,7 +10,7 @@ export const exportStatic = async ({ extensionPath = process.cwd(), testPath = '
|
|
|
10
10
|
throw new Error(`root argument is required`)
|
|
11
11
|
}
|
|
12
12
|
const fn = await import('./src/parts/ExportStatic/ExportStatic.js')
|
|
13
|
-
if (extensionPath !== root && !isAbsolute(extensionPath)) {
|
|
13
|
+
if (extensionPath && extensionPath !== root && !isAbsolute(extensionPath)) {
|
|
14
14
|
extensionPath = join(root, extensionPath)
|
|
15
15
|
}
|
|
16
16
|
const pathPrefix = process.env.PATH_PREFIX || ''
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lvce-editor/shared-process",
|
|
3
|
-
"version": "0.37.
|
|
3
|
+
"version": "0.37.11",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"keywords": [
|
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@lvce-editor/assert": "^1.3.0",
|
|
21
|
-
"@lvce-editor/extension-host-helper-process": "0.37.
|
|
22
|
-
"@lvce-editor/ipc": "^11.0
|
|
23
|
-
"@lvce-editor/json-rpc": "^
|
|
21
|
+
"@lvce-editor/extension-host-helper-process": "0.37.11",
|
|
22
|
+
"@lvce-editor/ipc": "^11.1.0",
|
|
23
|
+
"@lvce-editor/json-rpc": "^5.0.0",
|
|
24
24
|
"@lvce-editor/jsonc-parser": "^1.5.0",
|
|
25
25
|
"@lvce-editor/pretty-error": "^1.6.0",
|
|
26
26
|
"@lvce-editor/verror": "^1.4.0",
|
|
@@ -367,6 +367,10 @@ const resolveServerStaticPath = (root) => {
|
|
|
367
367
|
if (existsSync(guessTwo)) {
|
|
368
368
|
return guessTwo;
|
|
369
369
|
}
|
|
370
|
+
const guessThree = Path.join(root, 'packages', 'server', 'node_modules', '@lvce-editor', 'server', 'static');
|
|
371
|
+
if (existsSync(guessThree)) {
|
|
372
|
+
return guessThree;
|
|
373
|
+
}
|
|
370
374
|
throw new Error(`server static path not found`);
|
|
371
375
|
};
|
|
372
376
|
/**
|
|
@@ -41,9 +41,9 @@ export const getAppImageName = () => {
|
|
|
41
41
|
export const getSetupName = () => {
|
|
42
42
|
return 'Lvce-Setup';
|
|
43
43
|
};
|
|
44
|
-
export const version = '0.37.
|
|
45
|
-
export const commit = '
|
|
46
|
-
export const date = '2024-
|
|
44
|
+
export const version = '0.37.11';
|
|
45
|
+
export const commit = 'd0a4abf';
|
|
46
|
+
export const date = '2024-11-03T15:24:56.000Z';
|
|
47
47
|
export const getVersion = () => {
|
|
48
48
|
return version;
|
|
49
49
|
};
|