Update JS dependencies (#16708)

* Update JS dependencies

- Update all JS dependencies
- Adapt to recent webpack changes
- Add new lint rules and fix issues
- Regenerate SVGs and update svgo api usage

Fixes: https://github.com/go-gitea/gitea/pull/16492

* adapt jest config and sort keys

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
This commit is contained in:
silverwind 2021-08-17 07:32:48 +02:00 committed by GitHub
parent cf4328359b
commit ea07726dc1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
31 changed files with 9648 additions and 7314 deletions

View file

@ -1,10 +1,9 @@
export default {
setupFilesAfterEnv: ['jest-extended'],
testTimeout: 20000,
rootDir: 'web_src',
testMatch: [
'<rootDir>/**/*.test.js',
],
setupFilesAfterEnv: ['jest-extended'],
testEnvironment: 'jsdom',
testMatch: ['<rootDir>/**/*.test.js'],
testTimeout: 20000,
transform: {},
verbose: false,
};