aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorGiteabot <teabot@gitea.io>2023-09-23 05:26:42 +0800
committerGitHub <noreply@github.com>2023-09-22 21:26:42 +0000
commite9fcdf822cd5005c4ed3bf206e20d07f740b2929 (patch)
treeb25693a55d125935682d6d0fe8ea7f08df243a56 /Makefile
parent7750a7313df4ef6df9bc4e26e2c80476f5fe51b9 (diff)
downloadgitea-e9fcdf822cd5005c4ed3bf206e20d07f740b2929.tar.gz
gitea-e9fcdf822cd5005c4ed3bf206e20d07f740b2929.zip
Update JS and Poetry dependencies and eslint (#27200) (#27201)
Backport #27200 by @silverwind - Update all JS and Poetry dependencies - Remove deprecated `eslint-plugin-custom-elements` and replace it with rules from `eslint-plugin-wc` - Add a convenience `make update` to update both js and py dependencies - Tested markdown toolbar, swagger and citation Co-authored-by: silverwind <me@silverwind.io>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index fd852cbaf9..7a4a2f9d30 100644
--- a/Makefile
+++ b/Makefile
@@ -226,6 +226,7 @@ help:
@echo " - test-frontend test frontend files"
@echo " - test-backend test backend files"
@echo " - test-e2e[\#TestSpecificName] test end to end using playwright"
+ @echo " - update update js and py dependencies"
@echo " - update-js update js dependencies"
@echo " - update-py update py dependencies"
@echo " - webpack build webpack files"
@@ -924,6 +925,9 @@ node_modules: package-lock.json
poetry install
@touch .venv
+.PHONY: update
+update: update-js update-py
+
.PHONY: update-js
update-js: node-check | node_modules
npx updates -u -f package.json