@jupyter-notebook/lab-extension 7.6.0-alpha.4 → 7.6.0-alpha.5

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 CHANGED
@@ -114,6 +114,25 @@ const interfaceSwitcher = {
114
114
  caption: commandLabel,
115
115
  execute,
116
116
  isEnabled,
117
+ describedBy: {
118
+ args: {
119
+ type: 'object',
120
+ properties: {
121
+ noLabel: {
122
+ type: 'boolean',
123
+ description: 'Whether to hide the command label.',
124
+ },
125
+ isMenu: {
126
+ type: 'boolean',
127
+ description: 'Whether the command is rendered in a menu.',
128
+ },
129
+ isPalette: {
130
+ type: 'boolean',
131
+ description: 'Whether the command is rendered in the command palette.',
132
+ },
133
+ },
134
+ },
135
+ },
117
136
  });
118
137
  if (palette) {
119
138
  palette.addItem({
@@ -180,6 +199,12 @@ const launchNotebookTree = {
180
199
  const url = URLExt.join(PageConfig.getBaseUrl(), 'tree');
181
200
  window.open(url);
182
201
  },
202
+ describedBy: {
203
+ args: {
204
+ type: 'object',
205
+ properties: {},
206
+ },
207
+ },
183
208
  });
184
209
  if (palette) {
185
210
  palette.addItem({ command: CommandIDs.launchNotebookTree, category });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jupyter-notebook/lab-extension",
3
- "version": "7.6.0-alpha.4",
3
+ "version": "7.6.0-alpha.5",
4
4
  "description": "Jupyter Notebook - Lab Extension",
5
5
  "homepage": "https://github.com/jupyter/notebook",
6
6
  "bugs": {
@@ -31,31 +31,31 @@
31
31
  ],
32
32
  "scripts": {
33
33
  "build": "jlpm run build:labextension:dev",
34
- "build:labextension": "jupyter labextension build .",
35
- "build:labextension:dev": "jupyter labextension build --development True .",
34
+ "build:labextension": "jupyter-builder build .",
35
+ "build:labextension:dev": "jupyter-builder build --development True .",
36
36
  "build:lib": "tsc -b",
37
37
  "build:prod": "jlpm run build:labextension",
38
38
  "clean": "jlpm run clean:lib && jlpm run clean:labextension",
39
39
  "clean:labextension": "rimraf ../../notebook/labextension",
40
40
  "clean:lib": "rimraf lib tsconfig.tsbuildinfo",
41
41
  "watch": "run-p watch:src watch:labextension",
42
- "watch:labextension": "jupyter labextension watch .",
42
+ "watch:labextension": "jupyter-builder watch .",
43
43
  "watch:src": "tsc -w"
44
44
  },
45
45
  "dependencies": {
46
- "@jupyter-notebook/application": "^7.6.0-alpha.4",
47
- "@jupyterlab/application": "~4.6.0-alpha.4",
48
- "@jupyterlab/apputils": "~4.7.0-alpha.4",
49
- "@jupyterlab/coreutils": "~6.6.0-alpha.4",
50
- "@jupyterlab/docregistry": "~4.6.0-alpha.4",
51
- "@jupyterlab/notebook": "~4.6.0-alpha.4",
52
- "@jupyterlab/translation": "~4.6.0-alpha.4",
53
- "@jupyterlab/ui-components": "~4.6.0-alpha.4",
46
+ "@jupyter-notebook/application": "^7.6.0-alpha.5",
47
+ "@jupyterlab/application": "~4.6.0-alpha.5",
48
+ "@jupyterlab/apputils": "~4.7.0-alpha.5",
49
+ "@jupyterlab/coreutils": "~6.6.0-alpha.5",
50
+ "@jupyterlab/docregistry": "~4.6.0-alpha.5",
51
+ "@jupyterlab/notebook": "~4.6.0-alpha.5",
52
+ "@jupyterlab/translation": "~4.6.0-alpha.5",
53
+ "@jupyterlab/ui-components": "~4.6.0-alpha.5",
54
54
  "@lumino/commands": "^2.3.3",
55
55
  "@lumino/disposable": "^2.1.5"
56
56
  },
57
57
  "devDependencies": {
58
- "@jupyterlab/builder": "~4.6.0-alpha.4",
58
+ "@jupyter/builder": "^0.0.8",
59
59
  "rimraf": "^3.0.2",
60
60
  "typescript": "~5.9.3"
61
61
  },
@@ -67,38 +67,5 @@
67
67
  "outputDir": "../../notebook/labextension",
68
68
  "schemaDir": "schema"
69
69
  },
70
- "nx": {
71
- "targets": {
72
- "build:labextension:dev": {
73
- "dependsOn": [
74
- "^build:lib",
75
- "build:lib"
76
- ],
77
- "outputs": [
78
- "{workspaceRoot}/notebook/labextension",
79
- "{workspaceRoot}/notebook/labextension/build_log.json"
80
- ]
81
- },
82
- "build:labextension": {
83
- "dependsOn": [
84
- "^build:lib",
85
- "build:lib"
86
- ],
87
- "outputs": [
88
- "{workspaceRoot}/notebook/labextension"
89
- ]
90
- },
91
- "build": {
92
- "dependsOn": [
93
- "build:labextension:dev"
94
- ]
95
- },
96
- "build:prod": {
97
- "dependsOn": [
98
- "build:labextension"
99
- ]
100
- }
101
- }
102
- },
103
70
  "styleModule": "style/index.js"
104
71
  }
@@ -4,7 +4,7 @@
4
4
  "jupyter.lab.menus": {
5
5
  "main": [
6
6
  {
7
- "id": "jp-mainmenu-help",
7
+ "id": "jp-mainmenu-view",
8
8
  "items": [
9
9
  {
10
10
  "command": "jupyter-notebook:launch-tree",