Skip to content

Commit

Permalink
npm deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
danyrouh committed May 1, 2023
1 parent 22773f4 commit fe68b3d
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -99,16 +99,16 @@ npm = ["jlpm"]
source_dir = "src"
build_dir = "raitracker/labextension"

[tool.jupyter-releaser.hooks]
before-ensure-sha = [
"git checkout .",
"npm install",
"npm run build",
"python -c \"import shutil; shutil.rmtree('dist/app', ignore_errors=True)\"",
"python -c \"import shutil; shutil.rmtree('dist/configs', ignore_errors=True)\"",
"python -c \"import shutil; shutil.rmtree('dist/core', ignore_errors=True)\"",
"python -c \"import shutil; shutil.rmtree('dist/index.*', ignore_errors=True)\"",
]
# [tool.jupyter-releaser.hooks]
# before-ensure-sha = [
# "git checkout .",
# "npm install",
# "npm run build",
# "python -c \"import shutil; shutil.rmtree('dist/app', ignore_errors=True)\"",
# "python -c \"import shutil; shutil.rmtree('dist/configs', ignore_errors=True)\"",
# "python -c \"import shutil; shutil.rmtree('dist/core', ignore_errors=True)\"",
# "python -c \"import shutil; shutil.rmtree('dist/index.*', ignore_errors=True)\"",
# ]

[tool.jupyter-releaser.options]
version_cmd = "hatch version"

0 comments on commit fe68b3d

Please sign in to comment.