@lvce-editor/shared-process 0.7.11 → 0.8.0

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.
Files changed (27) hide show
  1. package/config/defaultSettings.json +2 -0
  2. package/extensions/builtin.language-basics-elm/src/tokenizeElm.js +276 -6
  3. package/extensions/builtin.theme-atom-one-dark/README.md +10 -0
  4. package/extensions/builtin.theme-atom-one-dark/color-theme.json +154 -0
  5. package/extensions/builtin.theme-atom-one-dark/extension.json +12 -0
  6. package/extensions/builtin.theme-ayu/README.md +10 -0
  7. package/extensions/builtin.theme-ayu/color-theme.json +174 -0
  8. package/extensions/builtin.theme-ayu/extension.json +12 -0
  9. package/extensions/builtin.theme-cobalt2/README.md +18 -0
  10. package/extensions/builtin.theme-cobalt2/color-theme.json +135 -0
  11. package/extensions/builtin.theme-cobalt2/extension.json +12 -0
  12. package/extensions/builtin.theme-high-contrast/README.md +9 -0
  13. package/extensions/builtin.theme-high-contrast/color-theme.json +86 -0
  14. package/extensions/builtin.theme-high-contrast/extension.json +11 -0
  15. package/extensions/builtin.theme-monokai/README.md +10 -0
  16. package/extensions/builtin.theme-monokai/color-theme.json +121 -0
  17. package/extensions/builtin.theme-monokai/extension.json +11 -0
  18. package/extensions/builtin.theme-palenight/README.md +10 -0
  19. package/extensions/builtin.theme-palenight/color-theme.json +161 -0
  20. package/extensions/builtin.theme-palenight/extension.json +12 -0
  21. package/extensions/builtin.theme-slime/README.md +1 -1
  22. package/package.json +3 -3
  23. package/src/parts/ExtensionManagement/ExtensionManagement.ipc.js +1 -0
  24. package/src/parts/ExtensionManagement/ExtensionManagementColorTheme.js +38 -12
  25. package/src/parts/FileSystemWatch/FileSystemWatch.js +6 -0
  26. package/src/parts/ModuleMap/ModuleMap.js +1 -0
  27. package/src/parts/RequiresSocket/RequiresSocket.js +1 -0
