Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
hbcarlos committed Feb 2, 2023
1 parent 437be9e commit 717c054
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 10 deletions.
2 changes: 1 addition & 1 deletion packages/rtc-extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"scripts": {
"build": "jlpm run build:lib && jlpm run build:labextension:dev",
"build:lib": "tsc",
"build:prod": "jlpm run clean && jlpm run build:lib && jlpm run build:labextension",
"build:prod": "jlpm run build:lib && jlpm run build:labextension",
"build:labextension": "jupyter labextension build .",
"build:labextension:dev": "jupyter labextension build --development True .",
"clean": "jlpm run clean:lib",
Expand Down
26 changes: 17 additions & 9 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ test = [
"pytest-timeout",
]


#[tool.hatch.build]
#ignore-vcs = true

[tool.hatch.version]
source = "nodejs"
path = "package.json"
Expand All @@ -54,14 +58,14 @@ path = "package.json"
path = "package.json"
fields = ["description", "authors", "urls"]

[tool.hatch.build]
artifacts = ["package.json", "scripts", "packages", "jupyterlab_rtc/labextension"]
exclude = [".github", "binder"]

[tool.hatch.build.hooks.version]
source = "code"
path = "jupyterlab_rtc/_version.py"

[tool.hatch.build.target.sdist]
artifacts = ["package.json", "scripts", "jupyterlab_rtc/labextension"]
exclude = [".github", "binder"]

[tool.hatch.build.targets.wheel.shared-data]
"install.json" = "share/jupyter/labextensions/@jupyterlab/rtc-extension/install.json"
"jupyterlab_rtc/labextension" = "share/jupyter/labextensions/@jupyterlab/rtc-extension"
Expand All @@ -80,7 +84,11 @@ skip-if-exists = ["jupyterlab_rtc/labextension/static/style.js"]
[tool.hatch.build.hooks.jupyter-builder.build-kwargs]
npm = ["jlpm"]
build_cmd = "build:prod"
editable_build_cmd = "install:extension"

[tool.hatch.build.hooks.jupyter-builder.editable-build-kwargs]
npm = ["jlpm"]
build_cmd = "install:extension"
source_dir = "packages"

[tool.jupyter-releaser.options]
version-cmd = "python scripts/bump_version.py --force"
Expand All @@ -96,10 +104,13 @@ before-build-python = [
"jlpm"
]
before-bump-version = [
"pip install 'jupyterlab>=4.0.0a32'",
"python -m pip install 'jupyterlab>=4.0.0a32'",
"jlpm"
]

[tool.jupyter-releaser]
skip = ["check-links"]

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

Expand Down Expand Up @@ -146,6 +157,3 @@ module = [
"terminado"
]
ignore_missing_imports = true

[tool.jupyter-releaser]
skip = ["check-links"]

0 comments on commit 717c054

Please sign in to comment.