@difizen/libro-jupyter 0.2.14 → 0.2.15

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/es/module.d.ts CHANGED
@@ -1,3 +1,7 @@
1
1
  import { ManaModule } from '@difizen/mana-app';
2
+ /**
3
+ * 去除editor和lsp依赖的jupyter module,在opensumi场景使用
4
+ */
5
+ export declare const LibroJupyterNoEditorModule: ManaModule;
2
6
  export declare const LibroJupyterModule: ManaModule;
3
7
  //# sourceMappingURL=module.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../src/module.ts"],"names":[],"mappings":"AA2BA,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAiC/C,eAAO,MAAM,kBAAkB,YA0D5B,CAAC"}
1
+ {"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../src/module.ts"],"names":[],"mappings":"AA2BA,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAiC/C;;GAEG;AACH,eAAO,MAAM,0BAA0B,YAwDpC,CAAC;AAEJ,eAAO,MAAM,kBAAkB,YAI9B,CAAC"}
package/es/module.js CHANGED
@@ -30,7 +30,11 @@ import { PlotlyModule } from "./rendermime/index.js";
30
30
  import { LibroJupyterColorContribution } from "./theme/index.js";
31
31
  import { KernelStatusSelector, LibroJupyterToolbarContribution, SaveFileErrorContribution } from "./toolbar/index.js";
32
32
  import { WidgetModule } from "./widget/index.js";
33
- export var LibroJupyterModule = ManaModule.create().register(JupyterWorkspaceService, LibroJupyterFileService, LibroJupyterCommandContribution, LibroJupyterKeybindingContribution, LibroJupyterToolbarContribution, ConfigAppContribution, SaveFileErrorContribution, LibroKeybindRegistry, LibroJupyterContentContribution, LibroJupyterContentSaveContribution, LibroJupyterOutputArea, LibroJupyterColorContribution, LibroJupyterSettingContribution, JupyterServerLaunchManager, LibroJupyterView, {
33
+
34
+ /**
35
+ * 去除editor和lsp依赖的jupyter module,在opensumi场景使用
36
+ */
37
+ export var LibroJupyterNoEditorModule = ManaModule.create().register(JupyterWorkspaceService, LibroJupyterFileService, LibroJupyterCommandContribution, LibroJupyterKeybindingContribution, LibroJupyterToolbarContribution, ConfigAppContribution, SaveFileErrorContribution, LibroKeybindRegistry, LibroJupyterContentContribution, LibroJupyterContentSaveContribution, LibroJupyterOutputArea, LibroJupyterColorContribution, LibroJupyterSettingContribution, JupyterServerLaunchManager, LibroJupyterView, {
34
38
  token: CellExecutionTimeProvider,
35
39
  useValue: CellExecutionTip
36
40
  }, {
@@ -48,6 +52,7 @@ export var LibroJupyterModule = ManaModule.create().register(JupyterWorkspaceSer
48
52
  }, {
49
53
  token: LibroCodeCellView,
50
54
  useClass: JupyterCodeCellView
51
- }).dependOn(LibroModule, CodeCellModule, MarkdownCellModule, RawCellModule, StreamOutputModule, ErrorOutputModule, DisplayDataOutputModule, LibroToolbarModule, LibroKernelManageModule, LibroSearchModule, SearchCodeCellModule, LibroAddCellModule, LibroE2EditorModule, CodeMirrorEditorModule,
55
+ }).dependOn(LibroModule, CodeCellModule, MarkdownCellModule, RawCellModule, StreamOutputModule, ErrorOutputModule, DisplayDataOutputModule, LibroToolbarModule, LibroKernelManageModule, LibroSearchModule, SearchCodeCellModule, LibroAddCellModule,
52
56
  // custom module
53
- LibroBetweenCellModule, KeybindInstructionsModule, PlotlyModule, LibroJupyterFileModule, LibroLanguageClientModule, WidgetModule);
57
+ LibroBetweenCellModule, KeybindInstructionsModule, PlotlyModule, LibroJupyterFileModule, WidgetModule);
58
+ export var LibroJupyterModule = ManaModule.create().dependOn(LibroE2EditorModule, CodeMirrorEditorModule, LibroLanguageClientModule);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@difizen/libro-jupyter",
3
- "version": "0.2.14",
3
+ "version": "0.2.15",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "libro"
@@ -31,22 +31,22 @@
31
31
  "src"
32
32
  ],
