@lvce-editor/shared-process 0.116.21 → 0.116.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/package.json
CHANGED
|
@@ -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', 'ade3bcd', 'extensions')
|
|
7
7
|
return builtinExtensionsPath
|
|
8
8
|
}
|
|
@@ -123,9 +123,11 @@ const clean = async (root) => {
|
|
|
123
123
|
/**
|
|
124
124
|
* @param {string} root
|
|
125
125
|
*/
|
|
126
|
-
const copyStaticFiles = async (root, serverStaticPath) => {
|
|
126
|
+
const copyStaticFiles = async (root, serverStaticPath, commitHash) => {
|
|
127
127
|
await FileSystem.copy(serverStaticPath, Path.join(root, 'dist'))
|
|
128
|
-
|
|
128
|
+
const configPath = Path.join(serverStaticPath, '..', 'config.json')
|
|
129
|
+
await FileSystem.copy(configPath, Path.join(root, 'dist', 'config.json'))
|
|
130
|
+
await FileSystem.copy(configPath, Path.join(root, 'dist', commitHash, 'config.json'))
|
|
129
131
|
}
|
|
130
132
|
|
|
131
133
|
export const validateRendererProcessArtifacts = ({ commitHash, root } ) => {
|
|
@@ -717,7 +719,7 @@ export const exportStatic = async ({
|
|
|
717
719
|
console.timeEnd('clean')
|
|
718
720
|
|
|
719
721
|
console.time('copyStaticFiles')
|
|
720
|
-
await copyStaticFiles(root, serverStaticPath)
|
|
722
|
+
await copyStaticFiles(root, serverStaticPath, commitHash)
|
|
721
723
|
console.timeEnd('copyStaticFiles')
|
|
722
724
|
validateRendererProcessArtifacts({ commitHash, root })
|
|
723
725
|
|
|
@@ -56,11 +56,11 @@ export const getSetupName = () => {
|
|
|
56
56
|
return 'Lvce-Setup'
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
export const version = '0.116.
|
|
59
|
+
export const version = '0.116.23'
|
|
60
60
|
|
|
61
|
-
export const commit = '
|
|
61
|
+
export const commit = 'ade3bcd'
|
|
62
62
|
|
|
63
|
-
export const date = '2026-09-
|
|
63
|
+
export const date = '2026-09-22T21:41:55.000Z'
|
|
64
64
|
|
|
65
65
|
export const getVersion = () => {
|
|
66
66
|
return version
|
|
@@ -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', 'ade3bcd', 'packages', 'preload', 'dist', 'index.js')
|
|
6
6
|
}
|