@lvce-editor/shared-process 0.10.5 → 0.10.7
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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lvce-editor/shared-process",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.7",
|
|
4
4
|
"description": "Utility package for @lvce-editor/server",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
"node": ">=16"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@lvce-editor/extension-host": "0.10.
|
|
24
|
-
"@lvce-editor/pty-host": "0.10.
|
|
23
|
+
"@lvce-editor/extension-host": "0.10.7",
|
|
24
|
+
"@lvce-editor/pty-host": "0.10.7",
|
|
25
25
|
"debug": "^4.3.4",
|
|
26
26
|
"execa": "^6.1.0",
|
|
27
27
|
"exit-hook": "^3.1.1",
|
|
@@ -225,13 +225,6 @@ const applyOverrides = async ({ root, commitHash, pathPrefix }) => {
|
|
|
225
225
|
`export {}
|
|
226
226
|
//# sourceMappingURL`
|
|
227
227
|
)
|
|
228
|
-
|
|
229
|
-
await replace(
|
|
230
|
-
Path.join(root, 'dist', commitHash, 'config', 'defaultSettings.json'),
|
|
231
|
-
`"workbench.saveStateOnVisibilityChange": false`,
|
|
232
|
-
`"workbench.saveStateOnVisibilityChange": true`
|
|
233
|
-
)
|
|
234
|
-
|
|
235
228
|
const extensionDirents = await FileSystem.readDir(
|
|
236
229
|
Path.join(
|
|
237
230
|
root,
|
|
@@ -521,23 +514,19 @@ const addExtensionLanguages = async ({
|
|
|
521
514
|
Path.join(root, 'README.md'),
|
|
522
515
|
Path.join(root, 'dist', commitHash, 'extensions', extensionId, 'README.md')
|
|
523
516
|
)
|
|
524
|
-
|
|
525
|
-
Path.join(extensionPath,
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
'dist',
|
|
533
|
-
commitHash,
|
|
534
|
-
'extensions',
|
|
535
|
-
extensionId,
|
|
536
|
-
'extension.json'
|
|
537
|
-
)
|
|
538
|
-
)
|
|
517
|
+
for (const file of ['src', 'data', 'extension.json']) {
|
|
518
|
+
if (await FileSystem.exists(Path.join(extensionPath, file))) {
|
|
519
|
+
await FileSystem.copy(
|
|
520
|
+
Path.join(extensionPath, file),
|
|
521
|
+
Path.join(root, 'dist', commitHash, 'extensions', extensionId, file)
|
|
522
|
+
)
|
|
523
|
+
}
|
|
524
|
+
}
|
|
539
525
|
const extensionLanguages = []
|
|
540
526
|
for (const language of languages) {
|
|
527
|
+
if (!language.tokenize) {
|
|
528
|
+
continue
|
|
529
|
+
}
|
|
541
530
|
extensionLanguages.push({
|
|
542
531
|
...language,
|
|
543
532
|
tokenize: `${pathPrefix}/${commitHash}/extensions/${extensionId}/${language.tokenize}`,
|