diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3f4af1ed..3dd9244d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -9,6 +9,7 @@ on: jobs: build_extensions: runs-on: ${{ matrix.os }} + timeout-minutes: 15 strategy: fail-fast: false @@ -49,17 +50,17 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Path filter id: filter - uses: dorny/paths-filter@v2 + uses: dorny/paths-filter@v3 with: filters: | extension: - '${{ matrix.example }}/**' - name: Cache lerna if: steps.filter.outputs.extension == 'true' - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: '**/node_modules' key: ${{ runner.os }}-lerna-${{ hashFiles('**/package.json') }} @@ -75,14 +76,14 @@ jobs: shell: bash - name: Install node if: steps.filter.outputs.extension == 'true' - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: - node-version: '18.x' + node-version: '22.x' - name: Install Python if: steps.filter.outputs.extension == 'true' - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: - python-version: '3.11' + python-version: '3.12' architecture: 'x64' - name: Get pip cache dir if: steps.filter.outputs.extension == 'true' @@ -92,7 +93,7 @@ jobs: shell: bash - name: Cache pip if: steps.filter.outputs.extension == 'true' - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ${{ steps.pip-cache.outputs.dir }} key: ${{ runner.os }}-pip-${{ hashFiles('environment.yml') }} @@ -138,7 +139,7 @@ jobs: run: jlpm install - name: Set up browser cache if: steps.filter.outputs.extension == 'true' && startsWith(runner.os, 'Linux') - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | ${{ github.workspace }}/pw-browsers @@ -156,9 +157,9 @@ jobs: run: jlpm playwright test - name: Upload UI Test artifacts if: steps.filter.outputs.extension == 'true' && startsWith(runner.os, 'Linux') && always() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: - name: ui-test-output + name: ui-test-output-${{ matrix.example }} path: | ${{ matrix.example }}/ui-tests/test-results - name: Uninstall extension @@ -175,26 +176,26 @@ jobs: os: [ubuntu-latest, macos-latest, windows-latest] steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Path filter id: filter - uses: dorny/paths-filter@v2 + uses: dorny/paths-filter@v3 with: filters: | extension: - 'server-extension/**' - name: Cache lerna if: steps.filter.outputs.extension == 'true' - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: '**/node_modules' key: ${{ runner.os }}-lerna-${{ hashFiles('server-extension/package.json') }} restore-keys: ${{ runner.os }}-lerna- - name: Install node if: steps.filter.outputs.extension == 'true' - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: - node-version: '18.x' + node-version: '22.x' - name: Check config files if: steps.filter.outputs.extension == 'true' run: | @@ -206,9 +207,9 @@ jobs: shell: bash - name: Install Python if: steps.filter.outputs.extension == 'true' - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: - python-version: '3.11' + python-version: '3.12' architecture: 'x64' - name: Get pip cache dir if: steps.filter.outputs.extension == 'true' @@ -218,7 +219,7 @@ jobs: shell: bash - name: Cache pip if: steps.filter.outputs.extension == 'true' - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ${{ steps.pip-cache.outputs.dir }} key: ${{ runner.os }}-pip-${{ hashFiles('environment.yml') }} @@ -227,7 +228,7 @@ jobs: - name: Install the Python dependencies if: steps.filter.outputs.extension == 'true' run: | - python -m pip install --upgrade pip jupyterlab~=4.0.0 build + python -m pip install --upgrade pip jupyterlab~=4.0 build - name: Install the NPM dependencies if: steps.filter.outputs.extension == 'true' run: | @@ -282,7 +283,7 @@ jobs: run: jlpm install - name: Set up browser cache if: steps.filter.outputs.extension == 'true' && startsWith(runner.os, 'Linux') - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | ${{ github.workspace }}/pw-browsers @@ -297,9 +298,9 @@ jobs: run: jlpm playwright test - name: Upload UI Test artifacts if: steps.filter.outputs.extension == 'true' && startsWith(runner.os, 'Linux') && always() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: - name: ui-test-output + name: ui-test-output-${{ matrix.example }} path: | server-extension/ui-tests/test-results - name: Uninstall extension @@ -316,21 +317,21 @@ jobs: os: [ubuntu-latest, macos-latest, windows-latest] steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Cache lerna - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: '**/node_modules' key: ${{ runner.os }}-lerna-${{ hashFiles('**/package.json') }} restore-keys: ${{ runner.os }}-lerna- - name: Install node - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: - node-version: '18.x' + node-version: '22.x' - name: Install Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: - python-version: '3.11' + python-version: '3.12' architecture: 'x64' - name: Get pip cache dir id: pip-cache @@ -338,14 +339,14 @@ jobs: echo "dir=$(pip cache dir)" >> $GITHUB_OUTPUT shell: bash - name: Cache pip - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ${{ steps.pip-cache.outputs.dir }} key: ${{ runner.os }}-pip-${{ hashFiles('environment.yml') }} restore-keys: | ${{ runner.os }}-pip- - name: Install the Python dependencies - run: python -m pip install jupyterlab~=4.0.0 pytest pytest-check-links "pytest-jupyter[server]>=0.6.0" + run: python -m pip install jupyterlab~=4.0 pytest pytest-check-links "pytest-jupyter[server]>=0.6.0" - name: Bootstrap the jlpm deps run: jlpm - name: Build all the extensions diff --git a/cell-toolbar/.copier-answers.yml b/cell-toolbar/.copier-answers.yml index 46e0e2c9..24630c8e 100644 --- a/cell-toolbar/.copier-answers.yml +++ b/cell-toolbar/.copier-answers.yml @@ -1,5 +1,5 @@ # Changes here will be overwritten by Copier; NEVER EDIT MANUALLY -_commit: v4.2.4 +_commit: v4.3.6 _src_path: https://github.com/jupyterlab/extension-template author_email: '' author_name: Project Jupyter Contributors diff --git a/cell-toolbar/package.json b/cell-toolbar/package.json index fc520d9b..a9e1c8e1 100644 --- a/cell-toolbar/package.json +++ b/cell-toolbar/package.json @@ -16,6 +16,7 @@ "files": [ "lib/**/*.{d.ts,eot,gif,html,jpg,js,js.map,json,png,svg,woff2,ttf}", "style/**/*.{css,js,eot,gif,html,jpg,json,png,svg,woff2,ttf}", + "src/**/*.{ts,tsx}", "schema/*.json" ], "main": "lib/index.js", @@ -73,7 +74,7 @@ "eslint-config-prettier": "^8.8.0", "eslint-plugin-prettier": "^5.0.0", "jest": "^29.2.0", - "npm-run-all": "^4.1.5", + "npm-run-all2": "^7.0.1", "prettier": "^3.0.0", "rimraf": "^5.0.1", "source-map-loader": "^1.0.2", diff --git a/cell-toolbar/pyproject.toml b/cell-toolbar/pyproject.toml index c78801e8..d7d51615 100644 --- a/cell-toolbar/pyproject.toml +++ b/cell-toolbar/pyproject.toml @@ -30,7 +30,7 @@ dynamic = ["version", "description", "authors", "urls", "keywords"] source = "nodejs" [tool.hatch.metadata.hooks.nodejs] -fields = ["description", "authors", "urls"] +fields = ["description", "authors", "urls", "keywords"] [tool.hatch.build.targets.sdist] artifacts = ["jupyterlab_examples_cell_toolbar/labextension"] diff --git a/cell-toolbar/tsconfig.json b/cell-toolbar/tsconfig.json index 98979175..25ac47e4 100644 --- a/cell-toolbar/tsconfig.json +++ b/cell-toolbar/tsconfig.json @@ -6,6 +6,7 @@ "esModuleInterop": true, "incremental": true, "jsx": "react", + "lib": ["DOM", "ES2018", "ES2020.Intl"], "module": "esnext", "moduleResolution": "node", "noEmitOnError": true, diff --git a/cell-toolbar/ui-tests/README.md b/cell-toolbar/ui-tests/README.md index 8d377fcc..91825145 100644 --- a/cell-toolbar/ui-tests/README.md +++ b/cell-toolbar/ui-tests/README.md @@ -12,7 +12,7 @@ in [jupyter_server_test_config.py](./jupyter_server_test_config.py). The default configuration will produce video for failing tests and an HTML report. -> There is a new experimental UI mode that you may fall in love with; see [that video](https://www.youtube.com/watch?v=jF0yA-JLQW0). +> There is a UI mode that you may like; see [that video](https://www.youtube.com/watch?v=jF0yA-JLQW0). ## Run the tests diff --git a/clap-button-message/.copier-answers.yml b/clap-button-message/.copier-answers.yml index f567eaeb..57399eaf 100644 --- a/clap-button-message/.copier-answers.yml +++ b/clap-button-message/.copier-answers.yml @@ -1,5 +1,5 @@ # Changes here will be overwritten by Copier; NEVER EDIT MANUALLY -_commit: v4.2.4 +_commit: v4.3.6 _src_path: https://github.com/jupyterlab/extension-template author_email: '' author_name: Project Jupyter Contributors diff --git a/clap-button-message/package.json b/clap-button-message/package.json index 7d56b035..4d0ccd74 100644 --- a/clap-button-message/package.json +++ b/clap-button-message/package.json @@ -15,7 +15,8 @@ "author": "Project Jupyter Contributors", "files": [ "lib/**/*.{d.ts,eot,gif,html,jpg,js,js.map,json,png,svg,woff2,ttf}", - "style/**/*.{css,js,eot,gif,html,jpg,json,png,svg,woff2,ttf}" + "style/**/*.{css,js,eot,gif,html,jpg,json,png,svg,woff2,ttf}", + "src/**/*.{ts,tsx}" ], "main": "lib/index.js", "types": "lib/index.d.ts", @@ -67,7 +68,8 @@ "eslint": "^8.36.0", "eslint-config-prettier": "^8.8.0", "eslint-plugin-prettier": "^5.0.0", - "npm-run-all": "^4.1.5", + "jest": "^29.2.0", + "npm-run-all2": "^7.0.1", "prettier": "^3.0.0", "rimraf": "^5.0.1", "source-map-loader": "^1.0.2", diff --git a/clap-button-message/pyproject.toml b/clap-button-message/pyproject.toml index 72bc5fe8..607fccea 100644 --- a/clap-button-message/pyproject.toml +++ b/clap-button-message/pyproject.toml @@ -30,7 +30,7 @@ dynamic = ["version", "description", "authors", "urls", "keywords"] source = "nodejs" [tool.hatch.metadata.hooks.nodejs] -fields = ["description", "authors", "urls"] +fields = ["description", "authors", "urls", "keywords"] [tool.hatch.build.targets.sdist] artifacts = ["jupyterlab_examples_shout_button/labextension"] diff --git a/clap-button-message/tsconfig.json b/clap-button-message/tsconfig.json index 98979175..25ac47e4 100644 --- a/clap-button-message/tsconfig.json +++ b/clap-button-message/tsconfig.json @@ -6,6 +6,7 @@ "esModuleInterop": true, "incremental": true, "jsx": "react", + "lib": ["DOM", "ES2018", "ES2020.Intl"], "module": "esnext", "moduleResolution": "node", "noEmitOnError": true, diff --git a/clap-button-message/ui-tests/README.md b/clap-button-message/ui-tests/README.md index 8d377fcc..91825145 100644 --- a/clap-button-message/ui-tests/README.md +++ b/clap-button-message/ui-tests/README.md @@ -12,7 +12,7 @@ in [jupyter_server_test_config.py](./jupyter_server_test_config.py). The default configuration will produce video for failing tests and an HTML report. -> There is a new experimental UI mode that you may fall in love with; see [that video](https://www.youtube.com/watch?v=jF0yA-JLQW0). +> There is a UI mode that you may like; see [that video](https://www.youtube.com/watch?v=jF0yA-JLQW0). ## Run the tests diff --git a/codemirror-extension/.copier-answers.yml b/codemirror-extension/.copier-answers.yml index cd70973c..5eda5798 100644 --- a/codemirror-extension/.copier-answers.yml +++ b/codemirror-extension/.copier-answers.yml @@ -1,5 +1,5 @@ # Changes here will be overwritten by Copier; NEVER EDIT MANUALLY -_commit: v4.2.4 +_commit: v4.3.6 _src_path: gh:jupyterlab/extension-template author_email: '' author_name: Project Jupyter Contributors diff --git a/codemirror-extension/package.json b/codemirror-extension/package.json index a72721e5..d1146bc6 100644 --- a/codemirror-extension/package.json +++ b/codemirror-extension/package.json @@ -15,7 +15,8 @@ "author": "Project Jupyter Contributors", "files": [ "lib/**/*.{d.ts,eot,gif,html,jpg,js,js.map,json,png,svg,woff2,ttf}", - "style/**/*.{css,js,eot,gif,html,jpg,json,png,svg,woff2,ttf}" + "style/**/*.{css,js,eot,gif,html,jpg,json,png,svg,woff2,ttf}", + "src/**/*.{ts,tsx}" ], "main": "lib/index.js", "types": "lib/index.d.ts", @@ -71,7 +72,7 @@ "eslint-config-prettier": "^8.8.0", "eslint-plugin-prettier": "^5.0.0", "jest": "^29.2.0", - "npm-run-all": "^4.1.5", + "npm-run-all2": "^7.0.1", "prettier": "^3.0.0", "rimraf": "^5.0.1", "source-map-loader": "^1.0.2", diff --git a/codemirror-extension/pyproject.toml b/codemirror-extension/pyproject.toml index 21586e9c..38b2b044 100644 --- a/codemirror-extension/pyproject.toml +++ b/codemirror-extension/pyproject.toml @@ -30,7 +30,7 @@ dynamic = ["version", "description", "authors", "urls", "keywords"] source = "nodejs" [tool.hatch.metadata.hooks.nodejs] -fields = ["description", "authors", "urls"] +fields = ["description", "authors", "urls", "keywords"] [tool.hatch.build.targets.sdist] artifacts = ["jupyterlab_examples_codemirror_extension/labextension"] diff --git a/codemirror-extension/tsconfig.json b/codemirror-extension/tsconfig.json index 98979175..25ac47e4 100644 --- a/codemirror-extension/tsconfig.json +++ b/codemirror-extension/tsconfig.json @@ -6,6 +6,7 @@ "esModuleInterop": true, "incremental": true, "jsx": "react", + "lib": ["DOM", "ES2018", "ES2020.Intl"], "module": "esnext", "moduleResolution": "node", "noEmitOnError": true, diff --git a/codemirror-extension/ui-tests/README.md b/codemirror-extension/ui-tests/README.md index 8d377fcc..91825145 100644 --- a/codemirror-extension/ui-tests/README.md +++ b/codemirror-extension/ui-tests/README.md @@ -12,7 +12,7 @@ in [jupyter_server_test_config.py](./jupyter_server_test_config.py). The default configuration will produce video for failing tests and an HTML report. -> There is a new experimental UI mode that you may fall in love with; see [that video](https://www.youtube.com/watch?v=jF0yA-JLQW0). +> There is a UI mode that you may like; see [that video](https://www.youtube.com/watch?v=jF0yA-JLQW0). ## Run the tests diff --git a/command-palette/.copier-answers.yml b/command-palette/.copier-answers.yml index f086d7d8..ca36838d 100644 --- a/command-palette/.copier-answers.yml +++ b/command-palette/.copier-answers.yml @@ -1,5 +1,5 @@ # Changes here will be overwritten by Copier; NEVER EDIT MANUALLY -_commit: v4.2.4 +_commit: v4.3.6 _src_path: gh:jupyterlab/extension-template author_email: '' author_name: Project Jupyter Contributors diff --git a/command-palette/package.json b/command-palette/package.json index 301a99d3..8e3cf6a8 100644 --- a/command-palette/package.json +++ b/command-palette/package.json @@ -15,7 +15,8 @@ "author": "Project Jupyter Contributors", "files": [ "lib/**/*.{d.ts,eot,gif,html,jpg,js,js.map,json,png,svg,woff2,ttf}", - "style/**/*.{css,js,eot,gif,html,jpg,json,png,svg,woff2,ttf}" + "style/**/*.{css,js,eot,gif,html,jpg,json,png,svg,woff2,ttf}", + "src/**/*.{ts,tsx}" ], "main": "lib/index.js", "types": "lib/index.d.ts", @@ -68,7 +69,7 @@ "eslint-config-prettier": "^8.8.0", "eslint-plugin-prettier": "^5.0.0", "jest": "^29.2.0", - "npm-run-all": "^4.1.5", + "npm-run-all2": "^7.0.1", "prettier": "^3.0.0", "rimraf": "^5.0.1", "source-map-loader": "^1.0.2", diff --git a/command-palette/pyproject.toml b/command-palette/pyproject.toml index f5ea3a8a..73c73d50 100644 --- a/command-palette/pyproject.toml +++ b/command-palette/pyproject.toml @@ -30,7 +30,7 @@ dynamic = ["version", "description", "authors", "urls", "keywords"] source = "nodejs" [tool.hatch.metadata.hooks.nodejs] -fields = ["description", "authors", "urls"] +fields = ["description", "authors", "urls", "keywords"] [tool.hatch.build.targets.sdist] artifacts = ["jupyterlab_examples_command_palette/labextension"] diff --git a/command-palette/tsconfig.json b/command-palette/tsconfig.json index 98979175..25ac47e4 100644 --- a/command-palette/tsconfig.json +++ b/command-palette/tsconfig.json @@ -6,6 +6,7 @@ "esModuleInterop": true, "incremental": true, "jsx": "react", + "lib": ["DOM", "ES2018", "ES2020.Intl"], "module": "esnext", "moduleResolution": "node", "noEmitOnError": true, diff --git a/command-palette/ui-tests/README.md b/command-palette/ui-tests/README.md index 4e80277f..9b9833cd 100644 --- a/command-palette/ui-tests/README.md +++ b/command-palette/ui-tests/README.md @@ -12,7 +12,7 @@ in [jupyter_server_test_config.py](./jupyter_server_test_config.py). The default configuration will produce video for failing tests and an HTML report. -> There is a new experimental UI mode that you may fall in love with; see [that video](https://www.youtube.com/watch?v=jF0yA-JLQW0). +> There is a UI mode that you may like; see [that video](https://www.youtube.com/watch?v=jF0yA-JLQW0). ## Run the tests diff --git a/commands/.copier-answers.yml b/commands/.copier-answers.yml index 7bdf0c9e..f2c46c37 100644 --- a/commands/.copier-answers.yml +++ b/commands/.copier-answers.yml @@ -1,5 +1,5 @@ # Changes here will be overwritten by Copier; NEVER EDIT MANUALLY -_commit: v4.2.4 +_commit: v4.3.6 _src_path: gh:jupyterlab/extension-template author_email: '' author_name: Project Jupyter Contributors diff --git a/commands/package.json b/commands/package.json index dd2943eb..fd06668c 100644 --- a/commands/package.json +++ b/commands/package.json @@ -15,7 +15,8 @@ "author": "Project Jupyter Contributors", "files": [ "lib/**/*.{d.ts,eot,gif,html,jpg,js,js.map,json,png,svg,woff2,ttf}", - "style/**/*.{css,js,eot,gif,html,jpg,json,png,svg,woff2,ttf}" + "style/**/*.{css,js,eot,gif,html,jpg,json,png,svg,woff2,ttf}", + "src/**/*.{ts,tsx}" ], "main": "lib/index.js", "types": "lib/index.d.ts", @@ -68,7 +69,7 @@ "eslint-config-prettier": "^8.8.0", "eslint-plugin-prettier": "^5.0.0", "jest": "^29.2.0", - "npm-run-all": "^4.1.5", + "npm-run-all2": "^7.0.1", "prettier": "^3.0.0", "rimraf": "^5.0.1", "source-map-loader": "^1.0.2", diff --git a/commands/pyproject.toml b/commands/pyproject.toml index 1e66e742..c9e899ba 100644 --- a/commands/pyproject.toml +++ b/commands/pyproject.toml @@ -30,7 +30,7 @@ dynamic = ["version", "description", "authors", "urls", "keywords"] source = "nodejs" [tool.hatch.metadata.hooks.nodejs] -fields = ["description", "authors", "urls"] +fields = ["description", "authors", "urls", "keywords"] [tool.hatch.build.targets.sdist] artifacts = ["jupyterlab_examples_commands/labextension"] diff --git a/commands/tsconfig.json b/commands/tsconfig.json index 98979175..25ac47e4 100644 --- a/commands/tsconfig.json +++ b/commands/tsconfig.json @@ -6,6 +6,7 @@ "esModuleInterop": true, "incremental": true, "jsx": "react", + "lib": ["DOM", "ES2018", "ES2020.Intl"], "module": "esnext", "moduleResolution": "node", "noEmitOnError": true, diff --git a/commands/ui-tests/README.md b/commands/ui-tests/README.md index 42233c64..6b916e53 100644 --- a/commands/ui-tests/README.md +++ b/commands/ui-tests/README.md @@ -12,7 +12,7 @@ in [jupyter_server_test_config.py](./jupyter_server_test_config.py). The default configuration will produce video for failing tests and an HTML report. -> There is a new experimental UI mode that you may fall in love with; see [that video](https://www.youtube.com/watch?v=jF0yA-JLQW0). +> There is a UI mode that you may like; see [that video](https://www.youtube.com/watch?v=jF0yA-JLQW0). ## Run the tests diff --git a/completer/.copier-answers.yml b/completer/.copier-answers.yml index ec79a174..5f27db60 100644 --- a/completer/.copier-answers.yml +++ b/completer/.copier-answers.yml @@ -1,5 +1,5 @@ # Changes here will be overwritten by Copier; NEVER EDIT MANUALLY -_commit: v4.2.4 +_commit: v4.3.6 _src_path: gh:jupyterlab/extension-template author_email: '' author_name: Project Jupyter Contributors diff --git a/completer/package.json b/completer/package.json index 23053058..1ba9e1e4 100644 --- a/completer/package.json +++ b/completer/package.json @@ -16,6 +16,7 @@ "files": [ "lib/**/*.{d.ts,eot,gif,html,jpg,js,js.map,json,png,svg,woff2,ttf}", "style/**/*.{css,js,eot,gif,html,jpg,json,png,svg,woff2,ttf}", + "src/**/*.{ts,tsx}", "schema/*.json" ], "main": "lib/index.js", @@ -73,7 +74,7 @@ "eslint-config-prettier": "^8.8.0", "eslint-plugin-prettier": "^5.0.0", "jest": "^29.2.0", - "npm-run-all": "^4.1.5", + "npm-run-all2": "^7.0.1", "prettier": "^3.0.0", "rimraf": "^5.0.1", "source-map-loader": "^1.0.2", diff --git a/completer/pyproject.toml b/completer/pyproject.toml index db15cdd0..f3287d0e 100644 --- a/completer/pyproject.toml +++ b/completer/pyproject.toml @@ -30,7 +30,7 @@ dynamic = ["version", "description", "authors", "urls", "keywords"] source = "nodejs" [tool.hatch.metadata.hooks.nodejs] -fields = ["description", "authors", "urls"] +fields = ["description", "authors", "urls", "keywords"] [tool.hatch.build.targets.sdist] artifacts = ["jupyterlab_examples_completer/labextension"] diff --git a/completer/tsconfig.json b/completer/tsconfig.json index 98979175..25ac47e4 100644 --- a/completer/tsconfig.json +++ b/completer/tsconfig.json @@ -6,6 +6,7 @@ "esModuleInterop": true, "incremental": true, "jsx": "react", + "lib": ["DOM", "ES2018", "ES2020.Intl"], "module": "esnext", "moduleResolution": "node", "noEmitOnError": true, diff --git a/completer/ui-tests/README.md b/completer/ui-tests/README.md index bda3e416..a699c616 100644 --- a/completer/ui-tests/README.md +++ b/completer/ui-tests/README.md @@ -12,7 +12,7 @@ in [jupyter_server_test_config.py](./jupyter_server_test_config.py). The default configuration will produce video for failing tests and an HTML report. -> There is a new experimental UI mode that you may fall in love with; see [that video](https://www.youtube.com/watch?v=jF0yA-JLQW0). +> There is a UI mode that you may like; see [that video](https://www.youtube.com/watch?v=jF0yA-JLQW0). ## Run the tests diff --git a/contentheader/.copier-answers.yml b/contentheader/.copier-answers.yml index 42727192..786a23ad 100644 --- a/contentheader/.copier-answers.yml +++ b/contentheader/.copier-answers.yml @@ -1,5 +1,5 @@ # Changes here will be overwritten by Copier; NEVER EDIT MANUALLY -_commit: v4.2.4 +_commit: v4.3.6 _src_path: gh:jupyterlab/extension-template author_email: '' author_name: Project Jupyter Contributors diff --git a/contentheader/package.json b/contentheader/package.json index 8a92132b..9e0d8924 100644 --- a/contentheader/package.json +++ b/contentheader/package.json @@ -15,7 +15,8 @@ "author": "Project Jupyter Contributors", "files": [ "lib/**/*.{d.ts,eot,gif,html,jpg,js,js.map,json,png,svg,woff2,ttf}", - "style/**/*.{css,js,eot,gif,html,jpg,json,png,svg,woff2,ttf}" + "style/**/*.{css,js,eot,gif,html,jpg,json,png,svg,woff2,ttf}", + "src/**/*.{ts,tsx}" ], "main": "lib/index.js", "types": "lib/index.d.ts", @@ -68,7 +69,7 @@ "eslint-config-prettier": "^8.8.0", "eslint-plugin-prettier": "^5.0.0", "jest": "^29.2.0", - "npm-run-all": "^4.1.5", + "npm-run-all2": "^7.0.1", "prettier": "^3.0.0", "rimraf": "^5.0.1", "source-map-loader": "^1.0.2", diff --git a/contentheader/pyproject.toml b/contentheader/pyproject.toml index a282d793..073f5e47 100644 --- a/contentheader/pyproject.toml +++ b/contentheader/pyproject.toml @@ -30,7 +30,7 @@ dynamic = ["version", "description", "authors", "urls", "keywords"] source = "nodejs" [tool.hatch.metadata.hooks.nodejs] -fields = ["description", "authors", "urls"] +fields = ["description", "authors", "urls", "keywords"] [tool.hatch.build.targets.sdist] artifacts = ["jupyterlab_examples_contentheader/labextension"] diff --git a/contentheader/tsconfig.json b/contentheader/tsconfig.json index 98979175..25ac47e4 100644 --- a/contentheader/tsconfig.json +++ b/contentheader/tsconfig.json @@ -6,6 +6,7 @@ "esModuleInterop": true, "incremental": true, "jsx": "react", + "lib": ["DOM", "ES2018", "ES2020.Intl"], "module": "esnext", "moduleResolution": "node", "noEmitOnError": true, diff --git a/contentheader/ui-tests/README.md b/contentheader/ui-tests/README.md index d2cc5f84..61c44cb9 100644 --- a/contentheader/ui-tests/README.md +++ b/contentheader/ui-tests/README.md @@ -12,7 +12,7 @@ in [jupyter_server_test_config.py](./jupyter_server_test_config.py). The default configuration will produce video for failing tests and an HTML report. -> There is a new experimental UI mode that you may fall in love with; see [that video](https://www.youtube.com/watch?v=jF0yA-JLQW0). +> There is a UI mode that you may like; see [that video](https://www.youtube.com/watch?v=jF0yA-JLQW0). ## Run the tests diff --git a/context-menu/.copier-answers.yml b/context-menu/.copier-answers.yml index 767ecec1..b21c2bd4 100644 --- a/context-menu/.copier-answers.yml +++ b/context-menu/.copier-answers.yml @@ -1,5 +1,5 @@ # Changes here will be overwritten by Copier; NEVER EDIT MANUALLY -_commit: v4.2.4 +_commit: v4.3.6 _src_path: gh:jupyterlab/extension-template author_email: '' author_name: Project Jupyter Contributors diff --git a/context-menu/package.json b/context-menu/package.json index 7b4fe9cc..0e22a255 100644 --- a/context-menu/package.json +++ b/context-menu/package.json @@ -16,6 +16,7 @@ "files": [ "lib/**/*.{d.ts,eot,gif,html,jpg,js,js.map,json,png,svg,woff2,ttf}", "style/**/*.{css,js,eot,gif,html,jpg,json,png,svg,woff2,ttf}", + "src/**/*.{ts,tsx}", "schema/*.json" ], "main": "lib/index.js", @@ -70,7 +71,7 @@ "eslint-config-prettier": "^8.8.0", "eslint-plugin-prettier": "^5.0.0", "jest": "^29.2.0", - "npm-run-all": "^4.1.5", + "npm-run-all2": "^7.0.1", "prettier": "^3.0.0", "rimraf": "^5.0.1", "source-map-loader": "^1.0.2", diff --git a/context-menu/pyproject.toml b/context-menu/pyproject.toml index c4b3aa05..242930e5 100644 --- a/context-menu/pyproject.toml +++ b/context-menu/pyproject.toml @@ -30,7 +30,7 @@ dynamic = ["version", "description", "authors", "urls", "keywords"] source = "nodejs" [tool.hatch.metadata.hooks.nodejs] -fields = ["description", "authors", "urls"] +fields = ["description", "authors", "urls", "keywords"] [tool.hatch.build.targets.sdist] artifacts = ["jupyterlab_examples_context_menu/labextension"] diff --git a/context-menu/tsconfig.json b/context-menu/tsconfig.json index 98979175..25ac47e4 100644 --- a/context-menu/tsconfig.json +++ b/context-menu/tsconfig.json @@ -6,6 +6,7 @@ "esModuleInterop": true, "incremental": true, "jsx": "react", + "lib": ["DOM", "ES2018", "ES2020.Intl"], "module": "esnext", "moduleResolution": "node", "noEmitOnError": true, diff --git a/context-menu/ui-tests/README.md b/context-menu/ui-tests/README.md index 22f3f6d5..a5065503 100644 --- a/context-menu/ui-tests/README.md +++ b/context-menu/ui-tests/README.md @@ -12,7 +12,7 @@ in [jupyter_server_test_config.py](./jupyter_server_test_config.py). The default configuration will produce video for failing tests and an HTML report. -> There is a new experimental UI mode that you may fall in love with; see [that video](https://www.youtube.com/watch?v=jF0yA-JLQW0). +> There is a UI mode that you may like; see [that video](https://www.youtube.com/watch?v=jF0yA-JLQW0). ## Run the tests diff --git a/custom-log-console/.copier-answers.yml b/custom-log-console/.copier-answers.yml index b5677105..2c8807b0 100644 --- a/custom-log-console/.copier-answers.yml +++ b/custom-log-console/.copier-answers.yml @@ -1,5 +1,5 @@ # Changes here will be overwritten by Copier; NEVER EDIT MANUALLY -_commit: v4.2.4 +_commit: v4.3.6 _src_path: gh:jupyterlab/extension-template author_email: '' author_name: Project Jupyter Contributors diff --git a/custom-log-console/package.json b/custom-log-console/package.json index 4d4a4a58..56b52433 100644 --- a/custom-log-console/package.json +++ b/custom-log-console/package.json @@ -16,6 +16,7 @@ "files": [ "lib/**/*.{d.ts,eot,gif,html,jpg,js,js.map,json,png,svg,woff2,ttf}", "style/**/*.{css,js,eot,gif,html,jpg,json,png,svg,woff2,ttf}", + "src/**/*.{ts,tsx}", "schema/*.json" ], "main": "lib/index.js", @@ -78,7 +79,7 @@ "eslint-config-prettier": "^8.8.0", "eslint-plugin-prettier": "^5.0.0", "jest": "^29.2.0", - "npm-run-all": "^4.1.5", + "npm-run-all2": "^7.0.1", "prettier": "^3.0.0", "rimraf": "^5.0.1", "source-map-loader": "^1.0.2", diff --git a/custom-log-console/pyproject.toml b/custom-log-console/pyproject.toml index b0a93f4f..f24ac093 100644 --- a/custom-log-console/pyproject.toml +++ b/custom-log-console/pyproject.toml @@ -30,7 +30,7 @@ dynamic = ["version", "description", "authors", "urls", "keywords"] source = "nodejs" [tool.hatch.metadata.hooks.nodejs] -fields = ["description", "authors", "urls"] +fields = ["description", "authors", "urls", "keywords"] [tool.hatch.build.targets.sdist] artifacts = ["jupyterlab_examples_custom_log_console/labextension"] diff --git a/custom-log-console/tsconfig.json b/custom-log-console/tsconfig.json index 98979175..25ac47e4 100644 --- a/custom-log-console/tsconfig.json +++ b/custom-log-console/tsconfig.json @@ -6,6 +6,7 @@ "esModuleInterop": true, "incremental": true, "jsx": "react", + "lib": ["DOM", "ES2018", "ES2020.Intl"], "module": "esnext", "moduleResolution": "node", "noEmitOnError": true, diff --git a/custom-log-console/ui-tests/README.md b/custom-log-console/ui-tests/README.md index 7dc4373a..b899386e 100644 --- a/custom-log-console/ui-tests/README.md +++ b/custom-log-console/ui-tests/README.md @@ -12,7 +12,7 @@ in [jupyter_server_test_config.py](./jupyter_server_test_config.py). The default configuration will produce video for failing tests and an HTML report. -> There is a new experimental UI mode that you may fall in love with; see [that video](https://www.youtube.com/watch?v=jF0yA-JLQW0). +> There is a UI mode that you may like; see [that video](https://www.youtube.com/watch?v=jF0yA-JLQW0). ## Run the tests diff --git a/datagrid/.copier-answers.yml b/datagrid/.copier-answers.yml index 0a721853..0cc6d9e3 100644 --- a/datagrid/.copier-answers.yml +++ b/datagrid/.copier-answers.yml @@ -1,5 +1,5 @@ # Changes here will be overwritten by Copier; NEVER EDIT MANUALLY -_commit: v4.2.4 +_commit: v4.3.6 _src_path: gh:jupyterlab/extension-template author_email: '' author_name: Project Jupyter Contributors diff --git a/datagrid/package.json b/datagrid/package.json index 605bd059..7e44830d 100644 --- a/datagrid/package.json +++ b/datagrid/package.json @@ -16,6 +16,7 @@ "files": [ "lib/**/*.{d.ts,eot,gif,html,jpg,js,js.map,json,png,svg,woff2,ttf}", "style/**/*.{css,js,eot,gif,html,jpg,json,png,svg,woff2,ttf}", + "src/**/*.{ts,tsx}", "schema/*.json" ], "main": "lib/index.js", @@ -75,7 +76,7 @@ "eslint-config-prettier": "^8.8.0", "eslint-plugin-prettier": "^5.0.0", "jest": "^29.2.0", - "npm-run-all": "^4.1.5", + "npm-run-all2": "^7.0.1", "prettier": "^3.0.0", "rimraf": "^5.0.1", "source-map-loader": "^1.0.2", diff --git a/datagrid/pyproject.toml b/datagrid/pyproject.toml index 7728f1ec..b5a22516 100644 --- a/datagrid/pyproject.toml +++ b/datagrid/pyproject.toml @@ -30,7 +30,7 @@ dynamic = ["version", "description", "authors", "urls", "keywords"] source = "nodejs" [tool.hatch.metadata.hooks.nodejs] -fields = ["description", "authors", "urls"] +fields = ["description", "authors", "urls", "keywords"] [tool.hatch.build.targets.sdist] artifacts = ["jupyterlab_examples_datagrid/labextension"] diff --git a/datagrid/tsconfig.json b/datagrid/tsconfig.json index 98979175..25ac47e4 100644 --- a/datagrid/tsconfig.json +++ b/datagrid/tsconfig.json @@ -6,6 +6,7 @@ "esModuleInterop": true, "incremental": true, "jsx": "react", + "lib": ["DOM", "ES2018", "ES2020.Intl"], "module": "esnext", "moduleResolution": "node", "noEmitOnError": true, diff --git a/datagrid/ui-tests/README.md b/datagrid/ui-tests/README.md index a351e361..f5d84a51 100644 --- a/datagrid/ui-tests/README.md +++ b/datagrid/ui-tests/README.md @@ -12,7 +12,7 @@ in [jupyter_server_test_config.py](./jupyter_server_test_config.py). The default configuration will produce video for failing tests and an HTML report. -> There is a new experimental UI mode that you may fall in love with; see [that video](https://www.youtube.com/watch?v=jF0yA-JLQW0). +> There is a UI mode that you may like; see [that video](https://www.youtube.com/watch?v=jF0yA-JLQW0). ## Run the tests diff --git a/datagrid/ui-tests/tests/datagrid.spec.ts-snapshots/datagrid-example-linux.png b/datagrid/ui-tests/tests/datagrid.spec.ts-snapshots/datagrid-example-linux.png index 30169a49..015ab354 100644 Binary files a/datagrid/ui-tests/tests/datagrid.spec.ts-snapshots/datagrid-example-linux.png and b/datagrid/ui-tests/tests/datagrid.spec.ts-snapshots/datagrid-example-linux.png differ diff --git a/documents/.copier-answers.yml b/documents/.copier-answers.yml index 36113572..1b8981f6 100644 --- a/documents/.copier-answers.yml +++ b/documents/.copier-answers.yml @@ -1,5 +1,5 @@ # Changes here will be overwritten by Copier; NEVER EDIT MANUALLY -_commit: v4.2.4 +_commit: v4.3.6 _src_path: gh:jupyterlab/extension-template author_email: '' author_name: Project Jupyter Contributors diff --git a/documents/README.md b/documents/README.md index c072f315..0695da35 100644 --- a/documents/README.md +++ b/documents/README.md @@ -36,7 +36,7 @@ The shared model needs to be registered only if your file must be collaborative. > adding the following configuration in `package.json`.: ```json5 -// package.json#L108-L113 +// package.json#L109-L114 "sharedPackages": { "@jupyter/collaborative-drive": { diff --git a/documents/package.json b/documents/package.json index d8a952a2..1d81a0d8 100644 --- a/documents/package.json +++ b/documents/package.json @@ -15,7 +15,8 @@ "author": "Project Jupyter Contributors", "files": [ "lib/**/*.{d.ts,eot,gif,html,jpg,js,js.map,json,png,svg,woff2,ttf}", - "style/**/*.{css,js,eot,gif,html,jpg,json,png,svg,woff2,ttf}" + "style/**/*.{css,js,eot,gif,html,jpg,json,png,svg,woff2,ttf}", + "src/**/*.{ts,tsx}" ], "main": "lib/index.js", "types": "lib/index.d.ts", @@ -81,7 +82,7 @@ "eslint-config-prettier": "^8.8.0", "eslint-plugin-prettier": "^5.0.0", "jest": "^29.2.0", - "npm-run-all": "^4.1.5", + "npm-run-all2": "^7.0.1", "prettier": "^3.0.0", "rimraf": "^5.0.1", "source-map-loader": "^1.0.2", diff --git a/documents/pyproject.toml b/documents/pyproject.toml index a1322e1d..1e27c489 100644 --- a/documents/pyproject.toml +++ b/documents/pyproject.toml @@ -34,7 +34,7 @@ exampledoc = "jupyterlab_examples_documents.document:YExampleDoc" source = "nodejs" [tool.hatch.metadata.hooks.nodejs] -fields = ["description", "authors", "urls"] +fields = ["description", "authors", "urls", "keywords"] [tool.hatch.build.targets.sdist] artifacts = ["jupyterlab_examples_documents/labextension"] diff --git a/documents/tsconfig.json b/documents/tsconfig.json index 98979175..25ac47e4 100644 --- a/documents/tsconfig.json +++ b/documents/tsconfig.json @@ -6,6 +6,7 @@ "esModuleInterop": true, "incremental": true, "jsx": "react", + "lib": ["DOM", "ES2018", "ES2020.Intl"], "module": "esnext", "moduleResolution": "node", "noEmitOnError": true, diff --git a/documents/ui-tests/README.md b/documents/ui-tests/README.md index 85c8d197..39814f4e 100644 --- a/documents/ui-tests/README.md +++ b/documents/ui-tests/README.md @@ -12,7 +12,7 @@ in [jupyter_server_test_config.py](./jupyter_server_test_config.py). The default configuration will produce video for failing tests and an HTML report. -> There is a new experimental UI mode that you may fall in love with; see [that video](https://www.youtube.com/watch?v=jF0yA-JLQW0). +> There is a UI mode that you may like; see [that video](https://www.youtube.com/watch?v=jF0yA-JLQW0). ## Run the tests diff --git a/hello-world/.copier-answers.yml b/hello-world/.copier-answers.yml index 409305c4..ac8086d2 100644 --- a/hello-world/.copier-answers.yml +++ b/hello-world/.copier-answers.yml @@ -1,5 +1,5 @@ # Changes here will be overwritten by Copier; NEVER EDIT MANUALLY -_commit: v4.2.4 +_commit: v4.3.6 _src_path: gh:jupyterlab/extension-template author_email: '' author_name: Project Jupyter Contributors diff --git a/hello-world/README.md b/hello-world/README.md index ee735722..325d42ac 100644 --- a/hello-world/README.md +++ b/hello-world/README.md @@ -157,7 +157,7 @@ called `@jupyterlab/application`. The dependency of your extension on this package is declared in the file `package.json`: ```json5 -// package.json#L54-L56 +// package.json#L55-L57 "dependencies": { "@jupyterlab/application": "^4.0.0" diff --git a/hello-world/RELEASE.md b/hello-world/RELEASE.md index 68b4fc21..20d94aa8 100644 --- a/hello-world/RELEASE.md +++ b/hello-world/RELEASE.md @@ -58,18 +58,21 @@ npm publish --access public ## Automated releases with the Jupyter Releaser -The extension repository should already be compatible with the Jupyter Releaser. - -Check out the [workflow documentation](https://jupyter-releaser.readthedocs.io/en/latest/get_started/making_release_from_repo.html) for more information. +The extension repository should already be compatible with the Jupyter Releaser. But +the GitHub repository and the package managers need to be properly set up. Please +follow the instructions of the Jupyter Releaser [checklist](https://jupyter-releaser.readthedocs.io/en/latest/how_to_guides/convert_repo_from_repo.html). Here is a summary of the steps to cut a new release: -- Add `ADMIN_GITHUB_TOKEN`, `PYPI_TOKEN` and `NPM_TOKEN` to the [Github Secrets](https://docs.github.com/en/actions/security-guides/encrypted-secrets) in the repository - Go to the Actions panel - Run the "Step 1: Prep Release" workflow - Check the draft changelog - Run the "Step 2: Publish Release" workflow +> [!NOTE] +> Check out the [workflow documentation](https://jupyter-releaser.readthedocs.io/en/latest/get_started/making_release_from_repo.html) +> for more information. + ## Publishing to `conda-forge` If the package is not on conda forge yet, check the documentation to learn how to add it: https://conda-forge.org/docs/maintainer/adding_pkgs.html diff --git a/hello-world/package.json b/hello-world/package.json index 81a458b9..ee3ba88d 100644 --- a/hello-world/package.json +++ b/hello-world/package.json @@ -15,7 +15,8 @@ "author": "Project Jupyter Contributors", "files": [ "lib/**/*.{d.ts,eot,gif,html,jpg,js,js.map,json,png,svg,woff2,ttf}", - "style/**/*.{css,js,eot,gif,html,jpg,json,png,svg,woff2,ttf}" + "style/**/*.{css,js,eot,gif,html,jpg,json,png,svg,woff2,ttf}", + "src/**/*.{ts,tsx}" ], "main": "lib/index.js", "types": "lib/index.d.ts", @@ -68,7 +69,7 @@ "eslint-config-prettier": "^8.8.0", "eslint-plugin-prettier": "^5.0.0", "jest": "^29.2.0", - "npm-run-all": "^4.1.5", + "npm-run-all2": "^7.0.1", "prettier": "^3.0.0", "rimraf": "^5.0.1", "source-map-loader": "^1.0.2", diff --git a/hello-world/pyproject.toml b/hello-world/pyproject.toml index 4ef9340c..51a6bb74 100644 --- a/hello-world/pyproject.toml +++ b/hello-world/pyproject.toml @@ -30,7 +30,7 @@ dynamic = ["version", "description", "authors", "urls", "keywords"] source = "nodejs" [tool.hatch.metadata.hooks.nodejs] -fields = ["description", "authors", "urls"] +fields = ["description", "authors", "urls", "keywords"] [tool.hatch.build.targets.sdist] artifacts = ["jupyterlab_examples_hello_world/labextension"] diff --git a/hello-world/tsconfig.json b/hello-world/tsconfig.json index 98979175..25ac47e4 100644 --- a/hello-world/tsconfig.json +++ b/hello-world/tsconfig.json @@ -6,6 +6,7 @@ "esModuleInterop": true, "incremental": true, "jsx": "react", + "lib": ["DOM", "ES2018", "ES2020.Intl"], "module": "esnext", "moduleResolution": "node", "noEmitOnError": true, diff --git a/hello-world/ui-tests/README.md b/hello-world/ui-tests/README.md index 6e60d9ce..f12616f2 100644 --- a/hello-world/ui-tests/README.md +++ b/hello-world/ui-tests/README.md @@ -12,7 +12,7 @@ in [jupyter_server_test_config.py](./jupyter_server_test_config.py). The default configuration will produce video for failing tests and an HTML report. -> There is a new experimental UI mode that you may fall in love with; see [that video](https://www.youtube.com/watch?v=jF0yA-JLQW0). +> There is a UI mode that you may like; see [that video](https://www.youtube.com/watch?v=jF0yA-JLQW0). ## Run the tests diff --git a/kernel-messaging/.copier-answers.yml b/kernel-messaging/.copier-answers.yml index b6935d37..09b7be49 100644 --- a/kernel-messaging/.copier-answers.yml +++ b/kernel-messaging/.copier-answers.yml @@ -1,5 +1,5 @@ # Changes here will be overwritten by Copier; NEVER EDIT MANUALLY -_commit: v4.2.4 +_commit: v4.3.6 _src_path: gh:jupyterlab/extension-template author_email: '' author_name: Project Jupyter Contributors diff --git a/kernel-messaging/package.json b/kernel-messaging/package.json index c08dad7a..6630f5bc 100644 --- a/kernel-messaging/package.json +++ b/kernel-messaging/package.json @@ -16,6 +16,7 @@ "files": [ "lib/**/*.{d.ts,eot,gif,html,jpg,js,js.map,json,png,svg,woff2,ttf}", "style/**/*.{css,js,eot,gif,html,jpg,json,png,svg,woff2,ttf}", + "src/**/*.{ts,tsx}", "schema/*.json" ], "main": "lib/index.js", @@ -79,7 +80,7 @@ "eslint-config-prettier": "^8.8.0", "eslint-plugin-prettier": "^5.0.0", "jest": "^29.2.0", - "npm-run-all": "^4.1.5", + "npm-run-all2": "^7.0.1", "prettier": "^3.0.0", "rimraf": "^5.0.1", "source-map-loader": "^1.0.2", diff --git a/kernel-messaging/pyproject.toml b/kernel-messaging/pyproject.toml index 961494a0..cc3831cf 100644 --- a/kernel-messaging/pyproject.toml +++ b/kernel-messaging/pyproject.toml @@ -30,7 +30,7 @@ dynamic = ["version", "description", "authors", "urls", "keywords"] source = "nodejs" [tool.hatch.metadata.hooks.nodejs] -fields = ["description", "authors", "urls"] +fields = ["description", "authors", "urls", "keywords"] [tool.hatch.build.targets.sdist] artifacts = ["jupyterlab_examples_kernel_messaging/labextension"] diff --git a/kernel-messaging/tsconfig.json b/kernel-messaging/tsconfig.json index 98979175..25ac47e4 100644 --- a/kernel-messaging/tsconfig.json +++ b/kernel-messaging/tsconfig.json @@ -6,6 +6,7 @@ "esModuleInterop": true, "incremental": true, "jsx": "react", + "lib": ["DOM", "ES2018", "ES2020.Intl"], "module": "esnext", "moduleResolution": "node", "noEmitOnError": true, diff --git a/kernel-messaging/ui-tests/README.md b/kernel-messaging/ui-tests/README.md index 68554413..b5e2813c 100644 --- a/kernel-messaging/ui-tests/README.md +++ b/kernel-messaging/ui-tests/README.md @@ -12,7 +12,7 @@ in [jupyter_server_test_config.py](./jupyter_server_test_config.py). The default configuration will produce video for failing tests and an HTML report. -> There is a new experimental UI mode that you may fall in love with; see [that video](https://www.youtube.com/watch?v=jF0yA-JLQW0). +> There is a UI mode that you may like; see [that video](https://www.youtube.com/watch?v=jF0yA-JLQW0). ## Run the tests diff --git a/kernel-messaging/ui-tests/tests/kernel-messaging.spec.ts-snapshots/kernel-messaging-example-linux.png b/kernel-messaging/ui-tests/tests/kernel-messaging.spec.ts-snapshots/kernel-messaging-example-linux.png index f6144a63..e29552c1 100644 Binary files a/kernel-messaging/ui-tests/tests/kernel-messaging.spec.ts-snapshots/kernel-messaging-example-linux.png and b/kernel-messaging/ui-tests/tests/kernel-messaging.spec.ts-snapshots/kernel-messaging-example-linux.png differ diff --git a/kernel-output/.copier-answers.yml b/kernel-output/.copier-answers.yml index 78f66c49..b98d437b 100644 --- a/kernel-output/.copier-answers.yml +++ b/kernel-output/.copier-answers.yml @@ -1,5 +1,5 @@ # Changes here will be overwritten by Copier; NEVER EDIT MANUALLY -_commit: v4.2.4 +_commit: v4.3.6 _src_path: gh:jupyterlab/extension-template author_email: '' author_name: Project Jupyter Contributors diff --git a/kernel-output/package.json b/kernel-output/package.json index 745c05d4..f1d4b3bc 100644 --- a/kernel-output/package.json +++ b/kernel-output/package.json @@ -16,6 +16,7 @@ "files": [ "lib/**/*.{d.ts,eot,gif,html,jpg,js,js.map,json,png,svg,woff2,ttf}", "style/**/*.{css,js,eot,gif,html,jpg,json,png,svg,woff2,ttf}", + "src/**/*.{ts,tsx}", "schema/*.json" ], "main": "lib/index.js", @@ -76,7 +77,7 @@ "eslint-config-prettier": "^8.8.0", "eslint-plugin-prettier": "^5.0.0", "jest": "^29.2.0", - "npm-run-all": "^4.1.5", + "npm-run-all2": "^7.0.1", "prettier": "^3.0.0", "rimraf": "^5.0.1", "source-map-loader": "^1.0.2", diff --git a/kernel-output/pyproject.toml b/kernel-output/pyproject.toml index f84ef3f9..08b09d16 100644 --- a/kernel-output/pyproject.toml +++ b/kernel-output/pyproject.toml @@ -30,7 +30,7 @@ dynamic = ["version", "description", "authors", "urls", "keywords"] source = "nodejs" [tool.hatch.metadata.hooks.nodejs] -fields = ["description", "authors", "urls"] +fields = ["description", "authors", "urls", "keywords"] [tool.hatch.build.targets.sdist] artifacts = ["jupyterlab_examples_kernel_output/labextension"] diff --git a/kernel-output/tsconfig.json b/kernel-output/tsconfig.json index 98979175..25ac47e4 100644 --- a/kernel-output/tsconfig.json +++ b/kernel-output/tsconfig.json @@ -6,6 +6,7 @@ "esModuleInterop": true, "incremental": true, "jsx": "react", + "lib": ["DOM", "ES2018", "ES2020.Intl"], "module": "esnext", "moduleResolution": "node", "noEmitOnError": true, diff --git a/kernel-output/ui-tests/README.md b/kernel-output/ui-tests/README.md index be6eb075..dfd8f524 100644 --- a/kernel-output/ui-tests/README.md +++ b/kernel-output/ui-tests/README.md @@ -12,7 +12,7 @@ in [jupyter_server_test_config.py](./jupyter_server_test_config.py). The default configuration will produce video for failing tests and an HTML report. -> There is a new experimental UI mode that you may fall in love with; see [that video](https://www.youtube.com/watch?v=jF0yA-JLQW0). +> There is a UI mode that you may like; see [that video](https://www.youtube.com/watch?v=jF0yA-JLQW0). ## Run the tests diff --git a/launcher/.copier-answers.yml b/launcher/.copier-answers.yml index fed39c69..d3e1968f 100644 --- a/launcher/.copier-answers.yml +++ b/launcher/.copier-answers.yml @@ -1,5 +1,5 @@ # Changes here will be overwritten by Copier; NEVER EDIT MANUALLY -_commit: v4.2.4 +_commit: v4.3.6 _src_path: gh:jupyterlab/extension-template author_email: '' author_name: Project Jupyter Contributors diff --git a/launcher/package.json b/launcher/package.json index 01373de7..63ed79af 100644 --- a/launcher/package.json +++ b/launcher/package.json @@ -16,6 +16,7 @@ "files": [ "lib/**/*.{d.ts,eot,gif,html,jpg,js,js.map,json,png,svg,woff2,ttf}", "style/**/*.{css,js,eot,gif,html,jpg,json,png,svg,woff2,ttf}", + "src/**/*.{ts,tsx}", "schema/*.json" ], "main": "lib/index.js", @@ -72,7 +73,7 @@ "eslint-config-prettier": "^8.8.0", "eslint-plugin-prettier": "^5.0.0", "jest": "^29.2.0", - "npm-run-all": "^4.1.5", + "npm-run-all2": "^7.0.1", "prettier": "^3.0.0", "rimraf": "^5.0.1", "source-map-loader": "^1.0.2", diff --git a/launcher/pyproject.toml b/launcher/pyproject.toml index 39699f28..481ce273 100644 --- a/launcher/pyproject.toml +++ b/launcher/pyproject.toml @@ -30,7 +30,7 @@ dynamic = ["version", "description", "authors", "urls", "keywords"] source = "nodejs" [tool.hatch.metadata.hooks.nodejs] -fields = ["description", "authors", "urls"] +fields = ["description", "authors", "urls", "keywords"] [tool.hatch.build.targets.sdist] artifacts = ["jupyterlab_examples_launcher/labextension"] diff --git a/launcher/tsconfig.json b/launcher/tsconfig.json index 98979175..25ac47e4 100644 --- a/launcher/tsconfig.json +++ b/launcher/tsconfig.json @@ -6,6 +6,7 @@ "esModuleInterop": true, "incremental": true, "jsx": "react", + "lib": ["DOM", "ES2018", "ES2020.Intl"], "module": "esnext", "moduleResolution": "node", "noEmitOnError": true, diff --git a/launcher/ui-tests/README.md b/launcher/ui-tests/README.md index 1452acd6..acd14d82 100644 --- a/launcher/ui-tests/README.md +++ b/launcher/ui-tests/README.md @@ -12,7 +12,7 @@ in [jupyter_server_test_config.py](./jupyter_server_test_config.py). The default configuration will produce video for failing tests and an HTML report. -> There is a new experimental UI mode that you may fall in love with; see [that video](https://www.youtube.com/watch?v=jF0yA-JLQW0). +> There is a UI mode that you may like; see [that video](https://www.youtube.com/watch?v=jF0yA-JLQW0). ## Run the tests diff --git a/log-messages/.copier-answers.yml b/log-messages/.copier-answers.yml index 614bb80c..26af570b 100644 --- a/log-messages/.copier-answers.yml +++ b/log-messages/.copier-answers.yml @@ -1,5 +1,5 @@ # Changes here will be overwritten by Copier; NEVER EDIT MANUALLY -_commit: v4.2.4 +_commit: v4.3.6 _src_path: gh:jupyterlab/extension-template author_email: '' author_name: Project Jupyter Contributors diff --git a/log-messages/package.json b/log-messages/package.json index ca826a96..6547682b 100644 --- a/log-messages/package.json +++ b/log-messages/package.json @@ -16,6 +16,7 @@ "files": [ "lib/**/*.{d.ts,eot,gif,html,jpg,js,js.map,json,png,svg,woff2,ttf}", "style/**/*.{css,js,eot,gif,html,jpg,json,png,svg,woff2,ttf}", + "src/**/*.{ts,tsx}", "schema/*.json" ], "main": "lib/index.js", @@ -81,7 +82,7 @@ "eslint-config-prettier": "^8.8.0", "eslint-plugin-prettier": "^5.0.0", "jest": "^29.2.0", - "npm-run-all": "^4.1.5", + "npm-run-all2": "^7.0.1", "prettier": "^3.0.0", "rimraf": "^5.0.1", "source-map-loader": "^1.0.2", diff --git a/log-messages/pyproject.toml b/log-messages/pyproject.toml index 5e7626f1..9dbaf8aa 100644 --- a/log-messages/pyproject.toml +++ b/log-messages/pyproject.toml @@ -30,7 +30,7 @@ dynamic = ["version", "description", "authors", "urls", "keywords"] source = "nodejs" [tool.hatch.metadata.hooks.nodejs] -fields = ["description", "authors", "urls"] +fields = ["description", "authors", "urls", "keywords"] [tool.hatch.build.targets.sdist] artifacts = ["jupyterlab_examples_log_messages/labextension"] diff --git a/log-messages/tsconfig.json b/log-messages/tsconfig.json index 98979175..25ac47e4 100644 --- a/log-messages/tsconfig.json +++ b/log-messages/tsconfig.json @@ -6,6 +6,7 @@ "esModuleInterop": true, "incremental": true, "jsx": "react", + "lib": ["DOM", "ES2018", "ES2020.Intl"], "module": "esnext", "moduleResolution": "node", "noEmitOnError": true, diff --git a/log-messages/ui-tests/README.md b/log-messages/ui-tests/README.md index a0628a1f..c655c550 100644 --- a/log-messages/ui-tests/README.md +++ b/log-messages/ui-tests/README.md @@ -12,7 +12,7 @@ in [jupyter_server_test_config.py](./jupyter_server_test_config.py). The default configuration will produce video for failing tests and an HTML report. -> There is a new experimental UI mode that you may fall in love with; see [that video](https://www.youtube.com/watch?v=jF0yA-JLQW0). +> There is a UI mode that you may like; see [that video](https://www.youtube.com/watch?v=jF0yA-JLQW0). ## Run the tests diff --git a/main-menu/.copier-answers.yml b/main-menu/.copier-answers.yml index e41f1971..24df59a5 100644 --- a/main-menu/.copier-answers.yml +++ b/main-menu/.copier-answers.yml @@ -1,5 +1,5 @@ # Changes here will be overwritten by Copier; NEVER EDIT MANUALLY -_commit: v4.2.4 +_commit: v4.3.6 _src_path: gh:jupyterlab/extension-template author_email: '' author_name: Project Jupyter Contributors diff --git a/main-menu/README.md b/main-menu/README.md index 9b879fe0..0601b75b 100644 --- a/main-menu/README.md +++ b/main-menu/README.md @@ -142,11 +142,12 @@ To achieve this, the `package.json` must include: ```json5 -// package.json#L16-L20 +// package.json#L16-L21 "files": [ "lib/**/*.{d.ts,eot,gif,html,jpg,js,js.map,json,png,svg,woff2,ttf}", "style/**/*.{css,js,eot,gif,html,jpg,json,png,svg,woff2,ttf}", + "src/**/*.{ts,tsx}", "schema/*.json" ], ``` @@ -154,7 +155,7 @@ To achieve this, the `package.json` must include: ```json5 -// package.json#L94-L98 +// package.json#L95-L99 "jupyterlab": { "extension": true, diff --git a/main-menu/package.json b/main-menu/package.json index 8a46dcb3..26bb49ca 100644 --- a/main-menu/package.json +++ b/main-menu/package.json @@ -16,6 +16,7 @@ "files": [ "lib/**/*.{d.ts,eot,gif,html,jpg,js,js.map,json,png,svg,woff2,ttf}", "style/**/*.{css,js,eot,gif,html,jpg,json,png,svg,woff2,ttf}", + "src/**/*.{ts,tsx}", "schema/*.json" ], "main": "lib/index.js", @@ -70,7 +71,7 @@ "eslint-config-prettier": "^8.8.0", "eslint-plugin-prettier": "^5.0.0", "jest": "^29.2.0", - "npm-run-all": "^4.1.5", + "npm-run-all2": "^7.0.1", "prettier": "^3.0.0", "rimraf": "^5.0.1", "source-map-loader": "^1.0.2", diff --git a/main-menu/pyproject.toml b/main-menu/pyproject.toml index 851ed5b5..bd2f204e 100644 --- a/main-menu/pyproject.toml +++ b/main-menu/pyproject.toml @@ -30,7 +30,7 @@ dynamic = ["version", "description", "authors", "urls", "keywords"] source = "nodejs" [tool.hatch.metadata.hooks.nodejs] -fields = ["description", "authors", "urls"] +fields = ["description", "authors", "urls", "keywords"] [tool.hatch.build.targets.sdist] artifacts = ["jupyterlab_examples_main_menu/labextension"] diff --git a/main-menu/tsconfig.json b/main-menu/tsconfig.json index 98979175..25ac47e4 100644 --- a/main-menu/tsconfig.json +++ b/main-menu/tsconfig.json @@ -6,6 +6,7 @@ "esModuleInterop": true, "incremental": true, "jsx": "react", + "lib": ["DOM", "ES2018", "ES2020.Intl"], "module": "esnext", "moduleResolution": "node", "noEmitOnError": true, diff --git a/main-menu/ui-tests/README.md b/main-menu/ui-tests/README.md index a17c158d..ead73bb5 100644 --- a/main-menu/ui-tests/README.md +++ b/main-menu/ui-tests/README.md @@ -12,7 +12,7 @@ in [jupyter_server_test_config.py](./jupyter_server_test_config.py). The default configuration will produce video for failing tests and an HTML report. -> There is a new experimental UI mode that you may fall in love with; see [that video](https://www.youtube.com/watch?v=jF0yA-JLQW0). +> There is a UI mode that you may like; see [that video](https://www.youtube.com/watch?v=jF0yA-JLQW0). ## Run the tests diff --git a/metadata-form/.copier-answers.yml b/metadata-form/.copier-answers.yml index 219a2086..fea39a3e 100644 --- a/metadata-form/.copier-answers.yml +++ b/metadata-form/.copier-answers.yml @@ -1,5 +1,5 @@ # Changes here will be overwritten by Copier; NEVER EDIT MANUALLY -_commit: v4.2.4 +_commit: v4.3.6 _src_path: https://github.com/jupyterlab/extension-template author_email: '' author_name: Project Jupyter Contributors diff --git a/metadata-form/package.json b/metadata-form/package.json index 2ca7d0ca..f2315f42 100644 --- a/metadata-form/package.json +++ b/metadata-form/package.json @@ -16,6 +16,7 @@ "files": [ "lib/**/*.{d.ts,eot,gif,html,jpg,js,js.map,json,png,svg,woff2,ttf}", "style/**/*.{css,js,eot,gif,html,jpg,json,png,svg,woff2,ttf}", + "src/**/*.{ts,tsx}", "schema/*.json" ], "main": "lib/index.js", @@ -74,7 +75,7 @@ "eslint-config-prettier": "^8.8.0", "eslint-plugin-prettier": "^5.0.0", "jest": "^29.2.0", - "npm-run-all": "^4.1.5", + "npm-run-all2": "^7.0.1", "prettier": "^3.0.0", "rimraf": "^5.0.1", "source-map-loader": "^1.0.2", diff --git a/metadata-form/pyproject.toml b/metadata-form/pyproject.toml index 43644818..0cd04235 100644 --- a/metadata-form/pyproject.toml +++ b/metadata-form/pyproject.toml @@ -30,7 +30,7 @@ dynamic = ["version", "description", "authors", "urls", "keywords"] source = "nodejs" [tool.hatch.metadata.hooks.nodejs] -fields = ["description", "authors", "urls"] +fields = ["description", "authors", "urls", "keywords"] [tool.hatch.build.targets.sdist] artifacts = ["jupyterlab_examples_metadata_form/labextension"] diff --git a/metadata-form/tsconfig.json b/metadata-form/tsconfig.json index 98979175..25ac47e4 100644 --- a/metadata-form/tsconfig.json +++ b/metadata-form/tsconfig.json @@ -6,6 +6,7 @@ "esModuleInterop": true, "incremental": true, "jsx": "react", + "lib": ["DOM", "ES2018", "ES2020.Intl"], "module": "esnext", "moduleResolution": "node", "noEmitOnError": true, diff --git a/metadata-form/ui-tests/README.md b/metadata-form/ui-tests/README.md index 176fba45..74275425 100644 --- a/metadata-form/ui-tests/README.md +++ b/metadata-form/ui-tests/README.md @@ -12,7 +12,7 @@ in [jupyter_server_test_config.py](./jupyter_server_test_config.py). The default configuration will produce video for failing tests and an HTML report. -> There is a new experimental UI mode that you may fall in love with; see [that video](https://www.youtube.com/watch?v=jF0yA-JLQW0). +> There is a UI mode that you may like; see [that video](https://www.youtube.com/watch?v=jF0yA-JLQW0). ## Run the tests diff --git a/mimerenderer/.copier-answers.yml b/mimerenderer/.copier-answers.yml index 352bc383..cd91b696 100644 --- a/mimerenderer/.copier-answers.yml +++ b/mimerenderer/.copier-answers.yml @@ -1,5 +1,5 @@ # Changes here will be overwritten by Copier; NEVER EDIT MANUALLY -_commit: v4.2.4 +_commit: v4.3.6 _src_path: gh:jupyterlab/extension-template author_email: '' author_name: Project Jupyter Contributors diff --git a/mimerenderer/package.json b/mimerenderer/package.json index 7c16ec4d..f699cbc5 100644 --- a/mimerenderer/package.json +++ b/mimerenderer/package.json @@ -15,7 +15,8 @@ "author": "Project Jupyter Contributors", "files": [ "lib/**/*.{d.ts,eot,gif,html,jpg,js,js.map,json,png,svg,woff2,ttf}", - "style/**/*.{css,js,eot,gif,html,jpg,json,png,svg,woff2,ttf}" + "style/**/*.{css,js,eot,gif,html,jpg,json,png,svg,woff2,ttf}", + "src/**/*.{ts,tsx}" ], "main": "lib/index.js", "types": "lib/index.d.ts", @@ -69,7 +70,7 @@ "eslint-config-prettier": "^8.8.0", "eslint-plugin-prettier": "^5.0.0", "jest": "^29.2.0", - "npm-run-all": "^4.1.5", + "npm-run-all2": "^7.0.1", "prettier": "^3.0.0", "rimraf": "^5.0.1", "source-map-loader": "^1.0.2", diff --git a/mimerenderer/pyproject.toml b/mimerenderer/pyproject.toml index 74b52e4c..8936f1f1 100644 --- a/mimerenderer/pyproject.toml +++ b/mimerenderer/pyproject.toml @@ -12,6 +12,7 @@ classifiers = [ "Framework :: Jupyter :: JupyterLab", "Framework :: Jupyter :: JupyterLab :: 4", "Framework :: Jupyter :: JupyterLab :: Extensions", + "Framework :: Jupyter :: JupyterLab :: Extensions :: Mime Renderers", "Framework :: Jupyter :: JupyterLab :: Extensions :: Prebuilt", "License :: OSI Approved :: BSD License", "Programming Language :: Python", @@ -30,7 +31,7 @@ dynamic = ["version", "description", "authors", "urls", "keywords"] source = "nodejs" [tool.hatch.metadata.hooks.nodejs] -fields = ["description", "authors", "urls"] +fields = ["description", "authors", "urls", "keywords"] [tool.hatch.build.targets.sdist] artifacts = ["jupyterlab_examples_mimerenderer/labextension"] diff --git a/mimerenderer/tsconfig.json b/mimerenderer/tsconfig.json index 98979175..25ac47e4 100644 --- a/mimerenderer/tsconfig.json +++ b/mimerenderer/tsconfig.json @@ -6,6 +6,7 @@ "esModuleInterop": true, "incremental": true, "jsx": "react", + "lib": ["DOM", "ES2018", "ES2020.Intl"], "module": "esnext", "moduleResolution": "node", "noEmitOnError": true, diff --git a/mimerenderer/ui-tests/README.md b/mimerenderer/ui-tests/README.md index 694c3bf8..17021014 100644 --- a/mimerenderer/ui-tests/README.md +++ b/mimerenderer/ui-tests/README.md @@ -12,7 +12,7 @@ in [jupyter_server_test_config.py](./jupyter_server_test_config.py). The default configuration will produce video for failing tests and an HTML report. -> There is a new experimental UI mode that you may fall in love with; see [that video](https://www.youtube.com/watch?v=jF0yA-JLQW0). +> There is a UI mode that you may like; see [that video](https://www.youtube.com/watch?v=jF0yA-JLQW0). ## Run the tests diff --git a/notifications/.copier-answers.yml b/notifications/.copier-answers.yml index 032a0eca..4178c307 100644 --- a/notifications/.copier-answers.yml +++ b/notifications/.copier-answers.yml @@ -1,5 +1,5 @@ # Changes here will be overwritten by Copier; NEVER EDIT MANUALLY -_commit: v4.2.4 +_commit: v4.3.6 _src_path: gh:jupyterlab/extension-template author_email: '' author_name: Project Jupyter Contributors diff --git a/notifications/package.json b/notifications/package.json index c5c4c857..f4b5df7c 100644 --- a/notifications/package.json +++ b/notifications/package.json @@ -15,7 +15,8 @@ "author": "Project Jupyter Contributors", "files": [ "lib/**/*.{d.ts,eot,gif,html,jpg,js,js.map,json,png,svg,woff2,ttf}", - "style/**/*.{css,js,eot,gif,html,jpg,json,png,svg,woff2,ttf}" + "style/**/*.{css,js,eot,gif,html,jpg,json,png,svg,woff2,ttf}", + "src/**/*.{ts,tsx}" ], "main": "lib/index.js", "types": "lib/index.d.ts", @@ -70,7 +71,7 @@ "eslint-config-prettier": "^8.8.0", "eslint-plugin-prettier": "^5.0.0", "jest": "^29.2.0", - "npm-run-all": "^4.1.5", + "npm-run-all2": "^7.0.1", "prettier": "^3.0.0", "rimraf": "^5.0.1", "source-map-loader": "^1.0.2", diff --git a/notifications/pyproject.toml b/notifications/pyproject.toml index d726b44c..59ac8a05 100644 --- a/notifications/pyproject.toml +++ b/notifications/pyproject.toml @@ -30,7 +30,7 @@ dynamic = ["version", "description", "authors", "urls", "keywords"] source = "nodejs" [tool.hatch.metadata.hooks.nodejs] -fields = ["description", "authors", "urls"] +fields = ["description", "authors", "urls", "keywords"] [tool.hatch.build.targets.sdist] artifacts = ["jupyterlab_examples_notifications/labextension"] diff --git a/notifications/tsconfig.json b/notifications/tsconfig.json index 98979175..25ac47e4 100644 --- a/notifications/tsconfig.json +++ b/notifications/tsconfig.json @@ -6,6 +6,7 @@ "esModuleInterop": true, "incremental": true, "jsx": "react", + "lib": ["DOM", "ES2018", "ES2020.Intl"], "module": "esnext", "moduleResolution": "node", "noEmitOnError": true, diff --git a/notifications/ui-tests/README.md b/notifications/ui-tests/README.md index 8d377fcc..91825145 100644 --- a/notifications/ui-tests/README.md +++ b/notifications/ui-tests/README.md @@ -12,7 +12,7 @@ in [jupyter_server_test_config.py](./jupyter_server_test_config.py). The default configuration will produce video for failing tests and an HTML report. -> There is a new experimental UI mode that you may fall in love with; see [that video](https://www.youtube.com/watch?v=jF0yA-JLQW0). +> There is a UI mode that you may like; see [that video](https://www.youtube.com/watch?v=jF0yA-JLQW0). ## Run the tests diff --git a/notifications/ui-tests/tests/jupyterlab_examples_notifications.spec.ts-snapshots/notifications-linux.png b/notifications/ui-tests/tests/jupyterlab_examples_notifications.spec.ts-snapshots/notifications-linux.png index 72b938af..db6e3c03 100644 Binary files a/notifications/ui-tests/tests/jupyterlab_examples_notifications.spec.ts-snapshots/notifications-linux.png and b/notifications/ui-tests/tests/jupyterlab_examples_notifications.spec.ts-snapshots/notifications-linux.png differ diff --git a/react-widget/.copier-answers.yml b/react-widget/.copier-answers.yml index 1986a384..a749ed9d 100644 --- a/react-widget/.copier-answers.yml +++ b/react-widget/.copier-answers.yml @@ -1,5 +1,5 @@ # Changes here will be overwritten by Copier; NEVER EDIT MANUALLY -_commit: v4.2.4 +_commit: v4.3.6 _src_path: gh:jupyterlab/extension-template author_email: '' author_name: Project Jupyter Contributors diff --git a/react-widget/package.json b/react-widget/package.json index acf5e0eb..8477f49c 100644 --- a/react-widget/package.json +++ b/react-widget/package.json @@ -15,7 +15,8 @@ "author": "Project Jupyter Contributors", "files": [ "lib/**/*.{d.ts,eot,gif,html,jpg,js,js.map,json,png,svg,woff2,ttf}", - "style/**/*.{css,js,eot,gif,html,jpg,json,png,svg,woff2,ttf}" + "style/**/*.{css,js,eot,gif,html,jpg,json,png,svg,woff2,ttf}", + "src/**/*.{ts,tsx}" ], "main": "lib/index.js", "types": "lib/index.d.ts", @@ -71,7 +72,7 @@ "eslint-config-prettier": "^8.8.0", "eslint-plugin-prettier": "^5.0.0", "jest": "^29.2.0", - "npm-run-all": "^4.1.5", + "npm-run-all2": "^7.0.1", "prettier": "^3.0.0", "rimraf": "^5.0.1", "source-map-loader": "^1.0.2", diff --git a/react-widget/pyproject.toml b/react-widget/pyproject.toml index fde0049d..9c0c1eb2 100644 --- a/react-widget/pyproject.toml +++ b/react-widget/pyproject.toml @@ -30,7 +30,7 @@ dynamic = ["version", "description", "authors", "urls", "keywords"] source = "nodejs" [tool.hatch.metadata.hooks.nodejs] -fields = ["description", "authors", "urls"] +fields = ["description", "authors", "urls", "keywords"] [tool.hatch.build.targets.sdist] artifacts = ["jupyterlab_examples_react_widget/labextension"] diff --git a/react-widget/tsconfig.json b/react-widget/tsconfig.json index 98979175..25ac47e4 100644 --- a/react-widget/tsconfig.json +++ b/react-widget/tsconfig.json @@ -6,6 +6,7 @@ "esModuleInterop": true, "incremental": true, "jsx": "react", + "lib": ["DOM", "ES2018", "ES2020.Intl"], "module": "esnext", "moduleResolution": "node", "noEmitOnError": true, diff --git a/react-widget/ui-tests/README.md b/react-widget/ui-tests/README.md index cfc70099..8e17ef17 100644 --- a/react-widget/ui-tests/README.md +++ b/react-widget/ui-tests/README.md @@ -12,7 +12,7 @@ in [jupyter_server_test_config.py](./jupyter_server_test_config.py). The default configuration will produce video for failing tests and an HTML report. -> There is a new experimental UI mode that you may fall in love with; see [that video](https://www.youtube.com/watch?v=jF0yA-JLQW0). +> There is a UI mode that you may like; see [that video](https://www.youtube.com/watch?v=jF0yA-JLQW0). ## Run the tests diff --git a/react-widget/ui-tests/tests/react-widget.spec.ts-snapshots/react-widget-example-linux.png b/react-widget/ui-tests/tests/react-widget.spec.ts-snapshots/react-widget-example-linux.png index 78ac656d..f020a444 100644 Binary files a/react-widget/ui-tests/tests/react-widget.spec.ts-snapshots/react-widget-example-linux.png and b/react-widget/ui-tests/tests/react-widget.spec.ts-snapshots/react-widget-example-linux.png differ diff --git a/scripts/update-template.sh b/scripts/update-template.sh index f0819ad5..9150547f 100755 --- a/scripts/update-template.sh +++ b/scripts/update-template.sh @@ -11,7 +11,7 @@ for directory in ./*/ do if [ "${directory}" != "./scripts" ]; then pushd ${directory} - copier update -o inline + copier update --trust -o inline rm -rf RELEASE.md .github/ git add --all . git commit --amend -m "Update extension template" diff --git a/server-extension/.copier-answers.yml b/server-extension/.copier-answers.yml index 99c90ed1..0fbce9ff 100644 --- a/server-extension/.copier-answers.yml +++ b/server-extension/.copier-answers.yml @@ -1,5 +1,5 @@ # Changes here will be overwritten by Copier; NEVER EDIT MANUALLY -_commit: v4.2.4 +_commit: v4.3.6 _src_path: gh:jupyterlab/extension-template author_email: '' author_name: Project Jupyter Contributors diff --git a/server-extension/README.md b/server-extension/README.md index 75a8da48..52aa081e 100644 --- a/server-extension/README.md +++ b/server-extension/README.md @@ -724,7 +724,7 @@ user about that dependency by adding the `discovery` metadata to your `package.j file: ```json5 -// package.json#L97-L107 +// package.json#L98-L108 "jupyterlab": { "discovery": { @@ -742,7 +742,7 @@ file: In this example, the extension requires a `server` extension: ```json5 -// package.json#L98-L98 +// package.json#L99-L99 "discovery": { ``` @@ -750,7 +750,7 @@ In this example, the extension requires a `server` extension: And that server extension is available through `pip`: ```json5 -// package.json#L99-L101 +// package.json#L100-L102 "server": { "managers": [ diff --git a/server-extension/package.json b/server-extension/package.json index d0faac69..73ccf817 100644 --- a/server-extension/package.json +++ b/server-extension/package.json @@ -15,7 +15,8 @@ "author": "Project Jupyter Contributors", "files": [ "lib/**/*.{d.ts,eot,gif,html,jpg,js,js.map,json,png,svg,woff2,ttf}", - "style/**/*.{css,js,eot,gif,html,jpg,json,png,svg,woff2,ttf}" + "style/**/*.{css,js,eot,gif,html,jpg,json,png,svg,woff2,ttf}", + "src/**/*.{ts,tsx}" ], "main": "lib/index.js", "types": "lib/index.d.ts", @@ -73,7 +74,7 @@ "eslint-plugin-prettier": "^5.0.0", "jest": "^29.2.0", "mkdirp": "^1.0.3", - "npm-run-all": "^4.1.5", + "npm-run-all2": "^7.0.1", "prettier": "^3.0.0", "rimraf": "^5.0.1", "source-map-loader": "^1.0.2", diff --git a/server-extension/pyproject.toml b/server-extension/pyproject.toml index bab083b7..773e6532 100644 --- a/server-extension/pyproject.toml +++ b/server-extension/pyproject.toml @@ -23,7 +23,7 @@ classifiers = [ "Programming Language :: Python :: 3.12", ] dependencies = [ - "jupyter_server>=2.0.1,<3" + "jupyter_server>=2.4.0,<3" ] dynamic = ["version", "description", "authors", "urls", "keywords"] @@ -40,7 +40,7 @@ test = [ source = "nodejs" [tool.hatch.metadata.hooks.nodejs] -fields = ["description", "authors", "urls"] +fields = ["description", "authors", "urls", "keywords"] [tool.hatch.build.targets.sdist] artifacts = ["jupyterlab_examples_server/labextension"] diff --git a/server-extension/tsconfig.json b/server-extension/tsconfig.json index 98979175..25ac47e4 100644 --- a/server-extension/tsconfig.json +++ b/server-extension/tsconfig.json @@ -6,6 +6,7 @@ "esModuleInterop": true, "incremental": true, "jsx": "react", + "lib": ["DOM", "ES2018", "ES2020.Intl"], "module": "esnext", "moduleResolution": "node", "noEmitOnError": true, diff --git a/server-extension/ui-tests/README.md b/server-extension/ui-tests/README.md index 57913a0c..f6ff117a 100644 --- a/server-extension/ui-tests/README.md +++ b/server-extension/ui-tests/README.md @@ -12,7 +12,7 @@ in [jupyter_server_test_config.py](./jupyter_server_test_config.py). The default configuration will produce video for failing tests and an HTML report. -> There is a new experimental UI mode that you may fall in love with; see [that video](https://www.youtube.com/watch?v=jF0yA-JLQW0). +> There is a UI mode that you may like; see [that video](https://www.youtube.com/watch?v=jF0yA-JLQW0). ## Run the tests diff --git a/settings/.copier-answers.yml b/settings/.copier-answers.yml index 3ed11261..38ace601 100644 --- a/settings/.copier-answers.yml +++ b/settings/.copier-answers.yml @@ -1,5 +1,5 @@ # Changes here will be overwritten by Copier; NEVER EDIT MANUALLY -_commit: v4.2.4 +_commit: v4.3.6 _src_path: gh:jupyterlab/extension-template author_email: '' author_name: Project Jupyter Contributors diff --git a/settings/README.md b/settings/README.md index 93573923..7a1316b5 100644 --- a/settings/README.md +++ b/settings/README.md @@ -131,7 +131,7 @@ the `package.json` file in the `jupyterlab` section (here `schema`): ```json5 -// package.json#L94-L98 +// package.json#L95-L99 "jupyterlab": { "extension": true, @@ -144,11 +144,12 @@ the `package.json` file in the `jupyterlab` section (here `schema`): And you should not forget to add it to the files of the package: ```json5 -// package.json#L16-L20 +// package.json#L16-L21 "files": [ "lib/**/*.{d.ts,eot,gif,html,jpg,js,js.map,json,png,svg,woff2,ttf}", "style/**/*.{css,js,eot,gif,html,jpg,json,png,svg,woff2,ttf}", + "src/**/*.{ts,tsx}", "schema/*.json" ], ``` diff --git a/settings/package.json b/settings/package.json index 8a430103..3bc6f47d 100644 --- a/settings/package.json +++ b/settings/package.json @@ -16,6 +16,7 @@ "files": [ "lib/**/*.{d.ts,eot,gif,html,jpg,js,js.map,json,png,svg,woff2,ttf}", "style/**/*.{css,js,eot,gif,html,jpg,json,png,svg,woff2,ttf}", + "src/**/*.{ts,tsx}", "schema/*.json" ], "main": "lib/index.js", @@ -70,7 +71,7 @@ "eslint-config-prettier": "^8.8.0", "eslint-plugin-prettier": "^5.0.0", "jest": "^29.2.0", - "npm-run-all": "^4.1.5", + "npm-run-all2": "^7.0.1", "prettier": "^3.0.0", "rimraf": "^5.0.1", "source-map-loader": "^1.0.2", diff --git a/settings/pyproject.toml b/settings/pyproject.toml index e448c819..3301f62e 100644 --- a/settings/pyproject.toml +++ b/settings/pyproject.toml @@ -30,7 +30,7 @@ dynamic = ["version", "description", "authors", "urls", "keywords"] source = "nodejs" [tool.hatch.metadata.hooks.nodejs] -fields = ["description", "authors", "urls"] +fields = ["description", "authors", "urls", "keywords"] [tool.hatch.build.targets.sdist] artifacts = ["jupyterlab_examples_settings/labextension"] diff --git a/settings/tsconfig.json b/settings/tsconfig.json index 98979175..25ac47e4 100644 --- a/settings/tsconfig.json +++ b/settings/tsconfig.json @@ -6,6 +6,7 @@ "esModuleInterop": true, "incremental": true, "jsx": "react", + "lib": ["DOM", "ES2018", "ES2020.Intl"], "module": "esnext", "moduleResolution": "node", "noEmitOnError": true, diff --git a/settings/ui-tests/README.md b/settings/ui-tests/README.md index 0fd1bac0..f5e3c1cc 100644 --- a/settings/ui-tests/README.md +++ b/settings/ui-tests/README.md @@ -12,7 +12,7 @@ in [jupyter_server_test_config.py](./jupyter_server_test_config.py). The default configuration will produce video for failing tests and an HTML report. -> There is a new experimental UI mode that you may fall in love with; see [that video](https://www.youtube.com/watch?v=jF0yA-JLQW0). +> There is a UI mode that you may like; see [that video](https://www.youtube.com/watch?v=jF0yA-JLQW0). ## Run the tests diff --git a/shout-button-message/.copier-answers.yml b/shout-button-message/.copier-answers.yml index 2a16ba22..6a78f885 100644 --- a/shout-button-message/.copier-answers.yml +++ b/shout-button-message/.copier-answers.yml @@ -1,5 +1,5 @@ # Changes here will be overwritten by Copier; NEVER EDIT MANUALLY -_commit: v4.2.4 +_commit: v4.3.6 _src_path: https://github.com/jupyterlab/extension-template author_email: '' author_name: Project Jupyter Contributors diff --git a/shout-button-message/package.json b/shout-button-message/package.json index eef4531e..3518ee53 100644 --- a/shout-button-message/package.json +++ b/shout-button-message/package.json @@ -15,7 +15,8 @@ "author": "Project Jupyter Contributors", "files": [ "lib/**/*.{d.ts,eot,gif,html,jpg,js,js.map,json,png,svg,woff2,ttf}", - "style/**/*.{css,js,eot,gif,html,jpg,json,png,svg,woff2,ttf}" + "style/**/*.{css,js,eot,gif,html,jpg,json,png,svg,woff2,ttf}", + "src/**/*.{ts,tsx}" ], "main": "lib/index.js", "types": "lib/index.d.ts", @@ -71,7 +72,7 @@ "eslint-config-prettier": "^8.8.0", "eslint-plugin-prettier": "^5.0.0", "jest": "^29.2.0", - "npm-run-all": "^4.1.5", + "npm-run-all2": "^7.0.1", "prettier": "^3.0.0", "rimraf": "^5.0.1", "source-map-loader": "^1.0.2", diff --git a/shout-button-message/pyproject.toml b/shout-button-message/pyproject.toml index 409cc798..e9bc8f5b 100644 --- a/shout-button-message/pyproject.toml +++ b/shout-button-message/pyproject.toml @@ -30,7 +30,7 @@ dynamic = ["version", "description", "authors", "urls", "keywords"] source = "nodejs" [tool.hatch.metadata.hooks.nodejs] -fields = ["description", "authors", "urls"] +fields = ["description", "authors", "urls", "keywords"] [tool.hatch.build.targets.sdist] artifacts = ["jupyterlab_examples_shout_button/labextension"] diff --git a/shout-button-message/tsconfig.json b/shout-button-message/tsconfig.json index 98979175..25ac47e4 100644 --- a/shout-button-message/tsconfig.json +++ b/shout-button-message/tsconfig.json @@ -6,6 +6,7 @@ "esModuleInterop": true, "incremental": true, "jsx": "react", + "lib": ["DOM", "ES2018", "ES2020.Intl"], "module": "esnext", "moduleResolution": "node", "noEmitOnError": true, diff --git a/shout-button-message/ui-tests/README.md b/shout-button-message/ui-tests/README.md index 8d377fcc..91825145 100644 --- a/shout-button-message/ui-tests/README.md +++ b/shout-button-message/ui-tests/README.md @@ -12,7 +12,7 @@ in [jupyter_server_test_config.py](./jupyter_server_test_config.py). The default configuration will produce video for failing tests and an HTML report. -> There is a new experimental UI mode that you may fall in love with; see [that video](https://www.youtube.com/watch?v=jF0yA-JLQW0). +> There is a UI mode that you may like; see [that video](https://www.youtube.com/watch?v=jF0yA-JLQW0). ## Run the tests diff --git a/signals/.copier-answers.yml b/signals/.copier-answers.yml index cf61837e..9eafdc98 100644 --- a/signals/.copier-answers.yml +++ b/signals/.copier-answers.yml @@ -1,5 +1,5 @@ # Changes here will be overwritten by Copier; NEVER EDIT MANUALLY -_commit: v4.2.4 +_commit: v4.3.6 _src_path: gh:jupyterlab/extension-template author_email: '' author_name: Project Jupyter Contributors diff --git a/signals/package.json b/signals/package.json index 4600691f..1d26cbda 100644 --- a/signals/package.json +++ b/signals/package.json @@ -16,6 +16,7 @@ "files": [ "lib/**/*.{d.ts,eot,gif,html,jpg,js,js.map,json,png,svg,woff2,ttf}", "style/**/*.{css,js,eot,gif,html,jpg,json,png,svg,woff2,ttf}", + "src/**/*.{ts,tsx}", "schema/*.json" ], "main": "lib/index.js", @@ -79,7 +80,7 @@ "eslint-config-prettier": "^8.8.0", "eslint-plugin-prettier": "^5.0.0", "jest": "^29.2.0", - "npm-run-all": "^4.1.5", + "npm-run-all2": "^7.0.1", "prettier": "^3.0.0", "rimraf": "^5.0.1", "source-map-loader": "^1.0.2", diff --git a/signals/pyproject.toml b/signals/pyproject.toml index b3dd1acb..bb686679 100644 --- a/signals/pyproject.toml +++ b/signals/pyproject.toml @@ -30,7 +30,7 @@ dynamic = ["version", "description", "authors", "urls", "keywords"] source = "nodejs" [tool.hatch.metadata.hooks.nodejs] -fields = ["description", "authors", "urls"] +fields = ["description", "authors", "urls", "keywords"] [tool.hatch.build.targets.sdist] artifacts = ["jupyterlab_examples_signals/labextension"] diff --git a/signals/tsconfig.json b/signals/tsconfig.json index 98979175..25ac47e4 100644 --- a/signals/tsconfig.json +++ b/signals/tsconfig.json @@ -6,6 +6,7 @@ "esModuleInterop": true, "incremental": true, "jsx": "react", + "lib": ["DOM", "ES2018", "ES2020.Intl"], "module": "esnext", "moduleResolution": "node", "noEmitOnError": true, diff --git a/signals/ui-tests/README.md b/signals/ui-tests/README.md index 822e77cf..91f48266 100644 --- a/signals/ui-tests/README.md +++ b/signals/ui-tests/README.md @@ -12,7 +12,7 @@ in [jupyter_server_test_config.py](./jupyter_server_test_config.py). The default configuration will produce video for failing tests and an HTML report. -> There is a new experimental UI mode that you may fall in love with; see [that video](https://www.youtube.com/watch?v=jF0yA-JLQW0). +> There is a UI mode that you may like; see [that video](https://www.youtube.com/watch?v=jF0yA-JLQW0). ## Run the tests diff --git a/signals/ui-tests/tests/signals.spec.ts-snapshots/signals-example-linux.png b/signals/ui-tests/tests/signals.spec.ts-snapshots/signals-example-linux.png index 60cd3a49..2671be89 100644 Binary files a/signals/ui-tests/tests/signals.spec.ts-snapshots/signals-example-linux.png and b/signals/ui-tests/tests/signals.spec.ts-snapshots/signals-example-linux.png differ diff --git a/state/.copier-answers.yml b/state/.copier-answers.yml index bcbb856a..67431485 100644 --- a/state/.copier-answers.yml +++ b/state/.copier-answers.yml @@ -1,5 +1,5 @@ # Changes here will be overwritten by Copier; NEVER EDIT MANUALLY -_commit: v4.2.4 +_commit: v4.3.6 _src_path: gh:jupyterlab/extension-template author_email: '' author_name: Project Jupyter Contributors diff --git a/state/package.json b/state/package.json index fb9a2e67..ab462365 100644 --- a/state/package.json +++ b/state/package.json @@ -15,7 +15,8 @@ "author": "Project Jupyter Contributors", "files": [ "lib/**/*.{d.ts,eot,gif,html,jpg,js,js.map,json,png,svg,woff2,ttf}", - "style/**/*.{css,js,eot,gif,html,jpg,json,png,svg,woff2,ttf}" + "style/**/*.{css,js,eot,gif,html,jpg,json,png,svg,woff2,ttf}", + "src/**/*.{ts,tsx}" ], "main": "lib/index.js", "types": "lib/index.d.ts", @@ -71,7 +72,7 @@ "eslint-config-prettier": "^8.8.0", "eslint-plugin-prettier": "^5.0.0", "jest": "^29.2.0", - "npm-run-all": "^4.1.5", + "npm-run-all2": "^7.0.1", "prettier": "^3.0.0", "rimraf": "^5.0.1", "source-map-loader": "^1.0.2", diff --git a/state/pyproject.toml b/state/pyproject.toml index 0d619c5c..921429e3 100644 --- a/state/pyproject.toml +++ b/state/pyproject.toml @@ -30,7 +30,7 @@ dynamic = ["version", "description", "authors", "urls", "keywords"] source = "nodejs" [tool.hatch.metadata.hooks.nodejs] -fields = ["description", "authors", "urls"] +fields = ["description", "authors", "urls", "keywords"] [tool.hatch.build.targets.sdist] artifacts = ["jupyterlab_examples_state/labextension"] diff --git a/state/tsconfig.json b/state/tsconfig.json index 98979175..25ac47e4 100644 --- a/state/tsconfig.json +++ b/state/tsconfig.json @@ -6,6 +6,7 @@ "esModuleInterop": true, "incremental": true, "jsx": "react", + "lib": ["DOM", "ES2018", "ES2020.Intl"], "module": "esnext", "moduleResolution": "node", "noEmitOnError": true, diff --git a/state/ui-tests/README.md b/state/ui-tests/README.md index b78b84ee..1f6b8d39 100644 --- a/state/ui-tests/README.md +++ b/state/ui-tests/README.md @@ -12,7 +12,7 @@ in [jupyter_server_test_config.py](./jupyter_server_test_config.py). The default configuration will produce video for failing tests and an HTML report. -> There is a new experimental UI mode that you may fall in love with; see [that video](https://www.youtube.com/watch?v=jF0yA-JLQW0). +> There is a UI mode that you may like; see [that video](https://www.youtube.com/watch?v=jF0yA-JLQW0). ## Run the tests diff --git a/toolbar-button/.copier-answers.yml b/toolbar-button/.copier-answers.yml index 82e7826f..5dd132eb 100644 --- a/toolbar-button/.copier-answers.yml +++ b/toolbar-button/.copier-answers.yml @@ -1,5 +1,5 @@ # Changes here will be overwritten by Copier; NEVER EDIT MANUALLY -_commit: v4.2.4 +_commit: v4.3.6 _src_path: gh:jupyterlab/extension-template author_email: '' author_name: Project Jupyter Contributors diff --git a/toolbar-button/package.json b/toolbar-button/package.json index f3690c67..995953e3 100644 --- a/toolbar-button/package.json +++ b/toolbar-button/package.json @@ -16,6 +16,7 @@ "files": [ "lib/**/*.{d.ts,eot,gif,html,jpg,js,js.map,json,png,svg,woff2,ttf}", "style/**/*.{css,js,eot,gif,html,jpg,json,png,svg,woff2,ttf}", + "src/**/*.{ts,tsx}", "schema/*.json" ], "main": "lib/index.js", @@ -70,7 +71,7 @@ "eslint-config-prettier": "^8.8.0", "eslint-plugin-prettier": "^5.0.0", "jest": "^29.2.0", - "npm-run-all": "^4.1.5", + "npm-run-all2": "^7.0.1", "prettier": "^3.0.0", "rimraf": "^5.0.1", "source-map-loader": "^1.0.2", diff --git a/toolbar-button/pyproject.toml b/toolbar-button/pyproject.toml index 0b07f4e1..d1711373 100644 --- a/toolbar-button/pyproject.toml +++ b/toolbar-button/pyproject.toml @@ -30,7 +30,7 @@ dynamic = ["version", "description", "authors", "urls", "keywords"] source = "nodejs" [tool.hatch.metadata.hooks.nodejs] -fields = ["description", "authors", "urls"] +fields = ["description", "authors", "urls", "keywords"] [tool.hatch.build.targets.sdist] artifacts = ["jupyterlab_examples_toolbar_button/labextension"] diff --git a/toolbar-button/tsconfig.json b/toolbar-button/tsconfig.json index 98979175..25ac47e4 100644 --- a/toolbar-button/tsconfig.json +++ b/toolbar-button/tsconfig.json @@ -6,6 +6,7 @@ "esModuleInterop": true, "incremental": true, "jsx": "react", + "lib": ["DOM", "ES2018", "ES2020.Intl"], "module": "esnext", "moduleResolution": "node", "noEmitOnError": true, diff --git a/toolbar-button/ui-tests/README.md b/toolbar-button/ui-tests/README.md index 14cafead..72e405ca 100644 --- a/toolbar-button/ui-tests/README.md +++ b/toolbar-button/ui-tests/README.md @@ -12,7 +12,7 @@ in [jupyter_server_test_config.py](./jupyter_server_test_config.py). The default configuration will produce video for failing tests and an HTML report. -> There is a new experimental UI mode that you may fall in love with; see [that video](https://www.youtube.com/watch?v=jF0yA-JLQW0). +> There is a UI mode that you may like; see [that video](https://www.youtube.com/watch?v=jF0yA-JLQW0). ## Run the tests diff --git a/toparea-text-widget/.copier-answers.yml b/toparea-text-widget/.copier-answers.yml index 3bb40024..0f799f3b 100644 --- a/toparea-text-widget/.copier-answers.yml +++ b/toparea-text-widget/.copier-answers.yml @@ -1,5 +1,5 @@ # Changes here will be overwritten by Copier; NEVER EDIT MANUALLY -_commit: v4.2.4 +_commit: v4.3.6 _src_path: https://github.com/jupyterlab/extension-template author_email: '' author_name: Project Jupyter Contributors diff --git a/toparea-text-widget/package.json b/toparea-text-widget/package.json index b3cb21c8..9a761bfe 100644 --- a/toparea-text-widget/package.json +++ b/toparea-text-widget/package.json @@ -15,7 +15,8 @@ "author": "Project Jupyter Contributors", "files": [ "lib/**/*.{d.ts,eot,gif,html,jpg,js,js.map,json,png,svg,woff2,ttf}", - "style/**/*.{css,js,eot,gif,html,jpg,json,png,svg,woff2,ttf}" + "style/**/*.{css,js,eot,gif,html,jpg,json,png,svg,woff2,ttf}", + "src/**/*.{ts,tsx}" ], "main": "lib/index.js", "types": "lib/index.d.ts", @@ -66,7 +67,7 @@ "eslint": "^8.36.0", "eslint-config-prettier": "^8.8.0", "eslint-plugin-prettier": "^5.0.0", - "npm-run-all": "^4.1.5", + "npm-run-all2": "^7.0.1", "prettier": "^3.0.0", "rimraf": "^5.0.1", "source-map-loader": "^1.0.2", diff --git a/toparea-text-widget/pyproject.toml b/toparea-text-widget/pyproject.toml index 9a2b92ea..149bea3c 100644 --- a/toparea-text-widget/pyproject.toml +++ b/toparea-text-widget/pyproject.toml @@ -30,7 +30,7 @@ dynamic = ["version", "description", "authors", "urls", "keywords"] source = "nodejs" [tool.hatch.metadata.hooks.nodejs] -fields = ["description", "authors", "urls"] +fields = ["description", "authors", "urls", "keywords"] [tool.hatch.build.targets.sdist] artifacts = ["jupyterlab_examples_toparea/labextension"] diff --git a/toparea-text-widget/tsconfig.json b/toparea-text-widget/tsconfig.json index 98979175..25ac47e4 100644 --- a/toparea-text-widget/tsconfig.json +++ b/toparea-text-widget/tsconfig.json @@ -6,6 +6,7 @@ "esModuleInterop": true, "incremental": true, "jsx": "react", + "lib": ["DOM", "ES2018", "ES2020.Intl"], "module": "esnext", "moduleResolution": "node", "noEmitOnError": true, diff --git a/widgets/.copier-answers.yml b/widgets/.copier-answers.yml index 5fe64af4..58c1ffd7 100644 --- a/widgets/.copier-answers.yml +++ b/widgets/.copier-answers.yml @@ -1,5 +1,5 @@ # Changes here will be overwritten by Copier; NEVER EDIT MANUALLY -_commit: v4.2.4 +_commit: v4.3.6 _src_path: gh:jupyterlab/extension-template author_email: '' author_name: Project Jupyter Contributors diff --git a/widgets/package.json b/widgets/package.json index 4ba662d3..26856316 100644 --- a/widgets/package.json +++ b/widgets/package.json @@ -16,6 +16,7 @@ "files": [ "lib/**/*.{d.ts,eot,gif,html,jpg,js,js.map,json,png,svg,woff2,ttf}", "style/**/*.{css,js,eot,gif,html,jpg,json,png,svg,woff2,ttf}", + "src/**/*.{ts,tsx}", "schema/*.json" ], "main": "lib/index.js", @@ -72,7 +73,7 @@ "eslint-config-prettier": "^8.8.0", "eslint-plugin-prettier": "^5.0.0", "jest": "^29.2.0", - "npm-run-all": "^4.1.5", + "npm-run-all2": "^7.0.1", "prettier": "^3.0.0", "rimraf": "^5.0.1", "source-map-loader": "^1.0.2", diff --git a/widgets/pyproject.toml b/widgets/pyproject.toml index 4aee2b52..14f9ffbd 100644 --- a/widgets/pyproject.toml +++ b/widgets/pyproject.toml @@ -30,7 +30,7 @@ dynamic = ["version", "description", "authors", "urls", "keywords"] source = "nodejs" [tool.hatch.metadata.hooks.nodejs] -fields = ["description", "authors", "urls"] +fields = ["description", "authors", "urls", "keywords"] [tool.hatch.build.targets.sdist] artifacts = ["jupyterlab_examples_widgets/labextension"] diff --git a/widgets/tsconfig.json b/widgets/tsconfig.json index 98979175..25ac47e4 100644 --- a/widgets/tsconfig.json +++ b/widgets/tsconfig.json @@ -6,6 +6,7 @@ "esModuleInterop": true, "incremental": true, "jsx": "react", + "lib": ["DOM", "ES2018", "ES2020.Intl"], "module": "esnext", "moduleResolution": "node", "noEmitOnError": true, diff --git a/widgets/ui-tests/README.md b/widgets/ui-tests/README.md index dcd765fe..2ffb3be7 100644 --- a/widgets/ui-tests/README.md +++ b/widgets/ui-tests/README.md @@ -12,7 +12,7 @@ in [jupyter_server_test_config.py](./jupyter_server_test_config.py). The default configuration will produce video for failing tests and an HTML report. -> There is a new experimental UI mode that you may fall in love with; see [that video](https://www.youtube.com/watch?v=jF0yA-JLQW0). +> There is a UI mode that you may like; see [that video](https://www.youtube.com/watch?v=jF0yA-JLQW0). ## Run the tests diff --git a/widgets/ui-tests/tests/widgets.spec.ts-snapshots/widgets-example-linux.png b/widgets/ui-tests/tests/widgets.spec.ts-snapshots/widgets-example-linux.png index 0b4959cf..b7e0ca6c 100644 Binary files a/widgets/ui-tests/tests/widgets.spec.ts-snapshots/widgets-example-linux.png and b/widgets/ui-tests/tests/widgets.spec.ts-snapshots/widgets-example-linux.png differ