mirror of
https://github.com/go-gitea/gitea
synced 2024-11-16 17:29:25 +01:00
Clean up pyproject.toml and package.json, fix poetry options (#25327)
- Reduce `pyproject.toml` and `package.json` to the minimal required format, removing unneeded properties. `build-system` is not needed as per [this](https://github.com/python-poetry/poetry/issues/8110#issuecomment-1595846841). - Fix `poetry.toml` options they were wrong previously. - Add dependencies of poetry files to templates `files-changed`. --------- Co-authored-by: Giteabot <teabot@gitea.io>
This commit is contained in:
parent
bfab129fb9
commit
1a0a205466
1
.github/workflows/files-changed.yml
vendored
1
.github/workflows/files-changed.yml
vendored
@ -58,3 +58,4 @@ jobs:
|
|||||||
|
|
||||||
templates:
|
templates:
|
||||||
- "templates/**/*.tmpl"
|
- "templates/**/*.tmpl"
|
||||||
|
- "poetry.lock"
|
||||||
|
2
package-lock.json
generated
2
package-lock.json
generated
@ -4,8 +4,6 @@
|
|||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "gitea",
|
|
||||||
"license": "MIT",
|
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@citation-js/core": "0.6.8",
|
"@citation-js/core": "0.6.8",
|
||||||
"@citation-js/plugin-bibtex": "0.6.8",
|
"@citation-js/plugin-bibtex": "0.6.8",
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
{
|
{
|
||||||
"name": "gitea",
|
|
||||||
"license": "MIT",
|
|
||||||
"private": true,
|
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">= 16.0.0"
|
"node": ">= 16.0.0"
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
[virtualenvs]
|
[virtualenvs]
|
||||||
in-project = true
|
in-project = true
|
||||||
no-pip = true
|
options.no-pip = true
|
||||||
no-setuptools = true
|
options.no-setuptools = true
|
||||||
|
@ -13,7 +13,3 @@ djlint = "1.31.0"
|
|||||||
[tool.djlint]
|
[tool.djlint]
|
||||||
profile="golang"
|
profile="golang"
|
||||||
ignore="H005,H006,H008,H013,H014,H016,H020,H021,H023,H026,H030,H031,T027"
|
ignore="H005,H006,H008,H013,H014,H016,H020,H021,H023,H026,H030,H031,T027"
|
||||||
|
|
||||||
[build-system]
|
|
||||||
requires = ["poetry-core"]
|
|
||||||
build-backend = "poetry.core.masonry.api"
|
|
||||||
|
Loading…
Reference in New Issue
Block a user