@@ -0,0 +1,18 @@
1
+ # Theme Cobalt2
2
+
3
+ ## Contributing
4
+
5
+ ```sh
6
+ git clone git@github.com:lvce-editor/theme-cobalt2.git &&
7
+ cd theme-cobalt2 &&
8
+ npm ci &&
9
+ npm run dev
10
+ ```
11
+
12
+ ## Gitpod
13
+
14
+ [![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/lvce-editor/theme-cobalt2)
15
+
16
+ ## Credits
17
+
18
+ Extension is based on https://github.com/wesbos/cobalt2-vscode by @wesbos (License MIT)
@@ -0,0 +1,135 @@
1
+ {
2
+ "type": "dark",
3
+ "colors": {
4
+ "ActivityBarBackground": "#122738",
5
+ "ActivityBarActiveForeground": "rgb(255, 255, 255)",
6
+ "ActivityBarForeground": "rgba(255, 255, 255, 0.4)",
7
+
8
+ "BadgeBackground": "#ffc600",
9
+ "BadgeForeground": "#000",
10
+
11
+ "ContextMenuBackground": "#122738",
12
+ "ContextMenuForeground": "rgb(255, 255, 255)",
13
+
14
+ "EditorBackGround": "",
15
+ "EditorScrollBarBackground": "rgba(64, 97, 121, 0.8)",
16
+ "EditorCursorBackground": "#ffc600",
17
+ "EditorSelectionBackground": "#0050a4",
18
+
19
+ "FocusOutline": "#0d3a58",
20
+
21
+ "InputBoxBackground": "#193549",
22
+ "InputBoxForeground": "#ffc600",
23
+
24
+ "ListActiveSelectionBackground": "#193549",
25
+ "ListActiveSelectionForeground": "#aaa",
26
+ "ListHoverBackground": "#193549",
27
+ "ListHoverForeground": "#aaa",
28
+ "ListInactiveSelectionBackground": "",
29
+ "ListForeground": "rgb(170, 170, 170)",
30
+
31
+ "MainBackground": "#193549",
32
+
33
+ "MenuBackground": "rgb(18, 39, 56)",
34
+ "MenuItemHoverBackground": "rgb(25, 53, 73)",
35
+
36
+ "PanelBackground": "#122738",
37
+ "PanelBorderTopColor": "#ffc600",
38
+ "PanelTabHoverForeground": "rgb(255, 198, 0)",
39
+ "PanelTabForeground": "rgb(170, 170, 170)",
40
+
41
+ "QuickPickBackground": "rgb(21, 35, 45)",
42
+ "QuickPickInputBackground": "",
43
+
44
+ "SideBarBackground": "#15232d",
45
+
46
+ "StatusBarBackground": "#15232d",
47
+ "StatusBarBorderTopColor": "#0d3a58",
48
+
49
+ "TabActiveForeground": "rgb(255, 255, 255)",
50
+ "TabForeground": "rgb(170, 170, 170)",
51
+ "TabActiveBackground": "rgb(25, 53, 73)",
52
+ "TabInactiveBackground": "",
53
+
54
+ "TabsBackground": "rgb(18, 39, 56)",
55
+
56
+ "TitleBarBackground": "#15232D",
57
+ "TitleBarBorderBottomColor": "",
58
+ "TitleBarColor": "",
59
+ "TitleBarColorInactive": "rgba(204, 204, 204, 0.6)"
60
+ },
61
+ "tokenColors": [
62
+ {
63
+ "name": "CssSelector",
64
+ "foreground": "#3AD900"
65
+ },
66
+ {
67
+ "name": "CssPropertyName",
68
+ "foreground": "#A5FF90"
69
+ },
70
+ {
71
+ "name": "CssPropertyValue",
72
+ "foreground": "#FFEE80"
73
+ },
74
+ {
75
+ "name": "TagName",
76
+ "foreground": "#9EFFFF"
77
+ },
78
+ {
79
+ "name": "AttributeName",
80
+ "foreground": "#FFC600"
81
+ },
82
+ {
83
+ "name": "String",
84
+ "foreground": "#A5FF90"
85
+ },
86
+ {
87
+ "name": "PunctuationString",
88
+ "foreground": "#92FC79"
89
+ },
90
+ {
91
+ "name": "JsonPropertyName",
92
+ "foreground": "#FFC600"
93
+ },
94
+ {
95
+ "name": "LanguageConstant",
96
+ "foreground": "#FF628C"
97
+ },
98
+ {
99
+ "name": "Keyword",
100
+ "foreground": "#FFC600"
101
+ },
102
+ {
103
+ "name": "Numeric",
104
+ "foreground": "#FF628C"
105
+ },
106
+ {
107
+ "name": "KeywordImport",
108
+ "foreground": "#FF9D00"
109
+ },
110
+ {
111
+ "name": "Type",
112
+ "foreground": "#80FFBB"
113
+ },
114
+ {
115
+ "name": "Macro",
116
+ "foreground": "#FF9D00"
117
+ },
118
+ {
119
+ "name": "KeywordControl",
120
+ "foreground": "#FF9D00"
121
+ },
122
+ {
123
+ "name": "Regex",
124
+ "foreground": "#9EFFFF"
125
+ },
126
+ {
127
+ "name": "Function",
128
+ "foreground": "#ffc600"
129
+ },
130
+ {
131
+ "name": "Comment",
132
+ "foreground": "#0088FF"
133
+ }
134
+ ]
135
+ }
@@ -0,0 +1,12 @@
1
+ {
2
+ "id": "builtin.theme-cobalt2",
3
+ "name": "Cobalt 2 Theme",
4
+ "description": "🔥 Official theme by Wes Bos.",
5
+ "colorThemes": [
6
+ {
7
+ "id": "cobalt2",
8
+ "label": "Cobalt 2",
9
+ "path": "color-theme.json"
10
+ }
11
+ ]
12
+ }
@@ -0,0 +1,9 @@
1
+ # Theme High Contrast
2
+
3
+ ## Gitpod
4
+
5
+ [![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/lvce-editor/theme-ayu)
6
+
7
+ ## Credits
8
+
9
+ Extension is based on https://github.com/microsoft/vscode/blob/main/extensions/theme-defaults/themes/hc_black.json by Microsoft (License MIT)
@@ -0,0 +1,86 @@
1
+ {
2
+ "type": "high-contrast",
3
+ "colors": {
4
+ "ActivityBarBackground": "#000000",
5
+ "ActivityBarActiveForeground": "#ffffff",
6
+ "ActivityBarForeground": "#ffffff",
7
+
8
+ "BadgeBackground": "",
9
+ "BadgeForeground": "",
10
+
11
+ "ContextMenuBackground": "",
12
+ "ContextMenuForeground": "",
13
+
14
+ "ContrastBorder": "#6FC3DF",
15
+
16
+ "EditorBackGround": "",
17
+ "EditorScrollBarBackground": "rgba(111, 195, 223, 0.6)",
18
+ "EditorCursorBackground": "#ffffff",
19
+ "EditorSelectionBackground": "#ffffff",
20
+
21
+ "FocusOutline": "",
22
+
23
+ "InputBoxBackground": "",
24
+ "InputBoxForeground": "",
25
+
26
+ "ListActiveSelectionBackground": "#444",
27
+ "ListActiveSelectionForeground": "",
28
+ "ListHoverBackground": "#444",
29
+ "ListHoverForeground": "",
30
+ "ListInactiveSelectionBackground": "",
31
+ "ListForeground": "#ffffff",
32
+
33
+ "MainBackground": "#000000",
34
+
35
+ "PanelBackground": "#000000",
36
+ "PanelBorderTopColor": "",
37
+
38
+ "QuickPickBackground": "#000000",
39
+ "QuickPickInputBackground": "",
40
+
41
+ "SideBarBackground": "#000000",
42
+
43
+ "StatusBarBackground": "#000000",
44
+ "StatusBarBorderTopColor": "",
45
+
46
+ "TabActiveForeground": "rgb(255, 255, 255)",
47
+ "TabForeground": "rgb(255, 255, 255)",
48
+ "TabActiveBackground": "",
49
+ "TabInactiveBackground": "",
50
+
51
+ "TitleBarBackground": "#000000",
52
+ "TitleBarBorderBottomColor": "",
53
+ "TitleBarColor": "",
54
+ "TitleBarColorInactive": ""
55
+ },
56
+ "tokenColors": [
57
+ {
58
+ "name": "CssSelector",
59
+ "foreground": "#3AD900"
60
+ },
61
+ {
62
+ "name": "Type",
63
+ "foreground": "#4EC9B0"
64
+ },
65
+ {
66
+ "name": "Keyword",
67
+ "foreground": "#569CD6"
68
+ },
69
+ {
70
+ "name": "Comment",
71
+ "foreground": "#7CA668"
72
+ },
73
+ {
74
+ "name": "KeywordImport",
75
+ "foreground": "#C586C0"
76
+ },
77
+ {
78
+ "name": "VariableName",
79
+ "foreground": "#9CDCFE"
80
+ },
81
+ {
82
+ "name": "KeywordControl",
83
+ "foreground": "#C586C0"
84
+ }
85
+ ]
86
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "id": "builtin.high-contrast-theme",
3
+ "name": "High Contrast Theme",
4
+ "colorThemes": [
5
+ {
6
+ "id": "high-contrast",
7
+ "label": "High Contrast",
8
+ "path": "color-theme.json"
9
+ }
10
+ ]
11
+ }
@@ -0,0 +1,10 @@
1
+ # Theme Monokai
2
+
3
+ ## Gitpod
4
+
5
+ [![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/lvce-editor/theme-monokai)
6
+
7
+
8
+ ## Credits
9
+
10
+ Extension is based on https://github.com/microsoft/vscode/tree/main/extensions/theme-monokai by Microsoft (License MIT) which itself is based on https://github.com/Colorsublime/Colorsublime-Themes by @Colorsublime (License MIT)
@@ -0,0 +1,121 @@
1
+ {
2
+ "type": "dark",
3
+ "colors": {
4
+ "ActivityBarBackground": "#272822",
5
+ "ActivityBarForeground": "rgba(248, 248, 242, 0.4)",
6
+ "ActivityBarActiveForeground": "#f8f8f2",
7
+
8
+ "BadgeBackground": "rgb(0, 122, 204)",
9
+ "BadgeForeground": "#fff",
10
+
11
+ "MenuBackground": "rgb(30, 31, 28)",
12
+
13
+ "EditorBackGround": "",
14
+ "EditorScrollBarBackground": "",
15
+ "EditorCursorBackground": "white",
16
+ "EditorSelectionBackground": "rgba(135, 139, 145, 0.25)",
17
+
18
+ "InputBackground": "#414339",
19
+
20
+ "ListActiveSelectionBackground": "#414339",
21
+ "ListActiveSelectionForeground": "#fff",
22
+ "ListHoverBackground": "#3e3d32",
23
+ "ListHoverForeground": "",
24
+ "ListInactiveSelectionBackground": "#414339",
25
+ "ListForeground": "rgb(204, 204, 204)",
26
+
27
+ "MainBackground": "#272822",
28
+
29
+ "PanelBackground": "",
30
+ "PanelBorderTopColor": "",
31
+
32
+ "QuickPickBackground": "#1e1f1c",
33
+
34
+ "SideBarBackground": "#1e1f1c",
35
+
36
+ "StatusBarBackground": "#414339",
37
+ "StatusBarBorderTopColor": "",
38
+
39
+ "TabActiveForeground": "white",
40
+ "TabForeground": "rgb(204, 204, 199)",
41
+ "TabActiveBackground": "rgb(39, 40, 34)",
42
+ "TabBackground": "rgb(52, 53, 47)",
43
+
44
+ "TabsBackground": "rgb(30, 31, 28)",
45
+
46
+ "TitleBarBackground": "rgb(30, 31, 28)",
47
+ "TitleBarBorderBottomColor": "",
48
+ "TitleBarColor": "",
49
+ "TitleBarColorInactive": ""
50
+ },
51
+ "tokenColors": [
52
+ {
53
+ "name": "CssSelector",
54
+ "foreground": ""
55
+ },
56
+ {
57
+ "name": "CssPropertyName",
58
+ "foreground": ""
59
+ },
60
+ {
61
+ "name": "CssPropertyValue",
62
+ "foreground": ""
63
+ },
64
+ {
65
+ "name": "TagName",
66
+ "foreground": ""
67
+ },
68
+ {
69
+ "name": "AttributeName",
70
+ "foreground": ""
71
+ },
72
+ {
73
+ "name": "String",
74
+ "foreground": "#CFCFC2"
75
+ },
76
+ {
77
+ "name": "JsonPropertyValueString",
78
+ "foreground": "#CFCFC2"
79
+ },
80
+ {
81
+ "name": "PunctuationString",
82
+ "foreground": ""
83
+ },
84
+ {
85
+ "name": "JsonPropertyName",
86
+ "foreground": "#66D9EF"
87
+ },
88
+ {
89
+ "name": "Numeric",
90
+ "foreground": "#ae81ff"
91
+ },
92
+ {
93
+ "name": "Heading",
94
+ "foreground": "#a6e22e"
95
+ },
96
+ {
97
+ "name": "CssSelector",
98
+ "foreground": "#a6e22e"
99
+ },
100
+ {
101
+ "name": "CssPropertyName",
102
+ "foreground": "#66d9ef"
103
+ },
104
+ {
105
+ "name": "TagName",
106
+ "foreground": "#f92672"
107
+ },
108
+ {
109
+ "name": "AttributeName",
110
+ "foreground": "#a6e22e"
111
+ },
112
+ {
113
+ "name": "Comment",
114
+ "foreground": "#88846f"
115
+ },
116
+ {
117
+ "name": "LanguageConstant",
118
+ "foreground": "#ae81ff"
119
+ }
120
+ ]
121
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "id": "builtin.theme-monokai",
3
+ "name": "Monokai Theme",
4
+ "colorThemes": [
5
+ {
6
+ "id": "monokai",
7
+ "label": "Monokai",
8
+ "path": "color-theme.json"
9
+ }
10
+ ]
11
+ }
@@ -0,0 +1,10 @@
1
+ # Theme Palenight
2
+
3
+ ## Gitpod
4
+
5
+ [![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/lvce-editor/theme-palenight)
6
+
7
+
8
+ ## Credits
9
+
10
+ Extension is based on https://github.com/whizkydee/vscode-palenight-theme by @whizkydee (License MIT)
@@ -0,0 +1,161 @@
1
+ {
2
+ "type": "dark",
3
+ "colors": {
4
+ "ActivityBarBackground": "#282C3D",
5
+ "ActivityBarActiveForeground": "#eeffff",
6
+ "ActivityBarForeground": "rgba(238, 255, 255, 0.4)",
7
+
8
+ "BadgeBackground": "#7e57c2",
9
+ "BadgeForeground": "#ffffff",
10
+
11
+ "ContextMenuBackground": "rgb(41, 45, 62)",
12
+ "ContextMenuForeground": "rgba(255, 255, 255, 0.8)",
13
+
14
+ "EditorBackground": "",
15
+ "EditorScrollBarBackground": "",
16
+ "EditorCursorBackground": "#7e57c2",
17
+ "EditorSelectionBackground": "rgba(117, 128, 184, 0.31)",
18
+
19
+ "FocusOutline": "",
20
+
21
+ "InputBoxForeground": "rgba(255, 255, 255, 0.8)",
22
+
23
+ "ListActiveSelectionBackground": "#7e57c2",
24
+ "ListActiveSelectionForeground": "",
25
+ "ListHoverBackground": "#0000001a",
26
+ "ListHoverForeground": "",
27
+ "ListInactiveSelectionBackground": "",
28
+ "ListForeground": "rgb(255, 255, 255)",
29
+
30
+ "MainBackground": "#292D3E",
31
+
32
+ "MenuBackground": "rgb(41, 45, 62)",
33
+ "MenuItemHoverBackground": "rgb(126, 87, 194)",
34
+
35
+ "PanelBackground": "#292D3E",
36
+ "PanelBorderTopColor": "#282B3C",
37
+
38
+ "QuickPickBackground": "rgb(49, 54, 74)",
39
+
40
+ "SideBarBackground": "#292D3E",
41
+ "SideBarBorder": "#282B3C",
42
+
43
+ "StatusBarBackground": "#282C3D",
44
+ "StatusBarForeground": "",
45
+ "StatusBarBorderTopColor": "",
46
+
47
+ "TabActiveBackground": "rgb(41, 45, 62)",
48
+ "TabActiveForeground": "rgb(238, 255, 255)",
49
+ "TabForeground": "rgb(146, 154, 201)",
50
+ "TabInactiveBackground": "",
51
+
52
+ "TabsBackground": "rgb(49, 54, 74)",
53
+
54
+ "TitleBarBackground": "#292d3e",
55
+ "TitleBarBorderBottomColor": "",
56
+ "TitleBarColor": "",
57
+ "TitleBarColorInactive": "rgba(204, 204, 204, 0.6)"
58
+ },
59
+ "tokenColors": [
60
+ {
61
+ "name": "CssSelector",
62
+ "foreground": ""
63
+ },
64
+ {
65
+ "name": "CssPropertyName",
66
+ "foreground": ""
67
+ },
68
+ {
69
+ "name": "CssPropertyValue",
70
+ "foreground": ""
71
+ },
72
+ {
73
+ "name": "TagName",
74
+ "foreground": ""
75
+ },
76
+ {
77
+ "name": "PunctuationTag",
78
+ "foreground": ""
79
+ },
80
+ {
81
+ "name": "AttributeName",
82
+ "foreground": ""
83
+ },
84
+ {
85
+ "name": "String",
86
+ "foreground": "#c3e88d"
87
+ },
88
+ {
89
+ "name": "PunctuationString",
90
+ "foreground": ""
91
+ },
92
+ {
93
+ "name": "JsonPropertyName",
94
+ "foreground": "#C3E88D"
95
+ },
96
+ {
97
+ "name": "Keyword",
98
+ "foreground": "#C792EA"
99
+ },
100
+ {
101
+ "name": "LanguageConstant",
102
+ "foreground": "#FF5874"
103
+ },
104
+ {
105
+ "name": "VariableName",
106
+ "foreground": "#82AAFF"
107
+ },
108
+ {
109
+ "name": "KeywordImport",
110
+ "foreground": "#C792EA"
111
+ },
112
+ {
113
+ "name": "Macro",
114
+ "foreground": "#C792EA"
115
+ },
116
+ {
117
+ "name": "Comment",
118
+ "foreground": "#697098"
119
+ },
120
+ {
121
+ "name": "Numeric",
122
+ "foreground": "#f78c6c"
123
+ },
124
+ {
125
+ "name": "TagName",
126
+ "foreground": "#ff5572"
127
+ },
128
+ {
129
+ "name": "AttributeName",
130
+ "foreground": "#ffcb6b"
131
+ },
132
+ {
133
+ "name": "Heading",
134
+ "foreground": "#82b1ff"
135
+ },
136
+ {
137
+ "name": "CssPropertyName",
138
+ "foreground": "#80cbc4"
139
+ },
140
+ {
141
+ "name": "CssSelector",
142
+ "foreground": "#ff5572"
143
+ },
144
+ {
145
+ "name": "Query",
146
+ "foreground": "#c792ea"
147
+ },
148
+ {
149
+ "name": "KeywordReturn",
150
+ "foreground": "#C792EA"
151
+ },
152
+ {
153
+ "name": "Text",
154
+ "foreground": "#bfc7d5"
155
+ },
156
+ {
157
+ "name": "JsonPropertyName",
158
+ "foreground": "#80cbc4"
159
+ }
160
+ ]
161
+ }
@@ -0,0 +1,12 @@
1
+ {
2
+ "id": "builtin.theme-palenight",
3
+ "name": "Palenight Theme",
4
+ "description": "An elegant and juicy material-inspired theme for Visual Studio Code.",
5
+ "colorThemes": [
6
+ {
7
+ "id": "palenight",
8
+ "label": "Palenight",
9
+ "path": "color-theme.json"
10
+ }
11
+ ]
12
+ }
@@ -1,4 +1,4 @@
1
- # Theme Monokai
1
+ # Theme Slime
2
2
 
3
3
  ## Credits
4
4
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/shared-process",
3
- "version": "0.7.11",
3
+ "version": "0.8.0",
4
4
  "description": "",
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.7.11",
24
- "@lvce-editor/pty-host": "0.7.11",
23
+ "@lvce-editor/extension-host": "0.8.0",
24
+ "@lvce-editor/pty-host": "0.8.0",
25
25
  "chokidar": "^3.5.3",
26
26
  "debug": "^4.3.4",
27
27
  "execa": "^6.1.0",
@@ -10,6 +10,7 @@ export const Commands = {
10
10
  'ExtensionHost.getIconThemeJson': ExtensionHostIconTheme.getIconTheme,
11
11
  'ExtensionHost.getLanguageConfiguration': ExtensionHostLanguages.getLanguageConfiguration,
12
12
  'ExtensionHost.getLanguages': ExtensionHostLanguages.getLanguages,
13
+ 'ExtensionHost.watchColorTheme':ExtensionHostColorTheme.watch,
13
14
  'ExtensionManagement.disable': ExtensionManagement.disable,
14
15
  'ExtensionManagement.enable': ExtensionManagement.enable,
15
16
  'ExtensionManagement.getAllExtensions': ExtensionManagement.getAllExtensions,