Skip to content

Commit

Permalink
Rename lab extension to @jupyter-server/resource-usage
Browse files Browse the repository at this point in the history
  • Loading branch information
jtpio committed Nov 26, 2020
1 parent c2ae0cc commit f231e47
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
run: |
python -m pip install .
jupyter labextension list 2>&1 | grep -ie "nbresuse.*OK"
jupyter labextension list 2>&1 | grep -ie "@jupyter-server/resource-usage.*OK"
python -m jupyterlab.browser_check
- name: Lint
Expand Down
2 changes: 1 addition & 1 deletion packages/labextension/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "nbresuse",
"name": "@jupyter-server/resource-usage",
"version": "0.1.0",
"description": "JupyterLab extension to add resource usage UI items",
"keywords": [
Expand Down
4 changes: 2 additions & 2 deletions packages/labextension/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import { MemoryUsage } from './memoryUsage';
* Initialization data for the nbresuse extension.
*/
const extension: JupyterFrontEndPlugin<void> = {
id: 'nbresuse:memory-usage-status',
id: '@jupyter-server/resource-usage:memory-status-item',
autoStart: true,
requires: [IStatusBar, ITranslator],
activate: (
Expand All @@ -23,7 +23,7 @@ const extension: JupyterFrontEndPlugin<void> = {
) => {
const item = new MemoryUsage(translator);

statusBar.registerStatusItem('nbresuse:memory-usage-status', {
statusBar.registerStatusItem(extension.id, {
item,
align: 'left',
rank: 2,
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

package_data_spec = {name: ["*"]}

labext_name = "nbresuse"
labext_name = "@jupyter-server/resource-usage"

data_files_spec = [
("share/jupyter/labextensions/%s" % labext_name, lab_path, "**"),
Expand Down

0 comments on commit f231e47

Please sign in to comment.