33
33
  "dependencies": {
34
- "@difizen/libro-cofine-editor": "^0.2.14",
35
- "@difizen/libro-code-editor": "^0.2.14",
36
- "@difizen/libro-code-cell": "^0.2.14",
37
- "@difizen/libro-codemirror": "^0.2.14",
38
- "@difizen/libro-rendermime": "^0.2.14",
39
- "@difizen/libro-common": "^0.2.14",
40
- "@difizen/libro-core": "^0.2.14",
41
- "@difizen/libro-kernel": "^0.2.14",
42
- "@difizen/libro-l10n": "^0.2.14",
43
- "@difizen/libro-output": "^0.2.14",
44
- "@difizen/libro-search": "^0.2.14",
45
- "@difizen/libro-search-code-cell": "^0.2.14",
46
- "@difizen/libro-lsp": "^0.2.14",
47
- "@difizen/libro-markdown-cell": "^0.2.14",
48
- "@difizen/libro-raw-cell": "^0.2.14",
49
- "@difizen/libro-language-client": "^0.2.14",
34
+ "@difizen/libro-cofine-editor": "^0.2.15",
35
+ "@difizen/libro-code-editor": "^0.2.15",
36
+ "@difizen/libro-code-cell": "^0.2.15",
37
+ "@difizen/libro-codemirror": "^0.2.15",
38
+ "@difizen/libro-rendermime": "^0.2.15",
39
+ "@difizen/libro-common": "^0.2.15",
40
+ "@difizen/libro-core": "^0.2.15",
41
+ "@difizen/libro-kernel": "^0.2.15",
42
+ "@difizen/libro-l10n": "^0.2.15",
43
+ "@difizen/libro-output": "^0.2.15",
44
+ "@difizen/libro-search": "^0.2.15",
45
+ "@difizen/libro-search-code-cell": "^0.2.15",
46
+ "@difizen/libro-lsp": "^0.2.15",
47
+ "@difizen/libro-markdown-cell": "^0.2.15",
48
+ "@difizen/libro-raw-cell": "^0.2.15",
49
+ "@difizen/libro-language-client": "^0.2.15",
50
50
  "@difizen/mana-app": "latest",
51
51
  "@difizen/mana-l10n": "latest",
52
52
  "@ant-design/colors": "^7.0.0",
package/src/module.ts CHANGED
@@ -58,7 +58,10 @@ import {
58
58
  } from './toolbar/index.js';
59
59
  import { WidgetModule } from './widget/index.js';
60
60
 
61
- export const LibroJupyterModule = ManaModule.create()
61
+ /**
62
+ * 去除editor和lsp依赖的jupyter module,在opensumi场景使用
63
+ */
64
+ export const LibroJupyterNoEditorModule = ManaModule.create()
62
65
  .register(
63
66
  JupyterWorkspaceService,
64
67
  LibroJupyterFileService,
@@ -107,13 +110,17 @@ export const LibroJupyterModule = ManaModule.create()
107
110
  LibroSearchModule,
108
111
  SearchCodeCellModule,
109
112
  LibroAddCellModule,
110
- LibroE2EditorModule,
111
- CodeMirrorEditorModule,
113
+
112
114
  // custom module
113
115
  LibroBetweenCellModule,
114
116
  KeybindInstructionsModule,
115
117
  PlotlyModule,
116
118
  LibroJupyterFileModule,
117
- LibroLanguageClientModule,
118
119
  WidgetModule,
119
120
  );
121
+
122
+ export const LibroJupyterModule = ManaModule.create().dependOn(
123
+ LibroE2EditorModule,
124
+ CodeMirrorEditorModule,
125
+ LibroLanguageClientModule,
126
+ );