Skip to content

Commit c4bfd87

Browse files
authored
fix(release): install deps before building python and skip npm build (#64)
1 parent 19a6897 commit c4bfd87

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

pyproject.toml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,16 +73,19 @@ npm = ["jlpm"]
7373
source_dir = "src"
7474
build_dir = "jupyterlab_deepnote/labextension"
7575

76+
[tool.jupyter-releaser]
77+
skip = ["build-npm"]
78+
7679
[tool.jupyter-releaser.options]
7780
version_cmd = "hatch version"
7881

7982
[tool.jupyter-releaser.hooks]
80-
before-build-npm = [
83+
before-build-python = [
8184
"python -m pip install 'jupyterlab>=4.4.0,<5'",
8285
"jlpm",
83-
"jlpm build:prod"
86+
"jlpm build:prod",
87+
"jlpm clean:all"
8488
]
85-
before-build-python = ["jlpm clean:all"]
8689

8790
[tool.check-wheel-contents]
8891
ignore = ["W002"]

0 commit comments

Comments
 (0)