File tree Expand file tree Collapse file tree 3 files changed +7
-26
lines changed Expand file tree Collapse file tree 3 files changed +7
-26
lines changed Original file line number Diff line number Diff line change @@ -116,3 +116,6 @@ dmypy.json
116116
117117# Yarn cache
118118.yarn /
119+
120+ # This is generated by hatch
121+ jupyterlab_blockly /_version.py
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -37,6 +37,9 @@ dev = [
3737[tool .hatch .version ]
3838source = " nodejs"
3939
40+ [tool .hatch .build .hooks .version ]
41+ path = " jupyterlab_blockly/_version.py"
42+
4043[tool .hatch .metadata .hooks .nodejs ]
4144fields = [" description" , " authors" , " urls" ]
4245
@@ -83,9 +86,7 @@ before-build-npm = [
8386]
8487before-build-python = [
8588 # Build the assets
86- " jlpm build:prod" ,
87- # Clean the build artifacts to not include them in sdist
88- " jlpm clean"
89+ " jlpm build:prod"
8990]
9091
9192[tool .check-wheel-contents ]
You can’t perform that action at this time.
0 commit comments