diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 43ed886..710de7f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -32,7 +32,7 @@ jobs: python -m pip install .[test] jupyter labextension list - jupyter labextension list 2>&1 | grep -ie "nersc-refresh-announcements.*OK" + jupyter labextension list 2>&1 | grep -ie "stsci-announce.*OK" python -m jupyterlab.browser_check - name: Package the extension @@ -41,13 +41,13 @@ jobs: pip install build python -m build - pip uninstall -y "nersc_refresh_announcements" jupyterlab + pip uninstall -y "stsci_announce" jupyterlab - name: Upload extension packages uses: actions/upload-artifact@v3 with: name: extension-artifacts - path: dist/nersc_refresh_announcements* + path: dist/stsci_announce* if-no-files-found: error test_isolated: @@ -72,11 +72,11 @@ jobs: sudo rm -rf $(which node) sudo rm -rf $(which node) - pip install "jupyterlab>=4.0.0,<5" nersc_refresh_announcements*.whl + pip install "jupyterlab>=4.0.0,<5" stsci_announce*.whl jupyter labextension list - jupyter labextension list 2>&1 | grep -ie "nersc-refresh-announcements.*OK" + jupyter labextension list 2>&1 | grep -ie "stsci-announce.*OK" python -m jupyterlab.browser_check --no-browser-test diff --git a/.github/workflows/check-release.yml b/.github/workflows/check-release.yml index 3da79b8..a5c3efe 100644 --- a/.github/workflows/check-release.yml +++ b/.github/workflows/check-release.yml @@ -25,5 +25,5 @@ jobs: - name: Upload Distributions uses: actions/upload-artifact@v3 with: - name: nersc_refresh_announcements-releaser-dist-${{ github.run_number }} + name: stsci_announce-releaser-dist-${{ github.run_number }} path: .jupyter_releaser_checkout/dist diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b8024f1..b0c300d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -43,7 +43,7 @@ jobs: - run: mkdir /home/runner/.local/share/jupyter/lab/settings - run: > - echo '{"nersc-refresh-announcements:plugin": { "url": "http://localhost:3000" } }' > /home/runner/.local/share/jupyter/lab/settings/overrides.json + echo '{"stsci-announce:plugin": { "url": "http://localhost:3000" } }' > /home/runner/.local/share/jupyter/lab/settings/overrides.json # Start jupyterlab and run the nonempty test - run: jupyter labextension list diff --git a/.gitignore b/.gitignore index becbee1..4f275c1 100644 --- a/.gitignore +++ b/.gitignore @@ -7,9 +7,9 @@ node_modules/ *.egg-info/ .ipynb_checkpoints *.tsbuildinfo -nersc_refresh_announcements/labextension +stsci_announce/labextension # Version file is handled by hatchling -nersc_refresh_announcements/_version.py +stsci_announce/_version.py # Created by https://www.gitignore.io/api/python # Edit at https://www.gitignore.io/?templates=python diff --git a/yarn.lock b/yarn.lock index f808bfa..c028699 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3601,9 +3601,9 @@ __metadata: languageName: node linkType: hard -"nersc-refresh-announcements@workspace:.": +"stsci-announce@workspace:.": version: 0.0.0-use.local - resolution: "nersc-refresh-announcements@workspace:." + resolution: "stsci-announce@workspace:." dependencies: "@jupyterlab/application": ^4.0.0 "@jupyterlab/builder": ^4.0.0