@jupyter-notebook/application-extension 7.4.0-alpha.3 → 7.4.0-beta.1

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 (2) hide show
  1. package/lib/index.js +16 -1
  2. package/package.json +15 -15
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-alpha.3",
3
+ "version": "7.4.0-beta.1",
4
4
  "description": "Jupyter Notebook - Application Extension",
5
5
  "homepage": "https://github.com/jupyter/notebook",
6
6
  "bugs": {
@@ -38,26 +38,26 @@
38
38
  "watch": "tsc -b --watch"
39
39
  },
40
40
  "dependencies": {
41
- "@jupyter-notebook/application": "^7.4.0-alpha.3",
42
- "@jupyter-notebook/ui-components": "^7.4.0-alpha.3",
43
- "@jupyterlab/application": "~4.4.0-alpha.3",
44
- "@jupyterlab/apputils": "~4.5.0-alpha.3",
45
- "@jupyterlab/codeeditor": "~4.4.0-alpha.3",
46
- "@jupyterlab/console": "~4.4.0-alpha.3",
47
- "@jupyterlab/coreutils": "~6.4.0-alpha.3",
48
- "@jupyterlab/docmanager": "~4.4.0-alpha.3",
49
- "@jupyterlab/docregistry": "~4.4.0-alpha.3",
50
- "@jupyterlab/mainmenu": "~4.4.0-alpha.3",
51
- "@jupyterlab/rendermime": "~4.4.0-alpha.3",
52
- "@jupyterlab/settingregistry": "~4.4.0-alpha.3",
53
- "@jupyterlab/translation": "~4.4.0-alpha.3",
41
+ "@jupyter-notebook/application": "^7.4.0-beta.1",
42
+ "@jupyter-notebook/ui-components": "^7.4.0-beta.1",
43
+ "@jupyterlab/application": "~4.4.0-beta.1",
44
+ "@jupyterlab/apputils": "~4.5.0-beta.1",
45
+ "@jupyterlab/codeeditor": "~4.4.0-beta.1",
46
+ "@jupyterlab/console": "~4.4.0-beta.1",
47
+ "@jupyterlab/coreutils": "~6.4.0-beta.1",
48
+ "@jupyterlab/docmanager": "~4.4.0-beta.1",
49
+ "@jupyterlab/docregistry": "~4.4.0-beta.1",
50
+ "@jupyterlab/mainmenu": "~4.4.0-beta.1",
51
+ "@jupyterlab/rendermime": "~4.4.0-beta.1",
52
+ "@jupyterlab/settingregistry": "~4.4.0-beta.1",
53
+ "@jupyterlab/translation": "~4.4.0-beta.1",
54
54
  "@lumino/coreutils": "^2.2.0",
55
55
  "@lumino/disposable": "^2.1.3",
56
56
  "@lumino/widgets": "^2.5.0"
57
57
  },
58
58
  "devDependencies": {
59
59
  "rimraf": "^3.0.2",
60
- "typescript": "~5.1.6"
60
+ "typescript": "~5.5.4"
61
61
  },
62
62
  "publishConfig": {
63
63
  "access": "public"