From fe68b3d0b75fe83e065744e420e661e6f78040e1 Mon Sep 17 00:00:00 2001 From: Dany Rouhana Date: Mon, 1 May 2023 07:06:22 -0700 Subject: [PATCH] npm deployment --- pyproject.toml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 08b0896..df6ae4d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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"