mirror of
https://github.com/jupyter/notebook.git
synced 2025-04-06 13:50:29 +08:00
Move releaser config to pyproject.toml
This commit is contained in:
parent
eedfc74a04
commit
89c9e7eebd
20
package.json
20
package.json
@ -60,25 +60,5 @@
|
||||
"prettier": "^1.19.0",
|
||||
"rimraf": "^3.0.2",
|
||||
"typescript": "~4.7.3"
|
||||
},
|
||||
"jupyter-releaser": {
|
||||
"hooks": {
|
||||
"before-build-npm": [
|
||||
"jlpm clean",
|
||||
"jlpm build:prod"
|
||||
],
|
||||
"before-build-python": [
|
||||
"jlpm clean"
|
||||
],
|
||||
"before-bump-version": [
|
||||
"jlpm run build:utils",
|
||||
"python -m pip install hatch"
|
||||
]
|
||||
},
|
||||
"options": {
|
||||
"version-cmd": [
|
||||
"jlpm run release:bump --force --skip-commit"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -141,3 +141,23 @@ extend-ignore = [
|
||||
# black adds spaces around ':'
|
||||
"E203",
|
||||
]
|
||||
|
||||
[tool.jupyter-releaser.options]
|
||||
version-cmd = "jlpm run release:bump --force --skip-commit"
|
||||
|
||||
[tool.jupyter-releaser.hooks]
|
||||
after-prep-git = [
|
||||
"python -m pip install --pre -U jupyterlab",
|
||||
"jlpm"
|
||||
]
|
||||
before-bump-version = [
|
||||
"jlpm run build:utils",
|
||||
"python -m pip install hatch"
|
||||
]
|
||||
before-build-npm = [
|
||||
"jlpm clean",
|
||||
"jlpm build:prod"
|
||||
]
|
||||
before-build-python = [
|
||||
"jlpm clean"
|
||||
]
|
||||
|
Loading…
x
Reference in New Issue
Block a user