@jupyter-notebook/terminal-extension 7.0.0-alpha.8 → 7.0.0-beta.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.
Files changed (2) hide show
  1. package/lib/index.js +5 -5
  2. package/package.json +6 -7
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 { IRouter } from '@jupyterlab/application';
3
+ import { IRouter, } from '@jupyterlab/application';
4
4
  import { PageConfig } from '@jupyterlab/coreutils';
5
5
  import { ITerminalTracker } from '@jupyterlab/terminal';
6
6
  import { find } from '@lumino/algorithm';
@@ -30,10 +30,10 @@ const opener = {
30
30
  terminal.content.setOption('closeOnExit', false);
31
31
  });
32
32
  commands.execute('terminal:open', { name });
33
- }
33
+ },
34
34
  });
35
35
  router.register({ command, pattern: terminalPattern });
36
- }
36
+ },
37
37
  };
38
38
  /**
39
39
  * Open terminals in a new tab.
@@ -45,7 +45,7 @@ const redirect = {
45
45
  activate: (app, tracker) => {
46
46
  const baseUrl = PageConfig.getBaseUrl();
47
47
  tracker.widgetAdded.connect((send, terminal) => {
48
- const widget = find(app.shell.widgets('main'), w => w.id === terminal.id);
48
+ const widget = find(app.shell.widgets('main'), (w) => w.id === terminal.id);
49
49
  if (widget) {
50
50
  // bail if the terminal is already added to the main area
51
51
  return;
@@ -55,7 +55,7 @@ const redirect = {
55
55
  // dispose the widget since it is not used on this page
56
56
  terminal.dispose();
57
57
  });
58
- }
58
+ },
59
59
  };
60
60
  /**
61
61
  * Export the plugins as default.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jupyter-notebook/terminal-extension",
3
- "version": "7.0.0-alpha.8",
3
+ "version": "7.0.0-beta.0",
4
4
  "description": "Jupyter Notebook - Terminal Extension",
5
5
  "homepage": "https://github.com/jupyter/notebook",
6
6
  "bugs": {
@@ -35,18 +35,17 @@
35
35
  "build:prod": "tsc -b",
36
36
  "clean": "rimraf lib && rimraf tsconfig.tsbuildinfo",
37
37
  "docs": "typedoc src",
38
- "prepublishOnly": "npm run build",
39
38
  "watch": "tsc -b --watch"
40
39
  },
41
40
  "dependencies": {
42
- "@jupyterlab/application": "^4.0.0-alpha.15",
43
- "@jupyterlab/coreutils": "^6.0.0-alpha.15",
44
- "@jupyterlab/terminal": "^4.0.0-alpha.15",
45
- "@lumino/algorithm": "^2.0.0-alpha.6"
41
+ "@jupyterlab/application": "^4.0.0-beta.0",
42
+ "@jupyterlab/coreutils": "^6.0.0-beta.0",
43
+ "@jupyterlab/terminal": "^4.0.0-beta.0",
44
+ "@lumino/algorithm": "^2.0.0"
46
45
  },
47
46
  "devDependencies": {
48
47
  "rimraf": "^3.0.2",
49
- "typescript": "~4.7.3"
48
+ "typescript": "~5.0.2"
50
49
  },
51
50
  "publishConfig": {
52
51
  "access": "public"