@datalayer/jupyter-react 0.9.5 → 0.9.7

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.
@@ -19,4 +19,4 @@ export declare const cellActions: {
19
19
  execute: import("typescript-fsa").ActionCreator<void>;
20
20
  update: import("typescript-fsa").ActionCreator<Partial<ICellState>>;
21
21
  };
22
- export declare const cellReducer: import("typescript-fsa-reducers").ReducerBuilder<ICellState, ICellState>;
22
+ export declare const cellReducer: import("typescript-fsa-reducers").ReducerBuilder<ICellState, ICellState, ICellState | undefined>;
@@ -12,4 +12,4 @@ export declare const commandsActions: {
12
12
  outputs: import("typescript-fsa").ActionCreator<number>;
13
13
  execute: import("typescript-fsa").ActionCreator<void>;
14
14
  };
15
- export declare const commandsReducer: import("typescript-fsa-reducers").ReducerBuilder<ICommandState, ICommandState>;
15
+ export declare const commandsReducer: import("typescript-fsa-reducers").ReducerBuilder<ICommandState, ICommandState, ICommandState | undefined>;
@@ -12,4 +12,4 @@ export declare const consoleActions: {
12
12
  outputs: import("typescript-fsa").ActionCreator<number>;
13
13
  execute: import("typescript-fsa").ActionCreator<void>;
14
14
  };
15
- export declare const consoleReducer: import("typescript-fsa-reducers").ReducerBuilder<IConsoleState, IConsoleState>;
15
+ export declare const consoleReducer: import("typescript-fsa-reducers").ReducerBuilder<IConsoleState, IConsoleState, IConsoleState | undefined>;
@@ -12,4 +12,4 @@ export declare const fileBrowserActions: {
12
12
  outputs: import("typescript-fsa").ActionCreator<number>;
13
13
  execute: import("typescript-fsa").ActionCreator<void>;
14
14
  };
15
- export declare const fileBrowserReducer: import("typescript-fsa-reducers").ReducerBuilder<IFileManagerState, IFileManagerState>;
15
+ export declare const fileBrowserReducer: import("typescript-fsa-reducers").ReducerBuilder<IFileManagerState, IFileManagerState, IFileManagerState | undefined>;
@@ -108,15 +108,15 @@ export declare const notebookActions: {
108
108
  setPortals: import("typescript-fsa").ActionCreator<ReactPortalsMutation>;
109
109
  setPortalDisplay: import("typescript-fsa").ActionCreator<PortalDisplayMutation>;
110
110
  dispose: import("typescript-fsa").ActionCreator<string>;
111
- save: import("typescript-fsa").AsyncActionCreators<DateMutation, DateMutation, {}>;
112
- run: import("typescript-fsa").AsyncActionCreators<string, string, {}>;
113
- runAll: import("typescript-fsa").AsyncActionCreators<string, string, {}>;
114
- interrupt: import("typescript-fsa").AsyncActionCreators<string, string, {}>;
115
- insertAbove: import("typescript-fsa").AsyncActionCreators<CellMutation, CellMutation, {}>;
116
- insertBelow: import("typescript-fsa").AsyncActionCreators<CellMutation, CellMutation, {}>;
117
- delete: import("typescript-fsa").AsyncActionCreators<string, string, {}>;
118
- changeCellType: import("typescript-fsa").AsyncActionCreators<CellMutation, CellMutation, {}>;
111
+ save: import("typescript-fsa").AsyncActionCreators<DateMutation, DateMutation, any>;
112
+ run: import("typescript-fsa").AsyncActionCreators<string, string, any>;
113
+ runAll: import("typescript-fsa").AsyncActionCreators<string, string, any>;
114
+ interrupt: import("typescript-fsa").AsyncActionCreators<string, string, any>;
115
+ insertAbove: import("typescript-fsa").AsyncActionCreators<CellMutation, CellMutation, any>;
116
+ insertBelow: import("typescript-fsa").AsyncActionCreators<CellMutation, CellMutation, any>;
117
+ delete: import("typescript-fsa").AsyncActionCreators<string, string, any>;
118
+ changeCellType: import("typescript-fsa").AsyncActionCreators<CellMutation, CellMutation, any>;
119
119
  };
