mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	Update JS and Poetry dependencies and eslint (#27200)
- 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
This commit is contained in:
		
							
								
								
									
										4
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user