@opensumi/ide-startup 2.21.6 → 2.21.7-rc-1669799333.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.
package/package.json CHANGED
@@ -1,8 +1,9 @@
1
1
  {
2
2
  "name": "@opensumi/ide-startup",
3
- "version": "2.21.6",
3
+ "version": "2.21.7-rc-1669799333.0",
4
4
  "files": [
5
- "lib"
5
+ "lib",
6
+ "src"
6
7
  ],
7
8
  "license": "MIT",
8
9
  "main": "lib/index.js",
@@ -58,55 +59,55 @@
58
59
  "delay": "2000"
59
60
  },
60
61
  "dependencies": {
61
- "@opensumi/ide-addons": "2.21.6",
62
- "@opensumi/ide-collaboration": "2.21.6",
63
- "@opensumi/ide-comments": "2.21.6",
64
- "@opensumi/ide-core-browser": "2.21.6",
65
- "@opensumi/ide-core-common": "2.21.6",
66
- "@opensumi/ide-core-node": "2.21.6",
67
- "@opensumi/ide-debug": "2.21.6",
68
- "@opensumi/ide-decoration": "2.21.6",
69
- "@opensumi/ide-editor": "2.21.6",
70
- "@opensumi/ide-explorer": "2.21.6",
71
- "@opensumi/ide-extension": "2.21.6",
72
- "@opensumi/ide-extension-manager": "2.21.6",
73
- "@opensumi/ide-extension-storage": "2.21.6",
74
- "@opensumi/ide-file-scheme": "2.21.6",
75
- "@opensumi/ide-file-search": "2.21.6",
76
- "@opensumi/ide-file-service": "2.21.6",
77
- "@opensumi/ide-file-tree-next": "2.21.6",
78
- "@opensumi/ide-i18n": "2.21.6",
79
- "@opensumi/ide-keymaps": "2.21.6",
80
- "@opensumi/ide-logs": "2.21.6",
81
- "@opensumi/ide-main-layout": "2.21.6",
82
- "@opensumi/ide-markdown": "2.21.6",
83
- "@opensumi/ide-markers": "2.21.6",
84
- "@opensumi/ide-menu-bar": "2.21.6",
85
- "@opensumi/ide-monaco": "2.21.6",
86
- "@opensumi/ide-monaco-enhance": "2.21.6",
87
- "@opensumi/ide-opened-editor": "2.21.6",
88
- "@opensumi/ide-outline": "2.21.6",
89
- "@opensumi/ide-output": "2.21.6",
90
- "@opensumi/ide-overlay": "2.21.6",
91
- "@opensumi/ide-preferences": "2.21.6",
92
- "@opensumi/ide-process": "2.21.6",
93
- "@opensumi/ide-quick-open": "2.21.6",
94
- "@opensumi/ide-remote-opener": "2.21.6",
95
- "@opensumi/ide-scm": "2.21.6",
96
- "@opensumi/ide-search": "2.21.6",
97
- "@opensumi/ide-static-resource": "2.21.6",
98
- "@opensumi/ide-status-bar": "2.21.6",
99
- "@opensumi/ide-storage": "2.21.6",
100
- "@opensumi/ide-task": "2.21.6",
101
- "@opensumi/ide-terminal-next": "2.21.6",
102
- "@opensumi/ide-testing": "2.21.6",
103
- "@opensumi/ide-theme": "2.21.6",
104
- "@opensumi/ide-toolbar": "2.21.6",
105
- "@opensumi/ide-userstorage": "2.21.6",
106
- "@opensumi/ide-variable": "2.21.6",
107
- "@opensumi/ide-webview": "2.21.6",
108
- "@opensumi/ide-workspace": "2.21.6",
109
- "@opensumi/ide-workspace-edit": "2.21.6",
62
+ "@opensumi/ide-addons": "2.21.7-rc-1669799333.0",
63
+ "@opensumi/ide-collaboration": "2.21.7-rc-1669799333.0",
64
+ "@opensumi/ide-comments": "2.21.7-rc-1669799333.0",
65
+ "@opensumi/ide-core-browser": "2.21.7-rc-1669799333.0",
66
+ "@opensumi/ide-core-common": "2.21.7-rc-1669799333.0",
67
+ "@opensumi/ide-core-node": "2.21.7-rc-1669799333.0",
68
+ "@opensumi/ide-debug": "2.21.7-rc-1669799333.0",
69
+ "@opensumi/ide-decoration": "2.21.7-rc-1669799333.0",
70
+ "@opensumi/ide-editor": "2.21.7-rc-1669799333.0",
71
+ "@opensumi/ide-explorer": "2.21.7-rc-1669799333.0",
72
+ "@opensumi/ide-extension": "2.21.7-rc-1669799333.0",
73
+ "@opensumi/ide-extension-manager": "2.21.7-rc-1669799333.0",
74
+ "@opensumi/ide-extension-storage": "2.21.7-rc-1669799333.0",
75
+ "@opensumi/ide-file-scheme": "2.21.7-rc-1669799333.0",
76
+ "@opensumi/ide-file-search": "2.21.7-rc-1669799333.0",
77
+ "@opensumi/ide-file-service": "2.21.7-rc-1669799333.0",
78
+ "@opensumi/ide-file-tree-next": "2.21.7-rc-1669799333.0",
79
+ "@opensumi/ide-i18n": "2.21.7-rc-1669799333.0",
80
+ "@opensumi/ide-keymaps": "2.21.7-rc-1669799333.0",
81
+ "@opensumi/ide-logs": "2.21.7-rc-1669799333.0",
82
+ "@opensumi/ide-main-layout": "2.21.7-rc-1669799333.0",
83
+ "@opensumi/ide-markdown": "2.21.7-rc-1669799333.0",
84
+ "@opensumi/ide-markers": "2.21.7-rc-1669799333.0",
85
+ "@opensumi/ide-menu-bar": "2.21.7-rc-1669799333.0",
86
+ "@opensumi/ide-monaco": "2.21.7-rc-1669799333.0",
87
+ "@opensumi/ide-monaco-enhance": "2.21.7-rc-1669799333.0",
88
+ "@opensumi/ide-opened-editor": "2.21.7-rc-1669799333.0",
89
+ "@opensumi/ide-outline": "2.21.7-rc-1669799333.0",
90
+ "@opensumi/ide-output": "2.21.7-rc-1669799333.0",
91
+ "@opensumi/ide-overlay": "2.21.7-rc-1669799333.0",
92
+ "@opensumi/ide-preferences": "2.21.7-rc-1669799333.0",
93
+ "@opensumi/ide-process": "2.21.7-rc-1669799333.0",
94
+ "@opensumi/ide-quick-open": "2.21.7-rc-1669799333.0",
95
+ "@opensumi/ide-remote-opener": "2.21.7-rc-1669799333.0",
96
+ "@opensumi/ide-scm": "2.21.7-rc-1669799333.0",
97
+ "@opensumi/ide-search": "2.21.7-rc-1669799333.0",
98
+ "@opensumi/ide-static-resource": "2.21.7-rc-1669799333.0",
99
+ "@opensumi/ide-status-bar": "2.21.7-rc-1669799333.0",
100
+ "@opensumi/ide-storage": "2.21.7-rc-1669799333.0",
101
+ "@opensumi/ide-task": "2.21.7-rc-1669799333.0",
102
+ "@opensumi/ide-terminal-next": "2.21.7-rc-1669799333.0",
103
+ "@opensumi/ide-testing": "2.21.7-rc-1669799333.0",
104
+ "@opensumi/ide-theme": "2.21.7-rc-1669799333.0",
105
+ "@opensumi/ide-toolbar": "2.21.7-rc-1669799333.0",
106
+ "@opensumi/ide-userstorage": "2.21.7-rc-1669799333.0",
107
+ "@opensumi/ide-variable": "2.21.7-rc-1669799333.0",
108
+ "@opensumi/ide-webview": "2.21.7-rc-1669799333.0",
109
+ "@opensumi/ide-workspace": "2.21.7-rc-1669799333.0",
110
+ "@opensumi/ide-workspace-edit": "2.21.7-rc-1669799333.0",
110
111
  "@opensumi/textmate-languages": "^2.6.1"
111
112
  },
