Skip to content
This repository was archived by the owner on Feb 14, 2024. It is now read-only.

Commit d2b73a0

Browse files
authored
Move releaser hooks to pyproject.toml
1 parent 9783c29 commit d2b73a0

File tree

2 files changed

+10
-11
lines changed

2 files changed

+10
-11
lines changed

package.json

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -97,16 +97,5 @@
9797
},
9898
"jupyterlite": {
9999
"liteExtension": true
100-
},
101-
"jupyter-releaser": {
102-
"skip": [
103-
"check-links"
104-
],
105-
"hooks": {
106-
"before-build-npm": [
107-
"python -m pip install jupyterlab~=3.1",
108-
"jlpm"
109-
]
110-
}
111100
}
112101
}

pyproject.toml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,13 @@ npm = ["jlpm"]
1515

1616
[tool.check-manifest]
1717
ignore = ["share/jupyter/labextensions/@jupyterlite/xeus-python-kernel/**", "yarn.lock", ".*", "package-lock.json", "src/xpython_wasm.js", "src/xpython_wasm.wasm", "src/*.data", "src/*.js", "src/worker.ts", "src/web_worker_kernel.ts", "*.sh"]
18+
19+
[tool.jupyter-releaser.options]
20+
skip = ["check-links"]
21+
22+
[tool.jupyter-releaser.hooks]
23+
before-build-npm = [
24+
"python -m pip install jupyterlab~=3.1",
25+
"jlpm",
26+
"jlpm build:prod",
27+
]

0 commit comments

Comments
 (0)