@jupyter-notebook/application-extension 7.4.0-beta.0 → 7.4.0-beta.2
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/lib/index.js +16 -1
- package/package.json +14 -14
package/lib/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Copyright (c) Jupyter Development Team.
|
|
2
2
|
// Distributed under the terms of the Modified BSD License.
|
|
3
|
-
import { ILabStatus, IRouter, ITreePathUpdater, JupyterFrontEnd, } from '@jupyterlab/application';
|
|
3
|
+
import { ILabStatus, IRouter, ITreePathUpdater, JupyterFrontEnd, JupyterLab, } from '@jupyterlab/application';
|
|
4
4
|
import { DOMUtils, ICommandPalette, ISanitizer, ISplashScreen, IToolbarWidgetRegistry, } from '@jupyterlab/apputils';
|
|
5
5
|
import { ConsolePanel } from '@jupyterlab/console';
|
|
6
6
|
import { PageConfig, PathExt, URLExt } from '@jupyterlab/coreutils';
|
|
@@ -90,6 +90,20 @@ const dirty = {
|
|
|
90
90
|
});
|
|
91
91
|
},
|
|
92
92
|
};
|
|
93
|
+
/**
|
|
94
|
+
* The application info.
|
|
95
|
+
*/
|
|
96
|
+
const info = {
|
|
97
|
+
id: '@jupyter-notebook/application-extension:info',
|
|
98
|
+
autoStart: true,
|
|
99
|
+
provides: JupyterLab.IInfo,
|
|
100
|
+
activate: (app) => {
|
|
101
|
+
if (!(app instanceof NotebookApp)) {
|
|
102
|
+
throw new Error(`${info.id} must be activated in Jupyter Notebook.`);
|
|
103
|
+
}
|
|
104
|
+
return app.info;
|
|
105
|
+
},
|
|
106
|
+
};
|
|
93
107
|
/**
|
|
94
108
|
* The logo plugin.
|
|
95
109
|
*/
|
|
@@ -922,6 +936,7 @@ const zen = {
|
|
|
922
936
|
*/
|
|
923
937
|
const plugins = [
|
|
924
938
|
dirty,
|
|
939
|
+
info,
|
|
925
940
|
logo,
|
|
926
941
|
menus,
|
|
927
942
|
menuSpacer,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jupyter-notebook/application-extension",
|
|
3
|
-
"version": "7.4.0-beta.
|
|
3
|
+
"version": "7.4.0-beta.2",
|
|
4
4
|
"description": "Jupyter Notebook - Application Extension",
|
|
5
5
|
"homepage": "https://github.com/jupyter/notebook",
|
|
6
6
|
"bugs": {
|
|
@@ -38,19 +38,19 @@
|
|
|
38
38
|
"watch": "tsc -b --watch"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@jupyter-notebook/application": "^7.4.0-beta.
|
|
42
|
-
"@jupyter-notebook/ui-components": "^7.4.0-beta.
|
|
43
|
-
"@jupyterlab/application": "~4.4.0-beta.
|
|
44
|
-
"@jupyterlab/apputils": "~4.5.0-beta.
|
|
45
|
-
"@jupyterlab/codeeditor": "~4.4.0-beta.
|
|
46
|
-
"@jupyterlab/console": "~4.4.0-beta.
|
|
47
|
-
"@jupyterlab/coreutils": "~6.4.0-beta.
|
|
48
|
-
"@jupyterlab/docmanager": "~4.4.0-beta.
|
|
49
|
-
"@jupyterlab/docregistry": "~4.4.0-beta.
|
|
50
|
-
"@jupyterlab/mainmenu": "~4.4.0-beta.
|
|
51
|
-
"@jupyterlab/rendermime": "~4.4.0-beta.
|
|
52
|
-
"@jupyterlab/settingregistry": "~4.4.0-beta.
|
|
53
|
-
"@jupyterlab/translation": "~4.4.0-beta.
|
|
41
|
+
"@jupyter-notebook/application": "^7.4.0-beta.2",
|
|
42
|
+
"@jupyter-notebook/ui-components": "^7.4.0-beta.2",
|
|
43
|
+
"@jupyterlab/application": "~4.4.0-beta.2",
|
|
44
|
+
"@jupyterlab/apputils": "~4.5.0-beta.2",
|
|
45
|
+
"@jupyterlab/codeeditor": "~4.4.0-beta.2",
|
|
46
|
+
"@jupyterlab/console": "~4.4.0-beta.2",
|
|
47
|
+
"@jupyterlab/coreutils": "~6.4.0-beta.2",
|
|
48
|
+
"@jupyterlab/docmanager": "~4.4.0-beta.2",
|
|
49
|
+
"@jupyterlab/docregistry": "~4.4.0-beta.2",
|
|
50
|
+
"@jupyterlab/mainmenu": "~4.4.0-beta.2",
|
|
51
|
+
"@jupyterlab/rendermime": "~4.4.0-beta.2",
|
|
52
|
+
"@jupyterlab/settingregistry": "~4.4.0-beta.2",
|
|
53
|
+
"@jupyterlab/translation": "~4.4.0-beta.2",
|
|
54
54
|
"@lumino/coreutils": "^2.2.0",
|
|
55
55
|
"@lumino/disposable": "^2.1.3",
|
|
56
56
|
"@lumino/widgets": "^2.5.0"
|