From 466cb53f581ae5dc5a61259830f05e2ce6f96dae Mon Sep 17 00:00:00 2001 From: chavlin Date: Fri, 27 Sep 2024 10:04:43 -0500 Subject: [PATCH 01/16] bump min python to 3.9, update action versions --- .github/workflows/build.yml | 6 +++--- .github/workflows/publish-to-pypi.yml | 2 +- pyproject.toml | 8 +++----- 3 files changed, 7 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 23c76e7..9ccdc80 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -8,15 +8,15 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [3.8, 3.9, "3.10", "3.11"] + python-version: [3.9, "3.10", "3.11"] steps: - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install node - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: '18.x' - name: Install dependencies diff --git a/.github/workflows/publish-to-pypi.yml b/.github/workflows/publish-to-pypi.yml index 9567333..aee1a56 100644 --- a/.github/workflows/publish-to-pypi.yml +++ b/.github/workflows/publish-to-pypi.yml @@ -10,7 +10,7 @@ jobs: name: Build and Publish runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python 3.10 uses: actions/setup-python@v4 with: diff --git a/pyproject.toml b/pyproject.toml index 3b24ec8..da48193 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -9,7 +9,7 @@ build-backend = "hatchling.build" name = "widgyts" description = "A Custom Jupyter Widget Library for Interactive Visualization with yt" readme = "README.md" -requires-python = ">=3.7" +requires-python = ">=3.9" authors = [ { name = "The yt Project", email = "yt-dev@python.org" }, ] @@ -23,10 +23,9 @@ classifiers = [ "License :: OSI Approved :: BSD License", "Programming Language :: Python", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.6", - "Programming Language :: Python :: 3.7", - "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", ] dependencies = [ "ipycanvas>=0.4.7", @@ -95,7 +94,6 @@ npm = [ [tool.black] line-length = 88 target-version = [ - "py38", "py39", "py310", "py311", From 91cb22000d936999e8717a76cd1d0d4258bfcbf6 Mon Sep 17 00:00:00 2001 From: chavlin Date: Fri, 27 Sep 2024 12:49:13 -0500 Subject: [PATCH 02/16] update deps for jlab 4 --- .eslintrc.js | 13 +------ .github/workflows/build.yml | 2 +- .gitignore | 1 - .yarnrc.yml | 1 + README.md | 4 +- babel.config.js | 13 +++++++ package.json | 78 ++++++++++++++++++------------------- pyproject.toml | 33 ++++++++++------ src/fullscreen.ts | 2 +- 9 files changed, 77 insertions(+), 70 deletions(-) create mode 100644 .yarnrc.yml create mode 100644 babel.config.js diff --git a/.eslintrc.js b/.eslintrc.js index d66148c..5948cf3 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -7,22 +7,11 @@ module.exports = { ], parser: '@typescript-eslint/parser', parserOptions: { - project: 'tsconfig.json', + project: 'tsconfig.eslint.json', sourceType: 'module' }, plugins: ['@typescript-eslint'], rules: { - '@typescript-eslint/naming-convention': [ - 'error', - { - 'selector': 'interface', - 'format': ['PascalCase'], - 'custom': { - 'regex': '^I[A-Z]', - 'match': true - } - } - ], '@typescript-eslint/no-unused-vars': ['warn', { args: 'none' }], '@typescript-eslint/no-explicit-any': 'off', '@typescript-eslint/no-namespace': 'off', diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9ccdc80..6b2be7d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -20,7 +20,7 @@ jobs: with: node-version: '18.x' - name: Install dependencies - run: python -m pip install -U jupyterlab~=3.0 + run: python -m pip install -U jupyterlab~=4.0 - name: Build the extension run: | jlpm diff --git a/.gitignore b/.gitignore index 4c81b4f..787e0bb 100644 --- a/.gitignore +++ b/.gitignore @@ -116,5 +116,4 @@ dmypy.json # yarn build related .yarn/ -.yarnrc.yml yarn.lock diff --git a/.yarnrc.yml b/.yarnrc.yml new file mode 100644 index 0000000..3186f3f --- /dev/null +++ b/.yarnrc.yml @@ -0,0 +1 @@ +nodeLinker: node-modules diff --git a/README.md b/README.md index 0275416..c87f4de 100644 --- a/README.md +++ b/README.md @@ -41,13 +41,13 @@ The following assumes you're using conda. If not, you'll need to install nodejs in your environemnt separately. ```bash -conda create -n widgyts-dev -c conda-forge nodejs python=3.10 jupyterlab=3 +conda create -n widgyts-dev -c conda-forge nodejs python=3.10 jupyterlab=4 conda activate widgyts-dev ``` Install the python. This will also build the TS package. ```bash -pip install -e "." +pip install -e . ``` When developing your extensions, you need to manually enable your extensions with the diff --git a/babel.config.js b/babel.config.js new file mode 100644 index 0000000..bbc789a --- /dev/null +++ b/babel.config.js @@ -0,0 +1,13 @@ +module.exports = { + sourceMap: 'inline', + presets: [ + [ + '@babel/preset-env', + { + targets: { + node: 'current', + }, + }, + ], + ], +}; diff --git a/package.json b/package.json index 8052b47..b5dc820 100644 --- a/package.json +++ b/package.json @@ -60,54 +60,50 @@ }, "dependencies": { "@data-exp-lab/yt-tools": "^0.4.1", - "@jupyter-widgets/base": "^1.1.10 || ^2 || ^3 || ^4", - "@jupyterlab/application": "^3.0.4", - "@jupyterlab/coreutils": "^5.0.2", - "@jupyterlab/mainmenu": "^3.0.3", - "@jupyterlab/services": "^6.0.3", + "@jupyter-widgets/base": "^1.1.10 || ^2 || ^3 || ^4 || ^5 || ^6", + "@jupyterlab/application": "^4.2.5", "@types/fscreen": "^1.0.1", "@types/node": "^10.11.6", "@types/three": "^0.141.0", "fscreen": "^1.2.0", - "ipycanvas": "^0.8.2", + "ipycanvas": "^0.13.3", "jupyter-threejs": "^2.3.0" }, "devDependencies": { - "@jupyterlab/builder": "^3.0.0", - "@phosphor/application": "^1.6.0", - "@phosphor/widgets": "^1.6.0", - "@types/expect.js": "^0.3.29", - "@types/mocha": "^5.2.5", - "@types/node": "^10.11.6", - "@types/webpack-env": "^1.13.6", - "@typescript-eslint/eslint-plugin": "^3.6.0", - "@typescript-eslint/parser": "^3.6.0", - "acorn": "^7.2.0", - "css-loader": "^3.2.0", - "eslint": "^7.4.0", - "eslint-config-prettier": "^6.11.0", - "eslint-plugin-prettier": "^3.1.4", - "expect.js": "^0.3.1", - "fs-extra": "^7.0.0", - "karma": "^3.1.0", - "karma-chrome-launcher": "^2.2.0", - "karma-firefox-launcher": "^1.1.0", - "karma-ie-launcher": "^1.0.0", - "karma-mocha": "^1.3.0", - "karma-mocha-reporter": "^2.2.5", - "karma-typescript": "^5.0.3", - "karma-typescript-es6-transform": "^5.0.3", - "mkdirp": "^0.5.1", - "mocha": "^5.2.0", - "npm-run-all": "^4.1.3", - "prettier": "^2.0.5", - "rimraf": "^2.6.2", - "source-map-loader": "^0.2.4", - "style-loader": "^1.0.0", - "ts-loader": "^5.2.1", - "typescript": "^4.1.3", - "webpack": "^4.20.2", - "webpack-cli": "^3.1.2" + "@babel/core": "^7.23.7", + "@babel/preset-env": "^7.23.8", + "@jupyter-widgets/base-manager": "^1.0.7", + "@jupyterlab/builder": "^4.0.11", + "@lumino/application": "^2.3.0", + "@lumino/widgets": "^2.3.1", + "@types/jest": "^29.5.11", + "@types/webpack-env": "^1.18.4", + "@typescript-eslint/eslint-plugin": "^6.19.1", + "@typescript-eslint/parser": "^6.19.1", + "acorn": "^8.11.3", + "css-loader": "^6.9.1", + "eslint": "^8.56.0", + "eslint-config-prettier": "^9.1.0", + "eslint-plugin-prettier": "^5.1.3", + "fs-extra": "^11.2.0", + "identity-obj-proxy": "^3.0.0", + "jest": "^29.7.0", + "mkdirp": "^3.0.1", + "npm-run-all": "^4.1.5", + "prettier": "^3.2.4", + "rimraf": "^5.0.5", + "source-map-loader": "^5.0.0", + "style-loader": "^3.3.4", + "ts-jest": "^29.1.2", + "ts-loader": "^9.5.1", + "typescript": "~5.3.3", + "webpack": "^5.90.0", + "webpack-cli": "^5.1.4" + }, + "devDependenciesComments": { + "@jupyterlab/builder": "pinned to the latest JupyterLab 4.x release", + "@lumino/application": "pinned to the latest Lumino 2.x release", + "@lumino/widgets": "pinned to the latest Lumino 2.x release" }, "sideEffects": [ "style/*.css", diff --git a/pyproject.toml b/pyproject.toml index da48193..2eec5f3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,8 @@ [build-system] requires = [ - "hatchling", - "jupyterlab~=3.1", + "hatchling>=1.21.1", + "jupyterlab>=4.0.0,<5", + "hatch-nodejs-version>=0.3.2", ] build-backend = "hatchling.build" @@ -16,7 +17,7 @@ authors = [ keywords = [ "Jupyter", "JupyterLab", - "JupyterLab3", + "JupyterLab4", ] classifiers = [ "Framework :: Jupyter", @@ -29,8 +30,8 @@ classifiers = [ ] dependencies = [ "ipycanvas>=0.4.7", - "ipywidgets>=7.5.1", - "jupyterlab~=3.0", + "ipywidgets>=8.0.0", + "jupyterlab>=4.0", "numpy>=1.14", "pythreejs>=2.2.0", "traitlets>=4.3.3", @@ -49,12 +50,16 @@ Tracker = "https://github.com/yt-project/widgyts/issues" [tool.hatch.build] artifacts = [ + "widgyts/labextension/*.tgz", "widgyts/labextension", ] +[tool.hatch.metadata] +allow-direct-references = true + [tool.hatch.build.targets.wheel.shared-data] "widgyts/labextension/static" = "share/jupyter/labextensions/@yt-project/yt-widgets/static" -"install.json" = "share/jupyter/labextensions/@yt-project/yt-widgets/install.json" +"./install.json" = "share/jupyter/labextensions/@yt-project/yt-widgets/install.json" "widgyts/labextension/build_log.json" = "share/jupyter/labextensions/@yt-project/yt-widgets/build_log.json" "widgyts/labextension/package.json" = "share/jupyter/labextensions/@yt-project/yt-widgets/package.json" jupyter-config = "etc/jupyter/jupyter_server_config.d" @@ -66,7 +71,7 @@ exclude = [ [tool.hatch.build.hooks.jupyter-builder] dependencies = [ - "hatch-jupyter-builder>=0.9.1", + "hatch-jupyter-builder>=0.8.3", ] build-function = "hatch_jupyter_builder.npm_builder" ensured-targets = [ @@ -77,7 +82,15 @@ skip-if-exists = [ "widgyts/labextension/static/style.js", ] +[tool.hatch.build.hooks.jupyter-builder.build-kwargs] +path = "." +build_cmd = "build:prod" +npm = [ + "jlpm", +] + [tool.hatch.build.hooks.jupyter-builder.editable-build-kwargs] +path = "." build_dir = "widgyts/labextension" source_dir = "src" build_cmd = "install:extension" @@ -85,11 +98,7 @@ npm = [ "jlpm", ] -[tool.hatch.build.hooks.jupyter-builder.build-kwargs] -build_cmd = "build:prod" -npm = [ - "jlpm", -] + [tool.black] line-length = 88 diff --git a/src/fullscreen.ts b/src/fullscreen.ts index 2ef7b43..2a2ea9a 100644 --- a/src/fullscreen.ts +++ b/src/fullscreen.ts @@ -50,7 +50,7 @@ export class FullscreenButtonView extends DOMWidgetView { this.el.classList.add('jupyter-widgets'); this.el.classList.add('jupyter-button'); this.el.classList.add('widget-button'); - this.delegate('click', this.el, this._handle_click); + this.delegate('click', this.el.value, this._handle_click); this.update(); // Set defaults. } From 68387e87e1956a56128495f318f31152c0473ed5 Mon Sep 17 00:00:00 2001 From: chavlin Date: Fri, 27 Sep 2024 13:08:11 -0500 Subject: [PATCH 03/16] add missing config --- tsconfig.eslint.json | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 tsconfig.eslint.json diff --git a/tsconfig.eslint.json b/tsconfig.eslint.json new file mode 100644 index 0000000..0a76836 --- /dev/null +++ b/tsconfig.eslint.json @@ -0,0 +1,5 @@ +{ + "extends": "./tsconfig.json", + "include": ["src/**/*.ts", "src/**/*.tsx"], + "exclude": [] +} From aadc69027c2a025c2ba8d598359725a855549248 Mon Sep 17 00:00:00 2001 From: chavlin Date: Fri, 27 Sep 2024 13:17:55 -0500 Subject: [PATCH 04/16] use jupuyterlab maintainer-tools in build action --- .github/workflows/build.yml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6b2be7d..62e271d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -10,15 +10,11 @@ jobs: matrix: python-version: [3.9, "3.10", "3.11"] steps: - - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 - with: - python-version: ${{ matrix.python-version }} - uses: actions/checkout@v4 - - name: Install node - uses: actions/setup-node@v4 + - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1 with: - node-version: '18.x' + python-version: ${{ matrix.python-version }} + node-version: '18.x' - name: Install dependencies run: python -m pip install -U jupyterlab~=4.0 - name: Build the extension From 6331bf3c28706049f125096f8199c586a2c90400 Mon Sep 17 00:00:00 2001 From: chavlin Date: Fri, 27 Sep 2024 13:26:42 -0500 Subject: [PATCH 05/16] split out the ci build steps --- .github/workflows/build.yml | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 62e271d..477d4dd 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -17,14 +17,15 @@ jobs: node-version: '18.x' - name: Install dependencies run: python -m pip install -U jupyterlab~=4.0 - - name: Build the extension - run: | - jlpm - jlpm run eslint:check - python -m pip install yt - python -m pip install . - + - name: install ts modules + run: jlpm + - name: jlpm lint check + run: jlpm run eslint:check + - name: install python package + run: python -m pip install . + - name: check for widgyts in extensions + run: jupyter server extension list 2>&1 | grep -ie "widgyts.*OK" - jupyter labextension list 2>&1 | grep -ie "@yt-project/yt-widgets.*OK" - python -m jupyterlab.browser_check + - name: run jupyterlab browser check + run: python -m jupyterlab.browser_check From ecac50cf8f665ceb6c31ca8bf4d65cc929daf3f9 Mon Sep 17 00:00:00 2001 From: chavlin Date: Fri, 27 Sep 2024 13:27:29 -0500 Subject: [PATCH 06/16] correct typo in actions --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 477d4dd..7d1c481 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -13,8 +13,8 @@ jobs: - uses: actions/checkout@v4 - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1 with: - python-version: ${{ matrix.python-version }} - node-version: '18.x' + python_version: ${{ matrix.python-version }} + node_version: '18.x' - name: Install dependencies run: python -m pip install -U jupyterlab~=4.0 - name: install ts modules From 3009ef17d4e20920168b145ef855c9cc767afe52 Mon Sep 17 00:00:00 2001 From: chavlin Date: Fri, 27 Sep 2024 13:34:45 -0500 Subject: [PATCH 07/16] turn off fast-fail in action --- .github/workflows/build.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7d1c481..5ae4981 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -9,6 +9,7 @@ jobs: strategy: matrix: python-version: [3.9, "3.10", "3.11"] + fail-fast: false steps: - uses: actions/checkout@v4 - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1 From a76d35fc96171d408a9fcd949ab20327633f46d3 Mon Sep 17 00:00:00 2001 From: chavlin Date: Fri, 27 Sep 2024 13:45:12 -0500 Subject: [PATCH 08/16] add temporary debug to action --- .github/workflows/build.yml | 2 ++ .yarnrc.yml | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5ae4981..55b3c01 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -18,6 +18,8 @@ jobs: node_version: '18.x' - name: Install dependencies run: python -m pip install -U jupyterlab~=4.0 + - name: check jlpm config + run: jlpm config get enableImmutableInstalls - name: install ts modules run: jlpm - name: jlpm lint check diff --git a/.yarnrc.yml b/.yarnrc.yml index 3186f3f..91b1101 100644 --- a/.yarnrc.yml +++ b/.yarnrc.yml @@ -1 +1,5 @@ +compressionLevel: mixed + +enableGlobalCache: false + nodeLinker: node-modules From 68b5951ee986397d13dabad7a244fbcc276dad0b Mon Sep 17 00:00:00 2001 From: chavlin Date: Fri, 27 Sep 2024 13:47:06 -0500 Subject: [PATCH 09/16] allow yarn.lock generation --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 55b3c01..384827b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -18,8 +18,8 @@ jobs: node_version: '18.x' - name: Install dependencies run: python -m pip install -U jupyterlab~=4.0 - - name: check jlpm config - run: jlpm config get enableImmutableInstalls + - name: jlpm config + run: jlpm config set -H enableImmutableInstalls false - name: install ts modules run: jlpm - name: jlpm lint check From aa57841b78de3af4c5bde68c55708f0064e9f763 Mon Sep 17 00:00:00 2001 From: chavlin Date: Fri, 27 Sep 2024 13:51:53 -0500 Subject: [PATCH 10/16] fix another workflow typo --- .github/workflows/build.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 384827b..c6fc70e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -27,8 +27,9 @@ jobs: - name: install python package run: python -m pip install . - name: check for widgyts in extensions - run: + run: | jupyter server extension list 2>&1 | grep -ie "widgyts.*OK" + jupyter labextension list 2>&1 | grep -ie "@yt-project/yt-widgets.*OK" - name: run jupyterlab browser check run: python -m jupyterlab.browser_check From 49da0eb86ce430207e0c8a69ef9782a41e580b9b Mon Sep 17 00:00:00 2001 From: chavlin Date: Fri, 27 Sep 2024 14:02:30 -0500 Subject: [PATCH 11/16] add back eslint rule --- .eslintrc.js | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.eslintrc.js b/.eslintrc.js index 5948cf3..df50b4e 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -12,6 +12,17 @@ module.exports = { }, plugins: ['@typescript-eslint'], rules: { + '@typescript-eslint/naming-convention': [ + 'error', + { + 'selector': 'interface', + 'format': ['PascalCase'], + 'custom': { + 'regex': '^I[A-Z]', + 'match': true + } + } + ], '@typescript-eslint/no-unused-vars': ['warn', { args: 'none' }], '@typescript-eslint/no-explicit-any': 'off', '@typescript-eslint/no-namespace': 'off', From 80df818e2bfff21e3fde9c37efeaaf37b812c0c0 Mon Sep 17 00:00:00 2001 From: chavlin Date: Fri, 27 Sep 2024 14:11:12 -0500 Subject: [PATCH 12/16] add link to jlab maintainer-tools action --- .github/workflows/build.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c6fc70e..eb43a81 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -13,6 +13,7 @@ jobs: steps: - uses: actions/checkout@v4 - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1 + # https://github.com/jupyterlab/maintainer-tools/blob/main/.github/actions/base-setup/action.yml with: python_version: ${{ matrix.python-version }} node_version: '18.x' From b5bc4ebc694d84b2f3ab1eaee83137869c9cedfc Mon Sep 17 00:00:00 2001 From: chavlin Date: Fri, 27 Sep 2024 14:33:41 -0500 Subject: [PATCH 13/16] fix .yarnrc.yml --- .yarnrc.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.yarnrc.yml b/.yarnrc.yml index 91b1101..3186f3f 100644 --- a/.yarnrc.yml +++ b/.yarnrc.yml @@ -1,5 +1 @@ -compressionLevel: mixed - -enableGlobalCache: false - nodeLinker: node-modules From 573e1d7e820d475f7db2f4c68685f7b06efea711 Mon Sep 17 00:00:00 2001 From: chavlin Date: Fri, 27 Sep 2024 14:39:40 -0500 Subject: [PATCH 14/16] rm some unneeded additions --- babel.config.js | 13 ------------- package.json | 3 --- 2 files changed, 16 deletions(-) delete mode 100644 babel.config.js diff --git a/babel.config.js b/babel.config.js deleted file mode 100644 index bbc789a..0000000 --- a/babel.config.js +++ /dev/null @@ -1,13 +0,0 @@ -module.exports = { - sourceMap: 'inline', - presets: [ - [ - '@babel/preset-env', - { - targets: { - node: 'current', - }, - }, - ], - ], -}; diff --git a/package.json b/package.json index b5dc820..4a0eb44 100644 --- a/package.json +++ b/package.json @@ -76,7 +76,6 @@ "@jupyterlab/builder": "^4.0.11", "@lumino/application": "^2.3.0", "@lumino/widgets": "^2.3.1", - "@types/jest": "^29.5.11", "@types/webpack-env": "^1.18.4", "@typescript-eslint/eslint-plugin": "^6.19.1", "@typescript-eslint/parser": "^6.19.1", @@ -87,14 +86,12 @@ "eslint-plugin-prettier": "^5.1.3", "fs-extra": "^11.2.0", "identity-obj-proxy": "^3.0.0", - "jest": "^29.7.0", "mkdirp": "^3.0.1", "npm-run-all": "^4.1.5", "prettier": "^3.2.4", "rimraf": "^5.0.5", "source-map-loader": "^5.0.0", "style-loader": "^3.3.4", - "ts-jest": "^29.1.2", "ts-loader": "^9.5.1", "typescript": "~5.3.3", "webpack": "^5.90.0", From e09b57a996fd76f5d8262e44d0cceca2602794b1 Mon Sep 17 00:00:00 2001 From: chavlin Date: Fri, 27 Sep 2024 14:41:52 -0500 Subject: [PATCH 15/16] rm babel dep --- package.json | 2 -- 1 file changed, 2 deletions(-) diff --git a/package.json b/package.json index 4a0eb44..b14271b 100644 --- a/package.json +++ b/package.json @@ -70,8 +70,6 @@ "jupyter-threejs": "^2.3.0" }, "devDependencies": { - "@babel/core": "^7.23.7", - "@babel/preset-env": "^7.23.8", "@jupyter-widgets/base-manager": "^1.0.7", "@jupyterlab/builder": "^4.0.11", "@lumino/application": "^2.3.0", From 5e860ee39cc6594a8070cd9c44c55d88e18334a7 Mon Sep 17 00:00:00 2001 From: chavlin Date: Fri, 27 Sep 2024 14:46:33 -0500 Subject: [PATCH 16/16] rollback one more unneeded change --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 2eec5f3..129c652 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -59,7 +59,7 @@ allow-direct-references = true [tool.hatch.build.targets.wheel.shared-data] "widgyts/labextension/static" = "share/jupyter/labextensions/@yt-project/yt-widgets/static" -"./install.json" = "share/jupyter/labextensions/@yt-project/yt-widgets/install.json" +"install.json" = "share/jupyter/labextensions/@yt-project/yt-widgets/install.json" "widgyts/labextension/build_log.json" = "share/jupyter/labextensions/@yt-project/yt-widgets/build_log.json" "widgyts/labextension/package.json" = "share/jupyter/labextensions/@yt-project/yt-widgets/package.json" jupyter-config = "etc/jupyter/jupyter_server_config.d"