pyproject.toml 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. [build-system]
  2. requires=["jupyter_packaging~=0.9,<2", "pre-commit"]
  3. build-backend = "jupyter_packaging.build_api"
  4. [license]
  5. file="LICENSE"
  6. # [tool.jupyter-packaging.builder]
  7. # factory = "jupyter_packaging.npm_builder"
  8. # [tool.jupyter-packaging.build-args]
  9. # build_cmd = "build:prod:minimize"
  10. # path = "jupyterlab/staging"
  11. # source_dir= "jupyterlab/staging"
  12. # build_dir = "jupyterlab/static"
  13. # npm = ["node", "yarn.js"]
  14. [tool.pytest.ini_options]
  15. testpaths="jupyterlab/tests"
  16. norecursedirs="node_modules .git _build"
  17. addopts="--pdbcls=IPython.terminal.debugger:Pdb -v --junitxml=junit.xml"
  18. ignore="tests examples"
  19. [tool.check-manifest]
  20. ignore = ["binder/**", "builder/**", "buildutils/**", "design/**", "dev_mode/**", "examples/**", "packages/**", "scripts/**", "testutils/**", "*.json", "yarn.lock", "readthedocs.yml", ".bumpversion.cfg", ".*", "clean.py", "*.config.js", "release/*", "typedoc-theme/**", "typedoc.js", "jupyterlab/schemas/**", "jupyterlab/static/**", "jupyterlab/themes/**", "jupyterlab/style.js"]
  21. [tool.jupyter-releaser]
  22. skip = ["check-links"]
  23. [tool.jupyter-releaser.options]
  24. ignore-glob = ["packages/ui-components/docs/source/ui_components.rst"]
  25. ignore-links = ["../api/*.*", "https://docs.github.com/en/.*"]
  26. version-cmd = "jlpm bumpversion --force --skip-commit"
  27. npm-install-options = "--legacy-peer-deps"
  28. npm-cmd = "npm publish --tag latest"
  29. release-message = "[ci skip] Publish {version}"
  30. tag-message = "[ci skip] Release {tag_name}"
  31. [tool.jupyter-releaser.hooks]
  32. before-bump-version = ["git checkout .", "pip install bump2version"]
  33. before-build-npm = ["jlpm run build:all"]
  34. before-build-python = ["node buildutils/lib/local-repository start; true", "jlpm run before:build:python", "node buildutils/lib/local-repository stop", "node buildutils/lib/local-repository fix-links --path jupyterlab/staging"]
  35. after-publish-assets = "npm run after:publish:assets"