@lvce-editor/shared-process 0.1.0 → 0.2.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/extensions/builtin.language-basics-go/extension.json +3 -2
- package/extensions/builtin.language-basics-plaintext/src/tokenizePlaintext.js +1 -1
- package/extensions/builtin.vscode-icons/icon-theme.json +12 -0
- package/extensions/builtin.vscode-icons/icons/file_type_light_objidconfig.svg +1 -1
- package/extensions/builtin.vscode-icons/icons/file_type_objidconfig.svg +1 -1
- package/extensions/builtin.vscode-icons/icons/file_type_renovate.svg +1 -1
- package/extensions/builtin.vscode-icons/icons/file_type_truffle.svg +1 -0
- package/extensions/builtin.vscode-icons/icons/file_type_unison.svg +1 -0
- package/package.json +3 -3
- package/src/parts/ExtensionManagement/ExtensionManagement.js +3 -2
- package/src/parts/ExtensionManifestStatus/ExtensionManifestStatus.js +3 -0
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"id": "builtin.language-basics-go",
|
|
3
3
|
"name": "Language Basics Go",
|
|
4
|
-
"description": "Provides syntax highlighting and bracket matching in
|
|
4
|
+
"description": "Provides syntax highlighting and bracket matching in Go files.",
|
|
5
5
|
"languages": [
|
|
6
6
|
{
|
|
7
7
|
"id": "go",
|
|
8
8
|
"extensions": [".go"],
|
|
9
|
-
"configuration": "./languageConfiguration.json"
|
|
9
|
+
"configuration": "./languageConfiguration.json",
|
|
10
|
+
"tokenize": "src/tokenizeGo.js"
|
|
10
11
|
}
|
|
11
12
|
]
|
|
12
13
|
}
|
|
@@ -941,6 +941,7 @@
|
|
|
941
941
|
"_f_light_toml": "/icons/file_type_light_toml.svg",
|
|
942
942
|
"_f_tox": "/icons/file_type_tox.svg",
|
|
943
943
|
"_f_travis": "/icons/file_type_travis.svg",
|
|
944
|
+
"_f_truffle": "/icons/file_type_truffle.svg",
|
|
944
945
|
"_f_trunk": "/icons/file_type_trunk.svg",
|
|
945
946
|
"_f_tsconfig": "/icons/file_type_tsconfig.svg",
|
|
946
947
|
"_f_tslint": "/icons/file_type_tslint.svg",
|
|
@@ -956,6 +957,7 @@
|
|
|
956
957
|
"_f_typo3": "/icons/file_type_typo3.svg",
|
|
957
958
|
"_f_unibeautify": "/icons/file_type_unibeautify.svg",
|
|
958
959
|
"_f_light_unibeautify": "/icons/file_type_light_unibeautify.svg",
|
|
960
|
+
"_f_unison": "/icons/file_type_unison.svg",
|
|
959
961
|
"_f_unlicense": "/icons/file_type_unlicense.svg",
|
|
960
962
|
"_f_vagrant": "/icons/file_type_vagrant.svg",
|
|
961
963
|
"_f_vala": "/icons/file_type_vala.svg",
|
|
@@ -1311,9 +1313,11 @@
|
|
|
1311
1313
|
"jest.config.json": "_f_jest",
|
|
1312
1314
|
"jest.config.base.json": "_f_jest",
|
|
1313
1315
|
"jest.config.common.json": "_f_jest",
|
|
1316
|
+
"jest.config.e2e.json": "_f_jest",
|
|
1314
1317
|
"jest.config.ts": "_f_jest",
|
|
1315
1318
|
"jest.config.base.ts": "_f_jest",
|
|
1316
1319
|
"jest.config.common.ts": "_f_jest",
|
|
1320
|
+
"jest.config.e2e.ts": "_f_jest",
|
|
1317
1321
|
"jest.json": "_f_jest",
|
|
1318
1322
|
".jestrc": "_f_jest",
|
|
1319
1323
|
".jestrc.js": "_f_jest",
|
|
@@ -1330,6 +1334,9 @@
|
|
|
1330
1334
|
"jest.config.babel.js": "_f_jest",
|
|
1331
1335
|
"jest.config.babel.cjs": "_f_jest",
|
|
1332
1336
|
"jest.config.babel.mjs": "_f_jest",
|
|
1337
|
+
"jest.config.e2e.js": "_f_jest",
|
|
1338
|
+
"jest.config.e2e.cjs": "_f_jest",
|
|
1339
|
+
"jest.config.e2e.mjs": "_f_jest",
|
|
1333
1340
|
".jpmignore": "_f_jpm",
|
|
1334
1341
|
".jsbeautifyrc": "_f_jsbeautify",
|
|
1335
1342
|
"jsbeautifyrc": "_f_jsbeautify",
|
|
@@ -1662,10 +1669,13 @@
|
|
|
1662
1669
|
".tfignore": "_f_tfs",
|
|
1663
1670
|
"tox.ini": "_f_tox",
|
|
1664
1671
|
".travis.yml": "_f_travis",
|
|
1672
|
+
"truffle-config.js": "_f_truffle",
|
|
1673
|
+
"truffle-config.ts": "_f_truffle",
|
|
1665
1674
|
"trunk.yaml": "_f_trunk",
|
|
1666
1675
|
"tsconfig.json": "_f_tsconfig",
|
|
1667
1676
|
"tsconfig.app.json": "_f_tsconfig",
|
|
1668
1677
|
"tsconfig.base.json": "_f_tsconfig",
|
|
1678
|
+
"tsconfig.build.json": "_f_tsconfig",
|
|
1669
1679
|
"tsconfig.common.json": "_f_tsconfig",
|
|
1670
1680
|
"tsconfig.dev.json": "_f_tsconfig",
|
|
1671
1681
|
"tsconfig.development.json": "_f_tsconfig",
|
|
@@ -3078,6 +3088,7 @@
|
|
|
3078
3088
|
"d.ts": "_f_typescriptdef",
|
|
3079
3089
|
"d.cts": "_f_typescriptdef",
|
|
3080
3090
|
"d.mts": "_f_typescriptdef",
|
|
3091
|
+
"u": "_f_unison",
|
|
3081
3092
|
"vala": "_f_vala",
|
|
3082
3093
|
"css.ts": "_f_vanilla_extract",
|
|
3083
3094
|
"vapi": "_f_vapi",
|
|
@@ -3496,6 +3507,7 @@
|
|
|
3496
3507
|
"twig": "_f_twig",
|
|
3497
3508
|
"typescript": "_f_typescript",
|
|
3498
3509
|
"typoscript": "_f_typo3",
|
|
3510
|
+
"unison": "_f_unison",
|
|
3499
3511
|
"vb": "_f_vb",
|
|
3500
3512
|
"vba": "_f_vba",
|
|
3501
3513
|
"velocity": "_f_velocity",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0
|
|
1
|
+
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 1000 1000" style="enable-background:new 0 0 1000 1000" xml:space="preserve"><style>.st1{fill:#262626}</style><path class="st1" d="M188.36 281.28c-51.78-13.02-94.02-38.55-121.23-87.56 46.12-13.74 89-6.19 131.83 14.73-15.23-32.18-17.91-64.2-7.13-98.1 39.14 16.12 63.93 44.44 75.8 85.06C369.86 119.34 482.3 94.5 605.09 128.1c89.88 24.6 161.26 77.38 213.66 155.45 105.08 156.55 82.11 369.06-53.22 497.88-137.87 131.24-347.13 141.68-495.61 25.54-157.26-122.99-198.07-354.89-81.56-525.69zm17.38 155.01c-2.52 6.01-5.14 10.74-6.53 15.81-12.84 46.97 11.46 93.16 69.99 121.51 121.18 58.7 249.3 55.75 377.65 34.95 62.94-10.2 122.96-31.52 160.77-89.89 16.76-25.88 14.85-53.15 1.1-81.71-201.14 33.95-401.52 30.45-602.98-.67z"/><path d="M205.74 436.29c201.47 31.13 401.84 34.63 602.98.67 13.76 28.55 15.66 55.83-1.1 81.71-37.81 58.37-97.83 79.69-160.77 89.89-128.35 20.8-256.47 23.74-377.65-34.96-58.53-28.35-82.83-74.54-69.99-121.51 1.39-5.07 4.01-9.8 6.53-15.8zm492.94 42.19c-41.78 31.76-87.52 44.63-139.06 38.88 7.9 24.5 22.95 40.93 46.03 48.62 28.27 9.42 53.8 3.22 74.72-18.27 18.35-18.85 23.92-41.89 18.31-69.23zm-257.05 38.86c-51.68 5.85-97.51-7.24-139.15-38.84-5.41 27.03-.09 49.95 17.94 68.75 20.75 21.64 46.21 28.1 74.57 18.92 23.38-7.58 38.6-24.08 46.64-48.83z" style="fill:#00b6c1"/><path class="st1" d="M698.68 478.48c5.61 27.34.04 50.38-18.3 69.22-20.92 21.49-46.45 27.68-74.72 18.27-23.08-7.69-38.13-24.12-46.03-48.62 51.53 5.76 97.26-7.11 139.05-38.87zM441.63 517.34c-8.04 24.75-23.26 41.25-46.65 48.83-28.35 9.18-53.82 2.72-74.57-18.92-18.03-18.8-23.35-41.72-17.94-68.75 41.65 31.59 87.48 44.68 139.16 38.84z"/></svg>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0
|
|
1
|
+
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 1000 1000" style="enable-background:new 0 0 1000 1000" xml:space="preserve"><style>.st3{fill:#d2d2d2}</style><path d="M188.36 281.28c-51.78-13.02-94.02-38.55-121.23-87.56 46.12-13.74 89-6.19 131.83 14.73-15.23-32.18-17.91-64.2-7.13-98.1 39.14 16.12 63.93 44.44 75.8 85.06C369.86 119.34 482.3 94.5 605.09 128.1c89.88 24.6 161.26 77.38 213.66 155.45 105.08 156.55 82.11 369.06-53.22 497.88-137.87 131.24-347.13 141.68-495.61 25.54-157.26-122.99-198.07-354.89-81.56-525.69zm17.38 155.01c-2.52 6.01-5.14 10.74-6.53 15.81-12.84 46.97 11.46 93.16 69.99 121.51 121.18 58.7 249.3 55.75 377.65 34.95 62.94-10.2 122.96-31.52 160.77-89.89 16.76-25.88 14.85-53.15 1.1-81.71-201.14 33.95-401.52 30.45-602.98-.67z" style="fill:#00b7c3"/><path class="st3" d="M698.68 478.48c5.61 27.34.04 50.38-18.3 69.22-20.92 21.49-46.45 27.68-74.72 18.27-23.08-7.69-38.13-24.12-46.03-48.62 51.53 5.76 97.26-7.11 139.05-38.87zM441.63 517.34c-8.04 24.75-23.26 41.25-46.65 48.83-28.35 9.18-53.82 2.72-74.57-18.92-18.03-18.8-23.35-41.72-17.94-68.75 41.65 31.59 87.48 44.68 139.16 38.84z"/></svg>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><title>file_type_renovate</title><circle cx="16" cy="16" r="14"
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><title>file_type_renovate</title><circle cx="16" cy="16" r="14" fill="#007fa0"/><path d="M21.052 21.433l-2.889-2.889a1.293 1.293 0 010-1.829l4.28-4.28a.375.375 0 000-.53l-1.577-1.577a.374.374 0 00-.53 0l-.963.963-.65-.649.963-.963a1.293 1.293 0 011.829 0l1.577 1.577a1.3 1.3 0 010 1.829l-4.28 4.279a.377.377 0 000 .53l2.89 2.889z" fill="#fff"/><path d="M24.738 23.879l-.59.59a.833.833 0 01-1.179 0l-3.538-3.538a.833.833 0 010-1.179l.59-.59a.835.835 0 011.179 0l3.538 3.538a.835.835 0 010 1.179z" fill="#007fa0"/><path fill="#fff" d="M8.15 16.019l1.36-1.36 1.359 1.36-1.36 1.359z"/><path d="M18.679 9.566l1.769 1.769a.833.833 0 010 1.179l-7.665 7.666a.835.835 0 01-1.179 0l-1.769-1.769a.834.834 0 010-1.18L17.5 9.566a.835.835 0 011.179 0zM9.51 14.66l1.359-1.36 1.359 1.36-1.36 1.359z" fill="#3cb6b0"/><path fill="#fff" d="M10.85 13.32l1.36-1.358 1.359 1.359-1.36 1.359z"/><path fill="#3cb6b0" d="M12.21 11.96l1.359-1.359 1.359 1.36-1.36 1.358z"/><path fill="#fff" d="M14.928 9.242l1.359-1.359 1.359 1.36-1.36 1.358z"/><path fill="#3cb6b0" d="M6.791 14.66l1.36-1.359 1.358 1.36-1.359 1.358zM9.491 11.96l1.36-1.36 1.358 1.36-1.359 1.359zM12.21 9.241l1.359-1.359 1.359 1.36-1.36 1.358z"/><path fill="#3cb6b0" d="M13.568 7.882l1.36-1.36 1.358 1.36-1.359 1.359zM8.132 10.6l1.36-1.358L10.85 10.6 9.491 11.96z"/><path fill="#3cb6b0" d="M12.21 6.523l1.36-1.36 1.358 1.36-1.359 1.359zM4.073 11.942l1.359-1.36 1.359 1.36L5.43 13.3zM8.132 7.882L9.49 6.523l1.359 1.36L9.49 9.24z"/><path d="M12.194 20.791a1.194 1.194 0 01-.85-.352L9.575 18.67a1.2 1.2 0 010-1.7l7.665-7.664a1.2 1.2 0 011.7 0l1.769 1.769a1.2 1.2 0 010 1.7l-7.665 7.665a1.194 1.194 0 01-.85.351zm5.9-11.1a.463.463 0 00-.33.136L10.1 17.491a.466.466 0 000 .66l1.769 1.769a.467.467 0 00.659 0l7.666-7.665a.468.468 0 000-.66L18.42 9.826a.464.464 0 00-.33-.136z" fill="#007fa0"/><path d="M23.559 25.081a1.194 1.194 0 01-.85-.352l-3.538-3.538a1.2 1.2 0 010-1.7l.59-.589a1.2 1.2 0 011.7 0L25 22.44a1.2 1.2 0 010 1.7l-.59.59a1.194 1.194 0 01-.851.351zm-2.949-5.795a.462.462 0 00-.329.136l-.59.59a.467.467 0 000 .66l3.538 3.537a.465.465 0 00.659 0l.59-.589a.467.467 0 000-.66l-3.538-3.538a.464.464 0 00-.33-.136z" fill="#fff"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path d="M16,2.25a13.79,13.79,0,0,1,0,27.58A13.71,13.71,0,0,1,2.34,16,13.71,13.71,0,0,1,16,2.25" style="fill:#5e464d"/><path d="M11.68,28.27c.55.19,2.43.8,2.51.21,0-.33-.94-.67-2.28-1.37a21.58,21.58,0,0,1-5.17-3.82,11.87,11.87,0,0,1-3.55-8.24,11.7,11.7,0,0,1,4.2-9.72A13.74,13.74,0,0,0,2,15.88a12.87,12.87,0,0,0,2.35,7.87A9.12,9.12,0,0,0,6.1,25.44a21.25,21.25,0,0,0,5.58,2.83" style="fill:#fff"/><path d="M29.85,12.87c-.85-4-3.47-6.76-7-8.72,2.69,1.91,6.47,6,4.24,9.57-1.89,2.87-6.49,2.31-9,.95-3-1.63-6.72-5.27-3-8.84,2.38-2.3,10,.28,8.65,3.73-.78,2-3.82,1.56-5.19.58a3,3,0,0,1-1.4-3.25c.14-.42.12-1-.46-.58a2.33,2.33,0,0,0-.73,1.46c-.63,4.5,7.37,8,9.75,3.63,1.23-2.25-.77-5.53-3.28-6.87A11.12,11.12,0,0,0,16.14,3c-3.86.28-7.09,2.69-7.49,6.63s2.21,7.44,5.29,9.55c3.24,2.22,7.6,3.67,11.58,2.35,3.58-1.18,5.05-5.28,4.33-8.63" style="fill:#fff"/><path d="M24.76,9.84c.38-2.58-2-4.35-4.1-5.15-2.53-1-5.88-.53-7.73,1.57-1.36,1.54-1.26,3.78-.57,5.59a9.56,9.56,0,0,0,6.2,5.57,11,11,0,0,0,6.34.23c2.91-.94,3.85-4,3.25-6.74a8.11,8.11,0,0,0-.59-1.74c-.36-.77-1.49-2.33.06-.43a7.66,7.66,0,0,1,.45.66,7.24,7.24,0,0,1,.75,1.68,6.21,6.21,0,0,1-2.16,7.18,8.88,8.88,0,0,1-6.17,1,11.66,11.66,0,0,1-7.26-3.93c-1.67-2-2.81-4.82-2.12-7.43A5.8,5.8,0,0,1,15,4a8.71,8.71,0,0,1,7,.82,6.36,6.36,0,0,1,2.56,2.58A4,4,0,0,1,25,9a3,3,0,0,1,0,.67c0,.08-.19.31-.16.12" style="fill:#3fe0c5"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><title>tyle_type_unison</title><circle cx="16" cy="16" r="14" style="fill:#c6ffde"/><path d="M23.44,12.06a.48.48,0,0,1-.68.68.47.47,0,0,1-.14-.33.48.48,0,0,1,.48-.48.51.51,0,0,1,.34.13ZM20.5,10.53a5.53,5.53,0,0,1,1.05.32.47.47,0,0,1,.25.61.46.46,0,0,1-.43.29l-.18,0h0a4.1,4.1,0,0,0-.86-.27h0a4.31,4.31,0,0,0-.88-.09h0a1.88,1.88,0,0,1-1.62-.94h0A4.84,4.84,0,0,0,16.6,9.05a4.65,4.65,0,0,0-6.54.87.49.49,0,0,1-.37.18.47.47,0,0,1-.47-.47.42.42,0,0,1,.1-.28v0A5.72,5.72,0,0,1,11,7.9,5.58,5.58,0,0,1,18.6,10h0a.91.91,0,0,0,.78.46h0a5.68,5.68,0,0,1,1.09.11Zm-11.58,6v0a.94.94,0,0,0,0-.92v0a5.61,5.61,0,0,1-.55-4.24A.46.46,0,0,1,8.82,11a.48.48,0,0,1,.47.47.5.5,0,0,1,0,.12,4.68,4.68,0,0,0,.46,3.53v0a1.83,1.83,0,0,1,0,1.84l0,0a4.73,4.73,0,0,0-.57,1.71,4.66,4.66,0,0,0,4,5.24h0a.47.47,0,0,1,.4.47v.06a.48.48,0,0,1-.52.4h0a5.77,5.77,0,0,1-2.07-.7A5.61,5.61,0,0,1,8.92,16.52Zm.81.55,0,0h0Zm5.49,7.7a.48.48,0,0,1-.59-.34.47.47,0,0,1,.34-.58l.12,0a.48.48,0,0,1,.13.94Zm4.23-3.15a.93.93,0,0,0-.8.46h0A5.75,5.75,0,0,1,18,23h0l0,0a5.36,5.36,0,0,1-.78.73.47.47,0,0,1-.66-.08.47.47,0,0,1,.09-.66,4.29,4.29,0,0,0,.66-.62h0l0,0a5.11,5.11,0,0,0,.51-.71v0a1.86,1.86,0,0,1,1.62-.93,4.62,4.62,0,0,0,1.79-.36,4.68,4.68,0,0,0,2.53-6.1h0a.58.58,0,0,1,0-.18.47.47,0,0,1,.47-.46.46.46,0,0,1,.43.28,5.61,5.61,0,0,1-5.18,7.76ZM19,12.34l.37,0h0a3.73,3.73,0,0,1,0,7.46,2.75,2.75,0,0,1-.41,0,1.86,1.86,0,0,0-1.83,1.06A3.75,3.75,0,0,1,10,19.32a3.71,3.71,0,0,1,.74-2.23,1.85,1.85,0,0,0,0-2.09l-.13-.19a3.69,3.69,0,0,1-.59-2,3.74,3.74,0,0,1,7.16-1.5A1.87,1.87,0,0,0,19,12.34Zm-7.58,8.43a2.78,2.78,0,0,0,2.41,1.41,2.83,2.83,0,0,0,0-5.65,2.71,2.71,0,0,0-1.39.38A2.85,2.85,0,0,0,11.42,20.77ZM17,17.47a2.78,2.78,0,0,0,2.41,1.41,2.83,2.83,0,0,0,0-5.65,2.71,2.71,0,0,0-1.39.38A2.85,2.85,0,0,0,17,17.47Zm-3.16-1.89a2.83,2.83,0,1,0-2.78-2.83h0a2.82,2.82,0,0,0,2.78,2.83Z" style="fill:#27ae60;fill-rule:evenodd"/></svg>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lvce-editor/shared-process",
|
|
3
|
-
"version": "0.1
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -38,8 +38,8 @@
|
|
|
38
38
|
"verror": "^1.10.1",
|
|
39
39
|
"ws": "^8.8.1",
|
|
40
40
|
"xdg-basedir": "^5.1.0",
|
|
41
|
-
"@lvce-editor/pty-host": "0.1
|
|
42
|
-
"@lvce-editor/extension-host": "0.1
|
|
41
|
+
"@lvce-editor/pty-host": "0.2.1",
|
|
42
|
+
"@lvce-editor/extension-host": "0.2.1"
|
|
43
43
|
},
|
|
44
44
|
"optionalDependencies": {
|
|
45
45
|
"electron-clipboard-ex": "^1.3.3",
|
|
@@ -8,6 +8,7 @@ import * as ReadJson from '../JsonFile/JsonFile.js'
|
|
|
8
8
|
import * as Path from '../Path/Path.js'
|
|
9
9
|
import * as Platform from '../Platform/Platform.js'
|
|
10
10
|
import * as Queue from '../Queue/Queue.js'
|
|
11
|
+
import * as ExtensionManifestStatus from '../ExtensionManifestStatus/ExtensionManifestStatus.js'
|
|
11
12
|
|
|
12
13
|
const isLanguageBasics = (extension) => {
|
|
13
14
|
if (extension && extension.id) {
|
|
@@ -203,13 +204,13 @@ const getExtensionManifest = async (path) => {
|
|
|
203
204
|
return {
|
|
204
205
|
...json,
|
|
205
206
|
path,
|
|
206
|
-
status:
|
|
207
|
+
status: ExtensionManifestStatus.Resolved,
|
|
207
208
|
}
|
|
208
209
|
} catch (error) {
|
|
209
210
|
const id = inferExtensionId(path)
|
|
210
211
|
return {
|
|
211
212
|
path,
|
|
212
|
-
status:
|
|
213
|
+
status: ExtensionManifestStatus.Rejected,
|
|
213
214
|
reason: new VError(
|
|
214
215
|
error,
|
|
215
216
|
`Failed to load extension "${id}": Failed to load extension manifest`
|