120
120
  export declare const notebookEpics: any;
121
- export declare const notebookReducer: import("typescript-fsa-reducers").ReducerBuilder<INotebooksState, INotebooksState>;
121
+ export declare const notebookReducer: import("typescript-fsa-reducers").ReducerBuilder<INotebooksState, INotebooksState, INotebooksState | undefined>;
122
122
  export {};
@@ -50,5 +50,5 @@ export declare const outputActions: {
50
50
  setSource: import("typescript-fsa").ActionCreator<OutputState.IExecute>;
51
51
  grade: import("typescript-fsa").ActionCreator<OutputState.IGrade>;
52
52
  };
53
- export declare const outputReducer: import("typescript-fsa-reducers").ReducerBuilder<IOutputsState, IOutputsState>;
53
+ export declare const outputReducer: import("typescript-fsa-reducers").ReducerBuilder<IOutputsState, IOutputsState, IOutputsState | undefined>;
54
54
  export {};
@@ -12,4 +12,4 @@ export declare const settingsActions: {
12
12
  outputs: import("typescript-fsa").ActionCreator<number>;
13
13
  execute: import("typescript-fsa").ActionCreator<void>;
14
14
  };
15
- export declare const settingsReducer: import("typescript-fsa-reducers").ReducerBuilder<ISettingsState, ISettingsState>;
15
+ export declare const settingsReducer: import("typescript-fsa-reducers").ReducerBuilder<ISettingsState, ISettingsState, ISettingsState | undefined>;
@@ -12,4 +12,4 @@ export declare enum TerminalActionType {
12
12
  export declare const terminalActions: {
13
13
  update: import("typescript-fsa").ActionCreator<Partial<ITerminalState>>;
14
14
  };
15
- export declare const terminalReducer: import("typescript-fsa-reducers").ReducerBuilder<ITerminalState, ITerminalState>;
15
+ export declare const terminalReducer: import("typescript-fsa-reducers").ReducerBuilder<ITerminalState, ITerminalState, ITerminalState | undefined>;
@@ -9,4 +9,4 @@ export declare enum ExampleActionType {
9
9
  export declare const exampleActions: {
10
10
  updateFoo: import("typescript-fsa").ActionCreator<Date>;
11
11
  };
12
- export declare const exampleReducer: import("typescript-fsa-reducers").ReducerBuilder<IExampleState, IExampleState>;
12
+ export declare const exampleReducer: import("typescript-fsa-reducers").ReducerBuilder<IExampleState, IExampleState, IExampleState | undefined>;
@@ -97,7 +97,7 @@ export const loadJupyterConfig = (props) => {
97
97
  const jupyterConfig = JSON.parse(jupyterConfigData.textContent || '');
98
98
  setJupyterServerHttpUrl(jupyterServerHttpUrl ??
99
99
  location.protocol + '//' + location.host + jupyterConfig.baseUrl);
100
- setJupyterServerWsUrl(jupyterServerWsUrl ?? location.protocol === 'https'
100
+ setJupyterServerWsUrl(jupyterServerWsUrl ?? location.protocol === 'https:'
101
101
  ? 'wss://' + location.host
102
102
  : 'ws://' + location.host + jupyterConfig.baseUrl);
103
103
  setJupyterToken(jupyterToken ?? jupyterConfig.token);
@@ -1 +1 @@
1
- {"version":3,"file":"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IACnC,yCAAyC;IACzC,MAAM,CAAC,gBAAgB,GAAG,UAAU,CAAC,SAAS,CAAC,SAAS,CAAC,KAAK,EAAE,CAAC;IACjE,OAAO,MAAM,CAAC;AAChB,CAAC,CAAC"}
@@ -6,7 +6,7 @@ declare const theme: {
6
6
  breakpoints: string[];
7
7
  fonts: {
8
8
  normal: any;
9
- mono: any;
9
+ mono: string;
10
10
  };
11
11
  fontSizes: string[];
12
12
  fontWeights: {
@@ -9,4 +9,4 @@ export declare enum InitActionType {
9
9
  export declare const initActions: {
10
10
  getStart: import("typescript-fsa").ActionCreator<Date>;
11
11
  };
12
- export declare const initReducer: import("typescript-fsa-reducers").ReducerBuilder<IInitState, IInitState>;
12
+ export declare const initReducer: import("typescript-fsa-reducers").ReducerBuilder<IInitState, IInitState, IInitState | undefined>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@datalayer/jupyter-react",
3
- "version": "0.9.5",
3
+ "version": "0.9.7",
4
4
  "description": "Jupyter React - React.js components 100% compatible with Jupyter.",
5
5
  "license": "MIT",
6
6
  "main": "lib/index.js",
@@ -64,112 +64,112 @@
64
64
  "build:storybook": "storybook build"
65
65
  },
66
66
  "dependencies": {
67
- "@codemirror/lang-python": "6.0.1",
68
- "@datalayer/primer-addons": "0.2.3",
67
+ "@codemirror/lang-python": "^6.0.1",
68
+ "@datalayer/primer-addons": "0.3.0",
69
69
  "@datalayer/typescript-fsa-redux-observable": "0.18.0",
70
- "@jupyter-widgets/base": "6.0.6",
71
- "@jupyter-widgets/controls": "5.0.7",
72
- "@jupyter-widgets/html-manager": "1.0.9",
73
- "@jupyter-widgets/jupyterlab-manager": "5.0.9",
74
- "@jupyter-widgets/output": "6.0.6",
75
- "@jupyter/collaboration-extension": "1.2.0",
76
- "@jupyter/web-components": "0.15.1",
77
- "@jupyter/ydoc": "1.1.1",
78
- "@jupyterlab/application": "4.1.0-beta.0",
79
- "@jupyterlab/application-extension": "4.1.0-beta.0",
80
- "@jupyterlab/apputils": "4.2.0-beta.0",
81
- "@jupyterlab/apputils-extension": "4.1.0-beta.0",
82
- "@jupyterlab/cell-toolbar-extension": "4.1.0-beta.0",
83
- "@jupyterlab/cells": "4.1.0-beta.0",
84
- "@jupyterlab/codemirror": "4.1.0-beta.0",
85
- "@jupyterlab/codemirror-extension": "4.1.0-beta.0",
86
- "@jupyterlab/completer": "4.1.0-beta.0",
87
- "@jupyterlab/completer-extension": "4.1.0-beta.0",
88
- "@jupyterlab/console": "4.1.0-beta.0",
89
- "@jupyterlab/console-extension": "4.1.0-beta.0",
90
- "@jupyterlab/coreutils": "6.1.0-beta.0",
91
- "@jupyterlab/csvviewer-extension": "4.1.0-beta.0",
92
- "@jupyterlab/docmanager": "4.1.0-beta.0",
93
- "@jupyterlab/docmanager-extension": "4.1.0-beta.0",
94
- "@jupyterlab/docregistry": "4.1.0-beta.0",
95
- "@jupyterlab/documentsearch": "4.1.0-beta.0",
96
- "@jupyterlab/documentsearch-extension": "4.1.0-beta.0",
97
- "@jupyterlab/filebrowser": "4.1.0-beta.0",
98
- "@jupyterlab/filebrowser-extension": "4.1.0-beta.0",
99
- "@jupyterlab/fileeditor": "4.1.0-beta.0",
100
- "@jupyterlab/fileeditor-extension": "4.1.0-beta.0",
101
- "@jupyterlab/javascript-extension": "4.1.0-beta.0",
102
- "@jupyterlab/json-extension": "4.1.0-beta.0",
103
- "@jupyterlab/launcher": "4.1.0-beta.0",
104
- "@jupyterlab/launcher-extension": "4.1.0-beta.0",
105
- "@jupyterlab/lsp-extension": "4.1.0-beta.0",
106
- "@jupyterlab/mainmenu-extension": "4.1.0-beta.0",
107
- "@jupyterlab/markdownviewer-extension": "4.1.0-beta.0",
108
- "@jupyterlab/markedparser-extension": "4.1.0-beta.0",
109
- "@jupyterlab/mathjax-extension": "4.1.0-beta.0",
110
- "@jupyterlab/metadataform": "4.1.0-beta.0",
111
- "@jupyterlab/nbconvert-css": "4.1.0-beta.0",
112
- "@jupyterlab/notebook": "4.1.0-beta.0",
113
- "@jupyterlab/notebook-extension": "4.1.0-beta.0",
114
- "@jupyterlab/observables": "5.1.0-beta.0",
115
- "@jupyterlab/outputarea": "4.1.0-beta.0",
116
- "@jupyterlab/property-inspector": "4.1.0-beta.0",
117
- "@jupyterlab/rendermime": "4.1.0-beta.0",
118
- "@jupyterlab/rendermime-extension": "4.1.0-beta.0",
119
- "@jupyterlab/rendermime-interfaces": "3.9.0-beta.0",
120
- "@jupyterlab/services": "7.1.0-beta.0",
121
- "@jupyterlab/settingregistry": "4.1.0-beta.0",
122
- "@jupyterlab/shortcuts-extension": "4.1.0-beta.0",
123
- "@jupyterlab/statusbar-extension": "4.1.0-beta.0",
124
- "@jupyterlab/terminal": "4.1.0-beta.0",
125
- "@jupyterlab/theme-dark-extension": "4.1.0-beta.0",
126
- "@jupyterlab/theme-light-extension": "4.1.0-beta.0",
127
- "@jupyterlab/toc-extension": "6.0.10",
128
- "@jupyterlab/translation-extension": "4.1.0-beta.0",
129
- "@jupyterlab/ui-components-extension": "4.1.0-beta.0",
130
- "@jupyterlite/pyodide-kernel-extension": "0.2.0",
131
- "@jupyterlite/server": "0.2.2",
132
- "@jupyterlite/server-extension": "0.2.2",
133
- "@lumino/default-theme": "2.1.4",
134
- "@primer/react": "36.6.0",
135
- "assert": "2.0.0",
136
- "bufferutil": "4.0.8",
137
- "codemirror": "6.0.1",
138
- "encoding": "0.1.13",
70
+ "@jupyter-widgets/base": "^6.0.0",
71
+ "@jupyter-widgets/controls": "^5.0.0",
72
+ "@jupyter-widgets/html-manager": "^1.0.0",
73
+ "@jupyter-widgets/jupyterlab-manager": "^5.0.0",
74
+ "@jupyter-widgets/output": "^6.0.0",
75
+ "@jupyter/collaboration-extension": "^1.0.0",
76
+ "@jupyter/web-components": "^0.15.3",
77
+ "@jupyter/ydoc": "^1.0.0",
78
+ "@jupyterlab/application": "^4.0.0",
79
+ "@jupyterlab/application-extension": "^4.0.0",
80
+ "@jupyterlab/apputils": "^4.0.0",
81
+ "@jupyterlab/apputils-extension": "^4.0.0",
82
+ "@jupyterlab/cell-toolbar-extension": "^4.0.0",
83
+ "@jupyterlab/cells": "^4.0.0",
84
+ "@jupyterlab/codemirror": "^4.0.0",
85
+ "@jupyterlab/codemirror-extension": "^4.0.0",
86
+ "@jupyterlab/completer": "^4.0.0",
87
+ "@jupyterlab/completer-extension": "^4.0.0",
88
+ "@jupyterlab/console": "^4.0.0",
89
+ "@jupyterlab/console-extension": "^4.0.0",
90
+ "@jupyterlab/coreutils": "^6.0.0",
91
+ "@jupyterlab/csvviewer-extension": "^4.0.0",
92
+ "@jupyterlab/docmanager": "^4.0.0",
93
+ "@jupyterlab/docmanager-extension": "^4.0.0",
94
+ "@jupyterlab/docregistry": "^4.0.0",
95
+ "@jupyterlab/documentsearch": "^4.0.0",
96
+ "@jupyterlab/documentsearch-extension": "^4.0.0",
97
+ "@jupyterlab/filebrowser": "^4.0.0",
98
+ "@jupyterlab/filebrowser-extension": "^4.0.0",
99
+ "@jupyterlab/fileeditor": "^4.0.0",
100
+ "@jupyterlab/fileeditor-extension": "^4.0.0",
101
+ "@jupyterlab/javascript-extension": "^4.0.0",
102
+ "@jupyterlab/json-extension": "^4.0.0",
103
+ "@jupyterlab/launcher": "^4.0.0",
104
+ "@jupyterlab/launcher-extension": "^4.0.0",
105
+ "@jupyterlab/lsp-extension": "^4.0.0",
106
+ "@jupyterlab/mainmenu-extension": "^4.0.0",
107
+ "@jupyterlab/markdownviewer-extension": "^4.0.0",
108
+ "@jupyterlab/markedparser-extension": "^4.0.0",
109
+ "@jupyterlab/mathjax-extension": "^4.0.0",
110
+ "@jupyterlab/metadataform": "^4.0.0",
111
+ "@jupyterlab/nbconvert-css": "^4.0.0",
112
+ "@jupyterlab/notebook": "^4.0.0",
113
+ "@jupyterlab/notebook-extension": "^4.0.0",
114
+ "@jupyterlab/observables": "^5.0.0",
115
+ "@jupyterlab/outputarea": "^4.0.0",
116
+ "@jupyterlab/property-inspector": "^4.0.0",
117
+ "@jupyterlab/rendermime": "^4.0.0",
118
+ "@jupyterlab/rendermime-extension": "^4.0.0",
119
+ "@jupyterlab/rendermime-interfaces": "^3.9.0",
120
+ "@jupyterlab/services": "^7.0.0",
121
+ "@jupyterlab/settingregistry": "^4.0.0",
122
+ "@jupyterlab/shortcuts-extension": "^4.0.0",
123
+ "@jupyterlab/statusbar-extension": "^4.0.0",
124
+ "@jupyterlab/terminal": "^4.0.0",
125
+ "@jupyterlab/theme-dark-extension": "^4.0.0",
126
+ "@jupyterlab/theme-light-extension": "^4.0.0",
127
+ "@jupyterlab/toc-extension": "^6.0.0",
128
+ "@jupyterlab/translation-extension": "^4.0.0",
129
+ "@jupyterlab/ui-components-extension": "^4.0.0",
130
+ "@jupyterlite/pyodide-kernel-extension": "^0.2.0",
131
+ "@jupyterlite/server": "^0.2.2",
132
+ "@jupyterlite/server-extension": "^0.2.2",
133
+ "@lumino/default-theme": "^2.0.0",
134
+ "@primer/react": "^36.6.0",
135
+ "assert": "^2.0.0",
136
+ "bufferutil": "^4.0.8",
137
+ "codemirror": "^6.0.1",
138
+ "encoding": "^0.1.13",
139
139
  "lodash": "^4.17.4",
140
- "marked": "4.0.10",
141
- "plotly.js": "2.26.2",
142
- "react": "18.2.0",
143
- "react-dom": "18.2.0",
144
- "react-error-boundary": "3.1.3",
145
- "react-inspector": "5.1.1",
146
- "react-redux": "8.1.2",
147
- "react-sparklines": "1.7.0",
148
- "redux": "4.2.1",
149
- "redux-observable": "1.2.0",
150
- "rxjs": "6.6.0",
151
- "styled-components": "5.3.10",
152
- "typescript-fsa": "2.5.0",
153
- "typescript-fsa-reducers": "1.2.2",
154
- "usehooks-ts": "2.9.1",
155
- "utf-8-validate": "6.0.3",
156
- "wildcard-match": "5.1.2",
157
- "zustand": "4.4.1"
140
+ "marked": "^4.0.10",
141
+ "plotly.js": "^2.26.2",
142
+ "react": "^18.2.0",
143
+ "react-dom": "^18.2.0",
144
+ "react-error-boundary": "^3.1.3",
145
+ "react-inspector": "^5.1.1",
146
+ "react-redux": "^8.1.2",
147
+ "react-sparklines": "^1.7.0",
148
+ "redux": "^4.2.1",
149
+ "redux-observable": "^1.2.0",
150
+ "rxjs": "^6.6.0",
151
+ "styled-components": "^5.3.10",
152
+ "typescript-fsa": "^2.5.0",
153
+ "typescript-fsa-reducers": "^1.2.2",
154
+ "usehooks-ts": "^2.9.1",
155
+ "utf-8-validate": "^6.0.3",
156
+ "wildcard-match": "^5.1.2",
157
+ "zustand": "^4.4.1"
158
158
  },
159
159
  "devDependencies": {
160
- "@babel/core": "7.21.0",
161
- "@babel/plugin-proposal-class-properties": "7.18.6",
162
- "@babel/plugin-transform-typescript": "7.22.10",
163
- "@babel/preset-env": "7.20.2",
164
- "@babel/preset-react": "7.18.6",
165
- "@babel/preset-typescript": "7.21.0",
166
- "@jupyterlab/builder": "4.1.0-beta.0",
167
- "@jupyterlab/geojson-extension": "3.4.0",
168
- "@jupyterlab/running": "4.1.0-beta.0",
169
- "@jupyterlab/running-extension": "4.1.0-beta.0",
170
- "@jupyterlab/testutils": "4.1.0-beta.0",
171
- "@jupyterlab/vega3-extension": "3.3.0",
172
- "@jupyterlite/javascript-kernel-extension": "0.2.2",
160
+ "@babel/core": "^7.21.0",
161
+ "@babel/plugin-proposal-class-properties": "^7.18.6",
162
+ "@babel/plugin-transform-typescript": "^7.22.10",
163
+ "@babel/preset-env": "^7.20.2",
164
+ "@babel/preset-react": "^7.18.6",
165
+ "@babel/preset-typescript": "^7.21.0",
166
+ "@jupyterlab/builder": "^4.0.0",
167
+ "@jupyterlab/geojson-extension": "^3.4.0",
168
+ "@jupyterlab/running": "^4.0.0",
169
+ "@jupyterlab/running-extension": "^4.0.0",
170
+ "@jupyterlab/testutils": "^4.0.0",
171
+ "@jupyterlab/vega3-extension": "^3.3.0",
172
+ "@jupyterlite/javascript-kernel-extension": "^0.2.2",
173
173
  "@playwright/test": "^1.40.1",
174
174
  "@primer/octicons-react": "^19.8.0",
175
175
  "@storybook/addon-essentials": "^7.6.5",
@@ -181,61 +181,61 @@
181
181
  "@storybook/react": "^7.6.5",
182
182
  "@storybook/react-webpack5": "^7.6.5",
183
183
  "@storybook/test": "^7.6.5",
184
- "@types/codemirror": "5.60.4",
185
- "@types/jest": "29.4.0",
186
- "@types/marked": "4.0.1",
187
- "@types/node": "18.15.3",
184
+ "@types/codemirror": "^5.60.4",
185
+ "@types/jest": "^29.4.0",
186
+ "@types/marked": "^4.0.1",
187
+ "@types/node": "^18.15.3",
188
188
  "@types/plotly.js": "^2.12.31",
189
- "@types/react": "18.2.12",
190
- "@types/react-dom": "18.2.5",
191
- "@types/react-inspector": "4.0.2",
192
- "@types/react-sparklines": "1.7.5",
189
+ "@types/react": "^18.2.12",
190
+ "@types/react-dom": "^18.2.5",
191
+ "@types/react-inspector": "^4.0.2",
192
+ "@types/react-sparklines": "^1.7.5",
193
193
  "@types/semver": "^7.5.6",
194
- "@types/styled-components": "5.1.26",
195
- "@types/uuid": "8.3.0",
196
- "@types/webpack-env": "1.18.2",
194
+ "@types/styled-components": "^5.1.26",
195
+ "@types/uuid": "^8.3.0",
196
+ "@types/webpack-env": "^1.18.2",
197
197
  "@typescript-eslint/eslint-plugin": "^6.1.0",
198
198
  "@typescript-eslint/parser": "^6.1.0",
199
- "babel-loader": "9.1.2",
200
- "bundle-loader": "0.5.6",
201
- "cross-env": "7.0.3",
202
- "css-loader": "6.9.1",
199
+ "babel-loader": "^9.1.2",
200
+ "bundle-loader": "^0.5.6",
201
+ "cross-env": "^7.0.3",
202
+ "css-loader": "^6.9.1",
203
203
  "eslint": "^8.36.0",
204
204
  "eslint-config-prettier": "^8.8.0",
205
205
  "eslint-plugin-prettier": "^5.0.0",
206
- "gulp": "4.0.2",
207
- "gulp-append-prepend": "1.0.8",
208
- "gulp-filter": "6.0.0",
209
- "gulp-watch": "5.0.1",
210
- "html-webpack-plugin": "5.3.1",
211
- "html-webpack-tags-plugin": "2.0.17",
212
- "jest": "29.4.3",
213
- "jupyterlab-plotly": "5.17.0",
214
- "mkdirp": "1.0.3",
215
- "npm-run-all": "4.1.5",
216
- "prettier": "3.0.0",
217
- "process": "0.11.10",
218
- "rimraf": "3.0.2",
206
+ "gulp": "^4.0.2",
207
+ "gulp-append-prepend": "^1.0.8",
208
+ "gulp-filter": "^6.0.0",
209
+ "gulp-watch": "^5.0.1",
210
+ "html-webpack-plugin": "^5.3.1",
211
+ "html-webpack-tags-plugin": "^2.0.17",
212
+ "jest": "^29.4.3",
213
+ "jupyterlab-plotly": "^5.17.0",
214
+ "mkdirp": "^1.0.3",
215
+ "npm-run-all": "^4.1.5",
216
+ "prettier": "^3.0.0",
217
+ "process": "^0.11.10",
218
+ "rimraf": "^3.0.2",
219
219
  "storybook": "^7.6.5",
220
- "stream": "0.0.2",
221
- "stream-browserify": "2.0.2",
222
- "style-loader": "2.0.0",
220
+ "stream": "^0.0.2",
221
+ "stream-browserify": "^2.0.2",
222
+ "style-loader": "^2.0.0",
223
223
  "stylelint": "^15.10.1",
224
224
  "stylelint-config-recommended": "^13.0.0",
225
225
  "stylelint-config-standard": "^34.0.0",
226
226
  "stylelint-csstree-validator": "^3.0.0",
227
227
  "stylelint-prettier": "^4.0.0",
228
- "svg-url-loader": "7.1.1",
229
- "ts-jest": "29.0.5",
228
+ "svg-url-loader": "^7.1.1",
229
+ "ts-jest": "^29.0.5",
230
230
  "ts-loader": "^9.4.3",
231
- "typedoc": "0.25.7",
232
- "typescript": "5.0.3",
233
- "url-loader": "~3.0.0",
234
- "watch": "~1.0.2",
235
- "webpack": "5.74.0",
236
- "webpack-cli": "5.1.4",
237
- "webpack-dev-server": "4.9.3",
238
- "whatwg-fetch": "3.6.2"
231
+ "typedoc": "^0.25.7",
232
+ "typescript": "~5.0.3",
233
+ "url-loader": "^3.0.0",
234
+ "watch": "^1.0.2",
235
+ "webpack": "^5.74.0",
236
+ "webpack-cli": "^5.1.4",
237
+ "webpack-dev-server": "^4.9.3",
238
+ "whatwg-fetch": "^3.6.2"
239
239
  },
240
240
  "sideEffects": [
241
241
  "style/*.css",
@@ -263,7 +263,24 @@
263
263
  "extension": "./lib/jupyter/lab/index.js",
264
264
  "outputDir": "jupyter_react/labextension",
265
265
  "schemaDir": "schema",
266
- "webpackConfig": "./webpack.lab-config.js"
266
+ "webpackConfig": "./webpack.lab-config.js",
267
+ "sharedPackages": {
268
+ "@jupyter/web-components": {
269
+ "bundled": true,
270
+ "singleton": true
271
+ },
272
+ "@jupyter-notebook/tree": {
273
+ "singleton": true
274
+ },
275
+ "@microsoft/fast-element": {
276
+ "bundled": true,
277
+ "singleton": true
278
+ },
279
+ "@microsoft/fast-foundation": {
280
+ "bundled": true,
281
+ "singleton": true
282
+ }
283
+ }
267
284
  },
268
285
  "jupyter-releaser": {
269
286
  "hooks": {