diff --git a/.github/actions/build-dist/action.yml b/.github/actions/build-dist/action.yml index 470292fe1..18a6f2e25 100644 --- a/.github/actions/build-dist/action.yml +++ b/.github/actions/build-dist/action.yml @@ -20,7 +20,7 @@ runs: shell: bash run: | mkdir pkgs - jlpm lerna exec -- npm pack + hatch run npm_pack cp packages/*/*.tgz pkgs - name: Build checksum file diff --git a/pyproject.toml b/pyproject.toml index 25b24b2b2..b5679858f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -111,6 +111,9 @@ features = ["docs"] [tool.hatch.envs.docs.scripts] build = "make -C docs html SPHINXOPTS='-W'" +[tool.hatch.envs.default.scripts] +npm_pack = " jlpm lerna exec -- npm pack" + [tool.hatch.envs.test] features = ["test"] [tool.hatch.envs.test.scripts]