@jupyterlite/terminal 0.2.0 → 0.2.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.
package/README.md CHANGED
@@ -24,7 +24,7 @@ pip install jupyterlite-terminal
24
24
  You will also need to install the JupyterLite CLI:
25
25
 
26
26
  ```bash
27
- python -m pip install --pre jupyterlite-core
27
+ python -m pip install jupyterlite-core
28
28
  ```
29
29
 
30
30
  ## Usage
package/lib/index.d.ts CHANGED
@@ -1,4 +1,6 @@
1
1
  import { JupyterFrontEndPlugin } from '@jupyterlab/application';
2
2
  import { ServiceManagerPlugin, Terminal } from '@jupyterlab/services';
3
+ import { ILiteTerminalAPIClient } from './tokens';
3
4
  declare const _default: (ServiceManagerPlugin<Terminal.ITerminalAPIClient> | ServiceManagerPlugin<Terminal.IManager> | JupyterFrontEndPlugin<void>)[];
4
5
  export default _default;
6
+ export { ILiteTerminalAPIClient };
package/lib/index.js CHANGED
@@ -65,3 +65,5 @@ export default [
65
65
  terminalManagerPlugin,
66
66
  terminalServiceWorkerPlugin
67
67
  ];
68
+ // Export ILiteTerminalAPIClient so that other extensions can register external commands.
69
+ export { ILiteTerminalAPIClient };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jupyterlite/terminal",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "A terminal for JupyterLite",
5
5
  "keywords": [
6
6
  "jupyter",
@@ -61,9 +61,9 @@
61
61
  "dependencies": {
62
62
  "@jupyterlab/coreutils": "^6.4.3",
63
63
  "@jupyterlab/services": "^7.4.3",
64
- "@jupyterlite/cockle": "^0.1.0",
65
- "@jupyterlite/contents": "0.6.0",
66
- "@jupyterlite/server": "0.6.0",
64
+ "@jupyterlite/cockle": "^0.1.1",
65
+ "@jupyterlite/contents": "^0.6.0",
66
+ "@jupyterlite/server": "^0.6.0",
67
67
  "@lumino/coreutils": "^2.2.0",
68
68
  "mock-socket": "^9.3.1"
69
69
  },
@@ -110,7 +110,17 @@
110
110
  },
111
111
  "jupyterlab": {
112
112
  "extension": true,
113
- "outputDir": "jupyterlite_terminal/labextension"
113
+ "outputDir": "jupyterlite_terminal/labextension",
114
+ "sharedPackages": {
115
+ "@jupyterlite/contents": {
116
+ "bundled": false,
117
+ "singleton": true
118
+ },
119
+ "@jupyterlite/server": {
120
+ "bundled": false,
121
+ "singleton": true
122
+ }
123
+ }
114
124
  },
115
125
  "eslintIgnore": [
116
126
  "node_modules",
package/src/index.ts CHANGED
@@ -99,3 +99,6 @@ export default [
99
99
  terminalManagerPlugin,
100
100
  terminalServiceWorkerPlugin
101
101
  ];
102
+
103
+ // Export ILiteTerminalAPIClient so that other extensions can register external commands.
104
+ export { ILiteTerminalAPIClient };