@lvce-editor/shared-process 0.10.6 → 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",
|
|
@@ -514,23 +514,19 @@ const addExtensionLanguages = async ({
|
|
|
514
514
|
Path.join(root, 'README.md'),
|
|
515
515
|
Path.join(root, 'dist', commitHash, 'extensions', extensionId, 'README.md')
|
|
516
516
|
)
|
|
517
|
-
|
|
518
|
-
Path.join(extensionPath,
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
'dist',
|
|
526
|
-
commitHash,
|
|
527
|
-
'extensions',
|
|
528
|
-
extensionId,
|
|
529
|
-
'extension.json'
|
|
530
|
-
)
|
|
531
|
-
)
|
|
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
|
+
}
|
|
532
525
|
const extensionLanguages = []
|
|
533
526
|
for (const language of languages) {
|
|
527
|
+
if (!language.tokenize) {
|
|
528
|
+
continue
|
|
529
|
+
}
|
|
534
530
|
extensionLanguages.push({
|
|
535
531
|
...language,
|
|
536
532
|
tokenize: `${pathPrefix}/${commitHash}/extensions/${extensionId}/${language.tokenize}`,
|