forked from voila-dashboards/voila
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
41 lines (33 loc) · 1.23 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
[build-system]
requires = ["jupyter_packaging~=0.10", "jupyterlab~=3.0", "jupyter_core"]
build-backend = "jupyter_packaging.build_api"
[license]
file="LICENSE"
[tool.jupyter-packaging.options]
skip-if-exists = ["voila/labextension/static/style.js"]
ensured-targets = ["voila/labextension/static/style.js"]
[tool.jupyter-packaging.builder]
factory = "jupyter_packaging.npm_builder"
[tool.jupyter-packaging.build-args]
build_cmd = "build:prod"
npm = ["jlpm"]
[tool.jupyter-releaser]
skip = ["check-links"]
[tool.jupyter-releaser.hooks]
before-bump-version = ["python -m pip install bump2version jupyterlab~=3.0"]
before-build-npm = ["python -m pip install jupyterlab~=3.0", "jlpm clean", "jlpm build:prod"]
before-build-python = ["jlpm clean"]
after-draft-release = "bash ./scripts/reset-stable.sh"
[tool.jupyter-releaser.options]
version-cmd = "python scripts/bump-version.py --force"
[tool.check-manifest]
ignore = [
".binder/**", "docs/**", "notebooks/**",
"packages/**",
"share/**/*.js", "share/**/*.woff", "share/**/*.css",
"*.json", "*.gif", "yarn.lock",
"environment.yml", "readthedocs.yml", ".*",
"lint-staged.config.js", "scripts/**",
"voila/labextension/**", "voila/static/**",
"tests/**", "ui-tests/**",
]