From a3e55332555f5abcd942da0d626f2e5105eac13f Mon Sep 17 00:00:00 2001 From: Jeremy Tuloup Date: Mon, 13 Jan 2025 11:04:37 +0100 Subject: [PATCH] Rename npm package (#16) --- README.md | 4 +- docs/conf.py | 2 +- dodo.py | 2 +- examples/overrides.json | 2 +- js/_meta/package.json | 8 +- js/_meta/src/index.ts | 2 +- js/jupyterlab-slideshow/README.md | 4 +- js/jupyterlab-slideshow/package.json | 8 +- package.json | 6 +- pages-lite/overrides.json | 2 +- src/jupyterlab_slideshow/_version.py | 2 +- yarn.lock | 114 +++++++++++++-------------- 12 files changed, 78 insertions(+), 78 deletions(-) diff --git a/README.md b/README.md index 32fb1c4..8f1878a 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ [conda]: https://anaconda.org/conda-forge/jupyterlab-deck [pypi-badge]: https://img.shields.io/pypi/v/jupyterlab-deck [pypi]: https://pypi.org/project/jupyterlab-deck/ -[npm]: https://npmjs.com/package/@jupyterlab/slideshow +[npm]: https://npmjs.com/package/jupyterlab-slideshow [npm-badge]: https://img.shields.io/npm/v/@deathbeds/jupyterlab-deck [cov]: https://codecov.io/gh/deathbeds/jupyterlab-deck [cov-badge]: @@ -254,7 +254,7 @@ restore the part to the default layout. ```json { - "@jupyterlab/slideshow:plugin": { + "jupyterlab-slideshow:plugin": { "active": true } } diff --git a/docs/conf.py b/docs/conf.py index c024f7e..6d7eb7d 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -88,7 +88,7 @@ # }, { "name": "npm", - "url": "https://www.npmjs.com/package/@jupyterlab/slideshow", + "url": "https://www.npmjs.com/package/jupyterlab-slideshow", "icon": "fa-brands fa-npm", }, ], diff --git a/dodo.py b/dodo.py index 06a8d99..ed3f769 100644 --- a/dodo.py +++ b/dodo.py @@ -23,7 +23,7 @@ class C: - NPM_NAME = "@jupyterlab/slideshow" + NPM_NAME = "jupyterlab-slideshow" OLD_VERSION = "0.2.1" VERSION = "0.3.0" JS_VERSION = ( diff --git a/examples/overrides.json b/examples/overrides.json index 9d99baf..18a999b 100644 --- a/examples/overrides.json +++ b/examples/overrides.json @@ -2,7 +2,7 @@ "jupyterlab-videochat:plugin": { "disablePublicRooms": false }, - "@jupyterlab/slideshow:plugin": { + "jupyterlab-slideshow:plugin": { "active": true } } diff --git a/js/_meta/package.json b/js/_meta/package.json index fbc1c1e..303351b 100644 --- a/js/_meta/package.json +++ b/js/_meta/package.json @@ -1,12 +1,12 @@ { "private": true, - "name": "@jupyterlab/slideshow-metapackage", + "name": "jupyterlab-slideshow-metapackage", "version": "0.0.0", "description": "JupyterLab Deck - Metapackage", "license": "BSD-3-Clause", "author": { - "name": "Jupyter Development Team", - "email": "jupyter@googlegroups.com" + "name": "JupyterLab Contrib Team", + "email": "" }, "homepage": "https://github.com/jupyterlab-contrib/jupyterlab-slideshow", "repository": { @@ -23,6 +23,6 @@ }, "types": "lib/index.d.ts", "dependencies": { - "@jupyterlab/slideshow": "workspace:^" + "jupyterlab-slideshow": "workspace:^" } } diff --git a/js/_meta/src/index.ts b/js/_meta/src/index.ts index dd65c47..8cae256 100644 --- a/js/_meta/src/index.ts +++ b/js/_meta/src/index.ts @@ -1 +1 @@ -export * from '@jupyterlab/slideshow'; +export * from 'jupyterlab-slideshow'; diff --git a/js/jupyterlab-slideshow/README.md b/js/jupyterlab-slideshow/README.md index e87569a..48624b2 100644 --- a/js/jupyterlab-slideshow/README.md +++ b/js/jupyterlab-slideshow/README.md @@ -27,7 +27,7 @@ [conda]: https://anaconda.org/conda-forge/jupyterlab-deck [pypi-badge]: https://img.shields.io/pypi/v/jupyterlab-deck [pypi]: https://pypi.org/project/jupyterlab-deck/ -[npm]: https://npmjs.com/package/@jupyterlab/slideshow +[npm]: https://npmjs.com/package/jupyterlab-slideshow [npm-badge]: https://img.shields.io/npm/v/@deathbeds/jupyterlab-deck [cov]: https://codecov.io/gh/deathbeds/jupyterlab-deck [cov-badge]: @@ -252,7 +252,7 @@ restore the part to the default layout. ```json { - "@jupyterlab/slideshow:plugin": { + "jupyterlab-slideshow:plugin": { "active": true } } diff --git a/js/jupyterlab-slideshow/package.json b/js/jupyterlab-slideshow/package.json index 0bc0386..b563a44 100644 --- a/js/jupyterlab-slideshow/package.json +++ b/js/jupyterlab-slideshow/package.json @@ -1,11 +1,11 @@ { - "name": "@jupyterlab/slideshow", + "name": "jupyterlab-slideshow", "version": "0.3.0", "description": "Lightweight presentations for JupyterLab", "license": "BSD-3-Clause", "author": { - "name": "Jupyter Development Team", - "email": "jupyter@googlegroups.com" + "name": "JupyterLab Contrib Team", + "email": "" }, "homepage": "https://github.com/jupyterlab-contrib/jupyterlab-slideshow", "repository": { @@ -44,7 +44,7 @@ }, "jupyterlab": { "extension": "lib/plugin.js", - "outputDir": "../../src/_d/share/jupyter/labextensions/@jupyterlab/slideshow", + "outputDir": "../../src/_d/share/jupyter/labextensions/jupyterlab-slideshow", "schemaDir": "schema", "webpackConfig": "./webpack.config.js", "sharedPackages": { diff --git a/package.json b/package.json index de86f7e..7bfd011 100644 --- a/package.json +++ b/package.json @@ -1,10 +1,10 @@ { "private": true, - "name": "@jupyterlab/slideshow-repo", + "name": "jupyterlab-slideshow-repo", "version": "0.0.0", "author": { - "name": "Jupyter Development Team", - "email": "jupyter@googlegroups.com" + "name": "JupyterLab Contrib Team", + "email": "" }, "homepage": "https://github.com/jupyterlab-contrib/jupyterlab-slideshow", "workspaces": { diff --git a/pages-lite/overrides.json b/pages-lite/overrides.json index 9d99baf..18a999b 100644 --- a/pages-lite/overrides.json +++ b/pages-lite/overrides.json @@ -2,7 +2,7 @@ "jupyterlab-videochat:plugin": { "disablePublicRooms": false }, - "@jupyterlab/slideshow:plugin": { + "jupyterlab-slideshow:plugin": { "active": true } } diff --git a/src/jupyterlab_slideshow/_version.py b/src/jupyterlab_slideshow/_version.py index d5149c9..90be9d9 100644 --- a/src/jupyterlab_slideshow/_version.py +++ b/src/jupyterlab_slideshow/_version.py @@ -3,7 +3,7 @@ from pathlib import Path HERE = Path(__file__).parent -_PKG_PATH = "share/jupyter/labextensions/@jupyterlab/slideshow/package.json" +_PKG_PATH = "share/jupyter/labextensions/jupyterlab-slideshow/package.json" _D = HERE.parent / "_d" diff --git a/yarn.lock b/yarn.lock index 011ff1f..f4dca35 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1505,63 +1505,6 @@ __metadata: languageName: node linkType: hard -"@jupyterlab/slideshow-metapackage@workspace:js/_meta": - version: 0.0.0-use.local - resolution: "@jupyterlab/slideshow-metapackage@workspace:js/_meta" - dependencies: - "@jupyterlab/slideshow": "workspace:^" - languageName: unknown - linkType: soft - -"@jupyterlab/slideshow-repo@workspace:.": - version: 0.0.0-use.local - resolution: "@jupyterlab/slideshow-repo@workspace:." - dependencies: - "@ephesoft/webpack.istanbul.loader": ^2.2.0 - "@istanbuljs/nyc-config-typescript": ^1.0.2 - "@typescript-eslint/eslint-plugin": ^6.7.3 - "@typescript-eslint/parser": ^6.7.3 - eslint: ^8.50.0 - eslint-config-prettier: ^9.0.0 - eslint-plugin-import: ^2.28.1 - eslint-plugin-prettier: ^5.0.0 - eslint-plugin-react: ^7.33.2 - lerna: ^7.3.0 - nyc: ^15.1.0 - prettier: ^3.0.3 - prettier-package-json: ^2.8.0 - prettier-plugin-sort-json: ^3.1.0 - source-map-loader: ^4.0.1 - stylelint: ^15.10.3 - stylelint-config-recommended: ^13.0.0 - stylelint-config-standard: ^34.0.0 - stylelint-prettier: ^4.0.2 - ts-loader: ^9.4.4 - ts-node: ^10.9.1 - typescript: ~5.2.2 - yarn-berry-deduplicate: ^6.1.1 - languageName: unknown - linkType: soft - -"@jupyterlab/slideshow@workspace:^, @jupyterlab/slideshow@workspace:js/jupyterlab-slideshow": - version: 0.0.0-use.local - resolution: "@jupyterlab/slideshow@workspace:js/jupyterlab-slideshow" - dependencies: - "@deathbeds/jupyterlab-fonts": ^3.0.0 - "@jupyter-notebook/application": ^7.1.0 - "@jupyterlab/application": ^4.1.0 - "@jupyterlab/apputils": ^4.2.0 - "@jupyterlab/builder": ^4.0.7 - "@jupyterlab/fileeditor": ^4.1.0 - "@jupyterlab/markdownviewer": ^4.1.0 - "@jupyterlab/notebook": ^4.1.0 - "@jupyterlab/statusbar": ^4.1.0 - "@jupyterlab/ui-components": ^4.1.0 - "@types/d3-drag": 3 - d3-drag: 3 - languageName: unknown - linkType: soft - "@jupyterlab/statedb@npm:^4.2.6, @jupyterlab/statedb@npm:^4.3.1": version: 4.3.1 resolution: "@jupyterlab/statedb@npm:4.3.1" @@ -7684,6 +7627,63 @@ __metadata: languageName: node linkType: hard +"jupyterlab-slideshow-metapackage@workspace:js/_meta": + version: 0.0.0-use.local + resolution: "jupyterlab-slideshow-metapackage@workspace:js/_meta" + dependencies: + jupyterlab-slideshow: "workspace:^" + languageName: unknown + linkType: soft + +"jupyterlab-slideshow-repo@workspace:.": + version: 0.0.0-use.local + resolution: "jupyterlab-slideshow-repo@workspace:." + dependencies: + "@ephesoft/webpack.istanbul.loader": ^2.2.0 + "@istanbuljs/nyc-config-typescript": ^1.0.2 + "@typescript-eslint/eslint-plugin": ^6.7.3 + "@typescript-eslint/parser": ^6.7.3 + eslint: ^8.50.0 + eslint-config-prettier: ^9.0.0 + eslint-plugin-import: ^2.28.1 + eslint-plugin-prettier: ^5.0.0 + eslint-plugin-react: ^7.33.2 + lerna: ^7.3.0 + nyc: ^15.1.0 + prettier: ^3.0.3 + prettier-package-json: ^2.8.0 + prettier-plugin-sort-json: ^3.1.0 + source-map-loader: ^4.0.1 + stylelint: ^15.10.3 + stylelint-config-recommended: ^13.0.0 + stylelint-config-standard: ^34.0.0 + stylelint-prettier: ^4.0.2 + ts-loader: ^9.4.4 + ts-node: ^10.9.1 + typescript: ~5.2.2 + yarn-berry-deduplicate: ^6.1.1 + languageName: unknown + linkType: soft + +"jupyterlab-slideshow@workspace:^, jupyterlab-slideshow@workspace:js/jupyterlab-slideshow": + version: 0.0.0-use.local + resolution: "jupyterlab-slideshow@workspace:js/jupyterlab-slideshow" + dependencies: + "@deathbeds/jupyterlab-fonts": ^3.0.0 + "@jupyter-notebook/application": ^7.1.0 + "@jupyterlab/application": ^4.1.0 + "@jupyterlab/apputils": ^4.2.0 + "@jupyterlab/builder": ^4.0.7 + "@jupyterlab/fileeditor": ^4.1.0 + "@jupyterlab/markdownviewer": ^4.1.0 + "@jupyterlab/notebook": ^4.1.0 + "@jupyterlab/statusbar": ^4.1.0 + "@jupyterlab/ui-components": ^4.1.0 + "@types/d3-drag": 3 + d3-drag: 3 + languageName: unknown + linkType: soft + "keyv@npm:^4.0.0, keyv@npm:^4.5.3": version: 4.5.4 resolution: "keyv@npm:4.5.4"