From 5500de800e8cab39c7f173d584fe0330a625b3e2 Mon Sep 17 00:00:00 2001 From: mahendrapaipuri Date: Wed, 11 Oct 2023 16:41:04 +0200 Subject: [PATCH] ci: :bug: Fix jupyter releaser config --- pyproject.toml | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 9825787..3b20383 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -78,6 +78,10 @@ build_dir = "jupyter_power_usage/labextension" [tool.jupyter-releaser.options] version_cmd = "hatch version" +dist-dir = "dist" +npm-install-options = "--legacy-peer-deps" +release-message = "[ci skip] Publish {version}" +tag-message = "[ci skip] Release {tag_name}" [tool.jupyter-releaser.hooks] before-build-npm = [ @@ -148,17 +152,3 @@ omit = [ # Unused files "*/site-packages/*" ] - -[tool.jupyter-releaser.options] -version-cmd = "hatch version" -dist-dir = "dist" -npm-install-options = "--legacy-peer-deps" -release-message = "[ci skip] Publish {version}" -tag-message = "[ci skip] Release {tag_name}" - -[tool.jupyter-releaser.hooks] -before-build-npm = [ - "pip install 'jupyterlab>=3.0.0,<4'", - "jlpm", - "jlpm run build:prod", -]