forked from jupyterlab/jupyterlab
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
43 lines (35 loc) · 1.83 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
[build-system]
requires=["jupyter_packaging~=0.9,<2"]
build-backend = "jupyter_packaging.build_api"
[license]
file="LICENSE"
[tool.jupyter-packaging.builder]
factory = "jupyter_packaging.npm_builder"
[tool.jupyter-packaging.build-args]
build_cmd = "build:prod:minimize"
path = "jupyterlab/staging"
source_dir= "jupyterlab/staging"
build_dir = "jupyterlab/static"
npm = ["node", "yarn.js"]
[tool.pytest.ini_options]
testpaths="jupyterlab/tests"
norecursedirs="node_modules .git _build"
addopts="--pdbcls=IPython.terminal.debugger:Pdb -v --junitxml=junit.xml"
ignore="tests examples"
[tool.check-manifest]
ignore = ["binder/**", "builder/**", "buildutils/**", "design/**", "dev_mode/**", "examples/**", "packages/**", "scripts/**", "testutils/**", "*.json", "yarn.lock", "readthedocs.yml", ".bumpversion.cfg", ".*", "clean.py", "lint-staged.config.js", "release/*", "typedoc-theme/**", "typedoc.js", "jupyterlab/schemas/**", "jupyterlab/static/**", "jupyterlab/themes/**", "jupyterlab/style.js"]
[tool.jupyter-releaser]
skip = ["check-links"]
[tool.jupyter-releaser.options]
ignore-glob = ["packages/ui-components/docs/source/ui_components.rst"]
ignore-links = ["../api/*.*"]
version-cmd = "jlpm bumpversion --force --skip-commit"
npm-install-options = "--legacy-peer-deps"
npm-cmd = "npm publish --tag next"
release-message = "[ci skip] Publish {version}"
tag-message = "[ci skip] Release {tag_name}"
[tool.jupyter-releaser.hooks]
before-bump-version = ["git checkout .", "pip install bump2version"]
before-build-npm = ["git commit -am '[ci skip] Bump version'", "jlpm", "jlpm run build:all"]
before-build-python = ["node buildutils/lib/local-repository start", "jlpm run before:build:python", "node buildutils/lib/local-repository stop", "node buildutils/lib/local-repository fix-links --path jupyterlab/staging"]
after-publish-assets = "npm run after:publish:assets"