112
113
  "devDependencies": {
@@ -144,5 +145,5 @@
144
145
  "webpack-cli": "^3.3.1",
145
146
  "webpack-dev-server": "3.8.0"
146
147
  },
147
- "gitHead": "a34917dfa6d851e067a431ad700812e58e8cc8a8"
148
+ "gitHead": "b26aeeab3c258a76bb1de8b1c45ac44ea67c8f31"
148
149
  }
@@ -0,0 +1,92 @@
1
+ import { ClientAddonModule } from '@opensumi/ide-addons/lib/browser';
2
+ import { CommentsModule } from '@opensumi/ide-comments/lib/browser';
3
+ import { ClientCommonModule, BrowserModule, ConstructorOf } from '@opensumi/ide-core-browser';
4
+ import { DebugModule } from '@opensumi/ide-debug/lib/browser';
5
+ import { DecorationModule } from '@opensumi/ide-decoration/lib/browser';
6
+ import { EditorModule } from '@opensumi/ide-editor/lib/browser';
7
+ import { ExplorerModule } from '@opensumi/ide-explorer/lib/browser';
8
+ import { OpenVsxExtensionManagerModule } from '@opensumi/ide-extension-manager/lib/browser';
9
+ import { ExtensionStorageModule } from '@opensumi/ide-extension-storage/lib/browser';
10
+ import { ExtensionModule } from '@opensumi/ide-extension/lib/browser';
11
+ import { FileSchemeModule } from '@opensumi/ide-file-scheme/lib/browser';
12
+ import { FileServiceClientModule } from '@opensumi/ide-file-service/lib/browser';
13
+ import { FileTreeNextModule } from '@opensumi/ide-file-tree-next/lib/browser';
14
+ import { KeymapsModule } from '@opensumi/ide-keymaps/lib/browser';
15
+ import { LogModule } from '@opensumi/ide-logs/lib/browser';
16
+ import { MainLayoutModule } from '@opensumi/ide-main-layout/lib/browser';
17
+ // import { Terminal2Module } from '@opensumi/ide-terminal2/lib/browser';
18
+ import { MarkdownModule } from '@opensumi/ide-markdown';
19
+ import { MarkersModule } from '@opensumi/ide-markers/lib/browser';
20
+ import { MenuBarModule } from '@opensumi/ide-menu-bar/lib/browser';
21
+ import { MonacoEnhanceModule } from '@opensumi/ide-monaco-enhance/lib/browser/module';
22
+ import { MonacoModule } from '@opensumi/ide-monaco/lib/browser';
23
+ import { OpenedEditorModule } from '@opensumi/ide-opened-editor/lib/browser';
24
+ import { OutlineModule } from '@opensumi/ide-outline/lib/browser';
25
+ import { OutputModule } from '@opensumi/ide-output/lib/browser';
26
+ import { OverlayModule } from '@opensumi/ide-overlay/lib/browser';
27
+ import { PreferencesModule } from '@opensumi/ide-preferences/lib/browser';
28
+ import { QuickOpenModule } from '@opensumi/ide-quick-open/lib/browser';
29
+ import { SCMModule } from '@opensumi/ide-scm/lib/browser';
30
+ import { SearchModule } from '@opensumi/ide-search/lib/browser';
31
+ import { StaticResourceModule } from '@opensumi/ide-static-resource/lib/browser';
32
+ import { StatusBarModule } from '@opensumi/ide-status-bar/lib/browser';
33
+ import { StorageModule } from '@opensumi/ide-storage/lib/browser';
34
+ import { TaskModule } from '@opensumi/ide-task/lib/browser';
35
+ import { TerminalNextModule } from '@opensumi/ide-terminal-next/lib/browser';
36
+ import { TestingModule } from '@opensumi/ide-testing/lib/browser';
37
+ import { ThemeModule } from '@opensumi/ide-theme/lib/browser';
38
+ import { ToolbarModule } from '@opensumi/ide-toolbar/lib/browser';
39
+ import { VariableModule } from '@opensumi/ide-variable/lib/browser';
40
+ import { WebviewModule } from '@opensumi/ide-webview';
41
+ import { WorkspaceEditModule } from '@opensumi/ide-workspace-edit/lib/browser';
42
+ import { WorkspaceModule } from '@opensumi/ide-workspace/lib/browser';
43
+
44
+ export const CommonBrowserModules: ConstructorOf<BrowserModule>[] = [
45
+ MainLayoutModule,
46
+ OverlayModule,
47
+ LogModule,
48
+ ClientCommonModule,
49
+ MenuBarModule,
50
+ MonacoModule,
51
+ StatusBarModule,
52
+ EditorModule,
53
+ ExplorerModule,
54
+ FileTreeNextModule,
55
+ FileServiceClientModule,
56
+ StaticResourceModule,
57
+ SearchModule,
58
+ FileSchemeModule,
59
+ OutputModule,
60
+ QuickOpenModule,
61
+ MarkersModule,
62
+
63
+ ThemeModule,
64
+ WorkspaceModule,
65
+ ExtensionStorageModule,
66
+ StorageModule,
67
+ OpenedEditorModule,
68
+ OutlineModule,
69
+ PreferencesModule,
70
+ ToolbarModule,
71
+ WebviewModule,
72
+ MarkdownModule,
73
+ WorkspaceEditModule,
74
+ SCMModule,
75
+ DecorationModule,
76
+ DebugModule,
77
+ VariableModule,
78
+ KeymapsModule,
79
+ TerminalNextModule,
80
+
81
+ // Extension Modules
82
+ ExtensionModule,
83
+ // FeatureExtensionModule,
84
+ OpenVsxExtensionManagerModule,
85
+ MonacoEnhanceModule,
86
+
87
+ // addons
88
+ ClientAddonModule,
89
+ CommentsModule,
90
+ TaskModule,
91
+ TestingModule,
92
+ ];
@@ -0,0 +1,14 @@
1
+ import React from 'react';
2
+
3
+ import { ReactEditorComponent } from '@opensumi/ide-editor/lib/browser';
4
+
5
+ export const ExampleEditorBottomWidget: ReactEditorComponent<any> = ({ resource }) => (
6
+ <div
7
+ style={{
8
+ border: '1px solid var(--foreground)',
9
+ padding: '5px 10px',
10
+ }}
11
+ >
12
+ Example Bottom Widget for File Uri: {resource.uri.toString()}
13
+ </div>
14
+ );
@@ -0,0 +1,38 @@
1
+ import React from 'react';
2
+
3
+ export const ExamplePopover = () => {
4
+ const imgUrl = 'https://gw-office.alipayobjects.com/bmw-prod/f81b277b-5227-483d-9c1c-43f105bcf048.png';
5
+
6
+ return (
7
+ <div
8
+ style={{
9
+ width: '200px',
10
+ height: '200px',
11
+ display: 'flex',
12
+ justifyContent: 'center',
13
+ alignItems: 'center',
14
+ }}
15
+ onContextMenu={(e) => {
16
+ e.preventDefault();
17
+ navigator.clipboard.writeText(imgUrl).then(
18
+ function () {
19
+ /* clipboard successfully set */
20
+ alert('图片地址已复制');
21
+ },
22
+ function () {
23
+ /* clipboard write failed */
24
+ },
25
+ );
26
+ }}
27
+ >
28
+ <img
29
+ style={{
30
+ width: '150px',
31
+ height: '150px',
32
+ display: 'block',
33
+ }}
34
+ src={imgUrl}
35
+ ></img>
36
+ </div>
37
+ );
38
+ };
@@ -0,0 +1,9 @@
1
+ import { Provider, Injectable } from '@opensumi/di';
2
+ import { BrowserModule } from '@opensumi/ide-core-browser';
3
+
4
+ import { StartupContribution } from './startup.contribution';
5
+
6
+ @Injectable()
7
+ export class StartupModule extends BrowserModule {
8
+ providers: Provider[] = [StartupContribution];
9
+ }
@@ -0,0 +1,262 @@
1
+ /* eslint-disable no-console */
2
+ import { Autowired } from '@opensumi/di';
3
+ import {
4
+ KeybindingContribution,
5
+ KeybindingRegistry,
6
+ Logger,
7
+ ClientAppContribution,
8
+ IToolbarRegistry,
9
+ ToolBarActionContribution,
10
+ createToolbarActionBtn,
11
+ createToolbarActionSelect,
12
+ } from '@opensumi/ide-core-browser';
13
+ import { getIcon } from '@opensumi/ide-core-browser';
14
+ import { ComponentContribution, ComponentRegistry } from '@opensumi/ide-core-browser/lib/layout';
15
+ import { MenuContribution, IMenuRegistry, MenuId } from '@opensumi/ide-core-browser/lib/menu/next';
16
+ import { IStatusBarService } from '@opensumi/ide-core-browser/lib/services';
17
+ import { CommandContribution, CommandRegistry, IEventBus, CommandService, Schemes } from '@opensumi/ide-core-common';
18
+ import { Domain } from '@opensumi/ide-core-common/lib/di-helper';
19
+ import { BrowserEditorContribution, EditorComponentRegistry } from '@opensumi/ide-editor/lib/browser';
20
+ import { OutputService } from '@opensumi/ide-output/lib/browser/output.service';
21
+ import { ISCMProvider } from '@opensumi/ide-scm';
22
+
23
+ import { ExampleEditorBottomWidget } from './editor-bottom-example';
24
+ import { ExamplePopover } from './exmaple-popover';
25
+
26
+ @Domain(
27
+ ClientAppContribution,
28
+ CommandContribution,
29
+ KeybindingContribution,
30
+ ComponentContribution,
31
+ ToolBarActionContribution,
32
+ MenuContribution,
33
+ BrowserEditorContribution,
34
+ )
35
+ export class StartupContribution
36
+ implements
37
+ CommandContribution,
38
+ KeybindingContribution,
39
+ ClientAppContribution,
40
+ ComponentContribution,
41
+ ToolBarActionContribution,
42
+ MenuContribution,
43
+ BrowserEditorContribution
44
+ {
45
+ @Autowired(IEventBus)
46
+ eventBus: IEventBus;
47
+
48
+ @Autowired(IStatusBarService)
49
+ statusBar: IStatusBarService;
50
+
51
+ @Autowired(OutputService)
52
+ outputService: OutputService;
53
+
54
+ @Autowired()
55
+ logger: Logger;
56
+
57
+ @Autowired(IToolbarRegistry)
58
+ toolbarRegistry: IToolbarRegistry;
59
+
60
+ @Autowired(CommandService)
61
+ private readonly commandService: CommandService;
62
+
63
+ onStart() {}
64
+
65
+ registerEditorComponent(registry: EditorComponentRegistry) {
66
+ registry.registerEditorSideWidget({
67
+ id: 'example-bottom',
68
+ component: ExampleEditorBottomWidget,
69
+ displaysOnResource: (r) => r.uri.scheme === Schemes.file,
70
+ });
71
+ }
72
+
73
+ registerComponent(registry: ComponentRegistry) {}
74
+
75
+ registerCommands(commands: CommandRegistry): void {
76
+ commands.registerCommand(
77
+ {
78
+ id: 'gitCommitAndPush',
79
+ },
80
+ {
81
+ execute: async (provider: ISCMProvider, commitMsg: string) => {
82
+ // 强依赖了 git 插件的命令
83
+ const mergeChanges = provider.groups.elements.filter((n) => n.id === 'merge');
84
+ if (mergeChanges.length > 0) {
85
+ // console.log('有冲突尚未解决,请先解决');
86
+ return;
87
+ }
88
+ await this.commandService.executeCommand('git.stageAll', provider);
89
+ await this.commandService.executeCommand('git.commit', provider);
90
+ await this.commandService.executeCommand('git.push', provider);
91
+ },
92
+ },
93
+ );
94
+ }
95
+
96
+ registerKeybindings(keybindings: KeybindingRegistry): void {}
97
+
98
+ registerToolbarActions(registry: IToolbarRegistry) {
99
+ registry.addLocation('menu-left');
100
+ registry.registerToolbarActionGroup({
101
+ id: 'test-compact',
102
+ compact: true,
103
+ preferredLocation: 'menu-right',
104
+ });
105
+ for (let i = 0; i < 6; i++) {
106
+ registry.registerToolbarAction({
107
+ id: 'test-' + i,
108
+ description: 'test-' + i + '按钮',
109
+ component: createToolbarActionBtn({
110
+ id: 'test-' + i,
111
+ title: 'test-' + i,
112
+ iconClass: getIcon('open'),
113
+ defaultStyle: {
114
+ btnStyle: i > 3 ? 'button' : 'inline',
115
+ background: i > 4 ? 'red' : undefined,
116
+ },
117
+ popoverComponent: ExamplePopover,
118
+ popoverStyle: {
119
+ noContainerStyle: i % 2 === 0,
120
+ },
121
+ delegate: (d) => {
122
+ d?.onClick(() => {
123
+ console.log('test ' + i + ' clicked');
124
+ d.showPopOver({
125
+ horizontalOffset: i * 10,
126
+ });
127
+ });
128
+ },
129
+ }),
130
+ neverCollapse: i > 4,
131
+ preferredPosition: {
132
+ location: 'menu-right',
133
+ group: i === 1 || i === 2 || i === 3 ? 'test-compact' : undefined,
134
+ },
135
+ });
136
+ }
137
+ for (let i = 7; i < 10; i++) {
138
+ registry.registerToolbarAction({
139
+ id: 'test-' + i,
140
+ description: 'test-' + i + '按钮',
141
+ component: createToolbarActionBtn({
142
+ id: 'test-' + i,
143
+ title: 'test-' + i,
144
+ iconClass: getIcon('open'),
145
+ defaultStyle: {
146
+ btnStyle: i > 3 ? 'button' : 'inline',
147
+ },
148
+ delegate: (d) => {
149
+ d?.onClick(() => {
150
+ console.log('test ' + i + ' clicked');
151
+ });
152
+ },
153
+ }),
154
+ preferredPosition: {
155
+ location: 'menu-left',
156
+ },
157
+ });
158
+ }
159
+ registry.registerToolbarAction({
160
+ id: 'test-select-1',
161
+ description: '选项框1',
162
+ weight: 11,
163
+ component: createToolbarActionSelect({
164
+ name: 'test-1',
165
+ delegate: (d) => {
166
+ d?.onSelect((value) => {
167
+ console.log('value ' + value + ' selected');
168
+ });
169
+ },
170
+ options: [
171
+ {
172
+ label: '选项a',
173
+ value: 'a',
174
+ },
175
+ {
176
+ label: '选项b',
177
+ value: 'b',
178
+ },
179
+ {
180
+ label: '选项c',
181
+ value: 'c',
182
+ },
183
+ ],
184
+ defaultValue: 'b',
185
+ }),
186
+ });
187
+ registry.registerToolbarAction({
188
+ id: 'test-select-2',
189
+ weight: 11,
190
+ description: '选项框2',
191
+ component: createToolbarActionSelect({
192
+ name: 'test-2',
193
+ delegate: (d) => {
194
+ d?.onSelect((value) => {
195
+ console.log('value ' + value + ' selected');
196
+ });
197
+ },
198
+ options: [
199
+ {
200
+ groupName: 'TestGroup1',
201
+ options: [
202
+ {
203
+ label: '选项a',
204
+ value: 'a',
205
+ },
206
+ {
207
+ label: '选项b',
208
+ value: 'b',
209
+ },
210
+ {
211
+ label: '选项c',
212
+ value: 'c',
213
+ },
214
+ ],
215
+ },
216
+ {
217
+ iconClass: getIcon('open'),
218
+ groupName: 'TestGroup2',
219
+ options: [
220
+ {
221
+ label: '选项aa',
222
+ value: 'ab',
223
+ iconClass: getIcon('open'),
224
+ },
225
+ {
226
+ label: '选项bb',
227
+ value: 'bb',
228
+ iconClass: getIcon('open'),
229
+ },
230
+ {
231
+ label: '选项cc',
232
+ value: 'cc',
233
+ iconClass: getIcon('open'),
234
+ },
235
+ ],
236
+ },
237
+ ],
238
+ defaultValue: 'cc',
239
+ }),
240
+ });
241
+ }
242
+
243
+ registerMenus(menuRegistry: IMenuRegistry) {
244
+ menuRegistry.registerMenuItem(MenuId.SCMInput, {
245
+ command: {
246
+ id: 'gitCommitAndPush',
247
+ label: '提交并推送',
248
+ },
249
+ group: 'navigation',
250
+ type: 'primary',
251
+ });
252
+
253
+ menuRegistry.registerMenuItem(MenuId.SCMInput, {
254
+ command: {
255
+ id: 'editor.action.quickCommand',
256
+ label: '打开 quick open',
257
+ },
258
+ group: 'navigation',
259
+ type: 'primary',
260
+ });
261
+ }
262
+ }
@@ -0,0 +1,26 @@
1
+ import { AddonsModule } from '@opensumi/ide-addons/lib/node';
2
+ import { NodeModule, ConstructorOf } from '@opensumi/ide-core-node';
3
+ import { ServerCommonModule } from '@opensumi/ide-core-node';
4
+ import { OpenVsxExtensionManagerModule } from '@opensumi/ide-extension-manager/lib/node';
5
+ import { ExtensionModule } from '@opensumi/ide-extension/lib/node';
6
+ import { FileSchemeNodeModule } from '@opensumi/ide-file-scheme/lib/node';
7
+ import { FileSearchModule } from '@opensumi/ide-file-search/lib/node';
8
+ import { FileServiceModule } from '@opensumi/ide-file-service/lib/node';
9
+ import { LogServiceModule } from '@opensumi/ide-logs/lib/node';
10
+ import { ProcessModule } from '@opensumi/ide-process/lib/node';
11
+ import { SearchModule } from '@opensumi/ide-search/lib/node';
12
+ import { TerminalNodePtyModule } from '@opensumi/ide-terminal-next/lib/node';
13
+
14
+ export const CommonNodeModules: ConstructorOf<NodeModule>[] = [
15
+ ServerCommonModule,
16
+ LogServiceModule,
17
+ FileServiceModule,
18
+ ProcessModule,
19
+ FileSearchModule,
20
+ SearchModule,
21
+ TerminalNodePtyModule,
22
+ ExtensionModule,
23
+ OpenVsxExtensionManagerModule,
24
+ FileSchemeNodeModule,
25
+ AddonsModule,
26
+ ];