@lvce-editor/shared-process 0.104.17 → 0.105.1
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/package.json +2 -2
- package/src/parts/BuiltinExtensionsPath/BuiltinExtensionsPath.js +1 -1
- package/src/parts/ModuleMap/ModuleMap.js +1 -0
- package/src/parts/Platform/Platform.ipc.js +1 -0
- package/src/parts/Platform/Platform.js +3 -3
- package/src/parts/PlatformPaths/PlatformPaths.js +4 -0
- package/src/parts/PreloadUrl/PreloadUrl.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lvce-editor/shared-process",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.105.1",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"keywords": [
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@lvce-editor/assert": "1.9.0",
|
|
21
|
-
"@lvce-editor/extension-host-helper-process": "0.
|
|
21
|
+
"@lvce-editor/extension-host-helper-process": "0.105.1",
|
|
22
22
|
"@lvce-editor/ipc": "16.12.0",
|
|
23
23
|
"@lvce-editor/json-rpc": "8.7.0",
|
|
24
24
|
"@lvce-editor/jsonc-parser": "1.5.0",
|
|
@@ -3,6 +3,6 @@ import { fileURLToPath } from 'url'
|
|
|
3
3
|
|
|
4
4
|
export const getBuiltinExtensionsPath = () => {
|
|
5
5
|
const staticServerPath = fileURLToPath(import.meta.resolve('@lvce-editor/static-server'))
|
|
6
|
-
const builtinExtensionsPath = join(staticServerPath, '..', '..', 'static', '
|
|
6
|
+
const builtinExtensionsPath = join(staticServerPath, '..', '..', 'static', '77c17f9', 'extensions')
|
|
7
7
|
return builtinExtensionsPath
|
|
8
8
|
}
|
|
@@ -249,6 +249,7 @@ export const getModuleId = (commandId) => {
|
|
|
249
249
|
case 'Platform.getCommit':
|
|
250
250
|
case 'Platform.getConfigDir':
|
|
251
251
|
case 'Platform.getConfigJsonPath':
|
|
252
|
+
case 'Platform.getConfigUri':
|
|
252
253
|
case 'Platform.getDataDir':
|
|
253
254
|
case 'Platform.getDate':
|
|
254
255
|
case 'Platform.getDisabledExtensionsPath':
|
|
@@ -14,6 +14,7 @@ export const Commands = {
|
|
|
14
14
|
getCommit: Platform.getCommit,
|
|
15
15
|
getConfigDir: PlatformPaths.getConfigDir,
|
|
16
16
|
getConfigJsonPath: PlatformPaths.getConfigJsonPath,
|
|
17
|
+
getConfigUri: PlatformPaths.getConfigUri,
|
|
17
18
|
getDataDir: PlatformPaths.getDataDir,
|
|
18
19
|
getDate: Platform.getDate,
|
|
19
20
|
getDisabledExtensionsPath: PlatformPaths.getDisabledExtensionsPath,
|
|
@@ -61,11 +61,11 @@ export const getSetupName = () => {
|
|
|
61
61
|
return 'Lvce-Setup'
|
|
62
62
|
}
|
|
63
63
|
|
|
64
|
-
export const version = '0.
|
|
64
|
+
export const version = '0.105.1'
|
|
65
65
|
|
|
66
|
-
export const commit = '
|
|
66
|
+
export const commit = '77c17f9'
|
|
67
67
|
|
|
68
|
-
export const date = '2026-08-
|
|
68
|
+
export const date = '2026-08-20T11:05:03.000Z'
|
|
69
69
|
|
|
70
70
|
export const getVersion = () => {
|
|
71
71
|
return version
|
|
@@ -144,6 +144,10 @@ export const getConfigDir = () => {
|
|
|
144
144
|
return configDir
|
|
145
145
|
}
|
|
146
146
|
|
|
147
|
+
export const getConfigUri = () => {
|
|
148
|
+
return pathToFileURL(configDir).toString()
|
|
149
|
+
}
|
|
150
|
+
|
|
147
151
|
export const getConfigJsonPath = () => {
|
|
148
152
|
return GetConfigJsonPath.getConfigJsonPath({
|
|
149
153
|
getStaticPath: StaticPath.getStaticPath,
|
|
@@ -2,5 +2,5 @@ import { join } from 'node:path'
|
|
|
2
2
|
import * as Root from '../Root/Root.js'
|
|
3
3
|
|
|
4
4
|
export const getPreloadUrl = () => {
|
|
5
|
-
return join(Root.root, 'static', '
|
|
5
|
+
return join(Root.root, 'static', '77c17f9', 'packages', 'preload', 'dist', 'index.js')
|
|
6
6
|
}
|