diff --git a/pyproject.toml b/pyproject.toml index 34b136b..36d8f13 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -73,16 +73,19 @@ npm = ["jlpm"] source_dir = "src" build_dir = "jupyterlab_deepnote/labextension" +[tool.jupyter-releaser] +skip = ["build-npm"] + [tool.jupyter-releaser.options] version_cmd = "hatch version" [tool.jupyter-releaser.hooks] -before-build-npm = [ +before-build-python = [ "python -m pip install 'jupyterlab>=4.4.0,<5'", "jlpm", - "jlpm build:prod" + "jlpm build:prod", + "jlpm clean:all" ] -before-build-python = ["jlpm clean:all"] [tool.check-wheel-contents] ignore = ["W002"]