@difizen/libro-jupyter 0.2.14 → 0.2.16
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 +4 -0
- package/es/module.d.ts.map +1 -1
- package/es/module.js +8 -3
- package/package.json +17 -17
- package/src/module.ts +11 -4
package/es/module.d.ts
CHANGED
package/es/module.d.ts.map
CHANGED
|
@@ -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,
|
|
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
|
-
|
|
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,
|
|
55
|
+
}).dependOn(LibroModule, CodeCellModule, MarkdownCellModule, RawCellModule, StreamOutputModule, ErrorOutputModule, DisplayDataOutputModule, LibroToolbarModule, LibroKernelManageModule, LibroSearchModule, SearchCodeCellModule, LibroAddCellModule,
|
|
52
56
|
// custom module
|
|
53
|
-
LibroBetweenCellModule, KeybindInstructionsModule, PlotlyModule, LibroJupyterFileModule,
|
|
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.
|
|
3
|
+
"version": "0.2.16",
|
|
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.
|
|
35
|
-
"@difizen/libro-code-editor": "^0.2.
|
|
36
|
-
"@difizen/libro-code-cell": "^0.2.
|
|
37
|
-
"@difizen/libro-codemirror": "^0.2.
|
|
38
|
-
"@difizen/libro-rendermime": "^0.2.
|
|
39
|
-
"@difizen/libro-common": "^0.2.
|
|
40
|
-
"@difizen/libro-core": "^0.2.
|
|
41
|
-
"@difizen/libro-kernel": "^0.2.
|
|
42
|
-
"@difizen/libro-l10n": "^0.2.
|
|
43
|
-
"@difizen/libro-output": "^0.2.
|
|
44
|
-
"@difizen/libro-search": "^0.2.
|
|
45
|
-
"@difizen/libro-search-code-cell": "^0.2.
|
|
46
|
-
"@difizen/libro-lsp": "^0.2.
|
|
47
|
-
"@difizen/libro-markdown-cell": "^0.2.
|
|
48
|
-
"@difizen/libro-raw-cell": "^0.2.
|
|
49
|
-
"@difizen/libro-language-client": "^0.2.
|
|
34
|
+
"@difizen/libro-cofine-editor": "^0.2.16",
|
|
35
|
+
"@difizen/libro-code-editor": "^0.2.16",
|
|
36
|
+
"@difizen/libro-code-cell": "^0.2.16",
|
|
37
|
+
"@difizen/libro-codemirror": "^0.2.16",
|
|
38
|
+
"@difizen/libro-rendermime": "^0.2.16",
|
|
39
|
+
"@difizen/libro-common": "^0.2.16",
|
|
40
|
+
"@difizen/libro-core": "^0.2.16",
|
|
41
|
+
"@difizen/libro-kernel": "^0.2.16",
|
|
42
|
+
"@difizen/libro-l10n": "^0.2.16",
|
|
43
|
+
"@difizen/libro-output": "^0.2.16",
|
|
44
|
+
"@difizen/libro-search": "^0.2.16",
|
|
45
|
+
"@difizen/libro-search-code-cell": "^0.2.16",
|
|
46
|
+
"@difizen/libro-lsp": "^0.2.16",
|
|
47
|
+
"@difizen/libro-markdown-cell": "^0.2.16",
|
|
48
|
+
"@difizen/libro-raw-cell": "^0.2.16",
|
|
49
|
+
"@difizen/libro-language-client": "^0.2.16",
|
|
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
|
-
|
|
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
|
-
|
|
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
|
+
);
|