forked from jupyter-server/jupyter-resource-usage
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
53 lines (40 loc) · 1.41 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
42
43
44
45
46
47
48
49
50
51
52
53
[build-system]
requires = ["jupyter_packaging~=0.10", "jupyterlab~=3.0"]
build-backend = "jupyter_packaging.build_api"
[license]
file="LICENSE"
[tool.jupyter-packaging.options]
skip-if-exists = ["jupyter_resource_usage/labextension/static/style.js"]
ensured-targets = ["jupyter_resource_usage/labextension/static/style.js", "jupyter_resource_usage/labextension/package.json"]
[tool.jupyter-packaging.builder]
factory = "jupyter_packaging.npm_builder"
[tool.jupyter-packaging.build-args]
build_cmd = "build:prod"
npm = ["jlpm"]
source_dir = "packages/labextension"
build_dir = "jupyter_resource_usage/labextension"
[tool.tbump.version]
current = "0.6.1"
regex = '''
(?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)
((?P<channel>a|b|rc|.dev)(?P<release>\d+))?
'''
[tool.tbump.git]
message_template = "Bump to {new_version}"
tag_template = "v{new_version}"
[[tool.tbump.file]]
src = "jupyter_resource_usage/_version.py"
[[tool.tbump.file]]
src = "packages/labextension/package.json"
[[tool.tbump.field]]
name = "channel"
default = ""
[[tool.tbump.field]]
name = "release"
default = ""
[tool.jupyter-releaser]
skip = ["check-links"]
[tool.jupyter-releaser.hooks]
before-build-npm = ["python -m pip install jupyterlab~=3.0", "jlpm clean", "jlpm build:prod"]
[tool.check-manifest]
ignore = ["binder/**", "packages/**", "*.json", "*.png", "yarn.lock", ".*", "jupyter_resource_usage/labextension/**", "jupyter_resource_usage/static/**"]