mirror of
https://github.com/go-gitea/gitea
synced 2024-12-22 08:34:26 +00:00
Update JS dependencies, use Node 16 (#15804)
- Update all JS dependencies to latest version - Use Node 16 on CI - Add new lint rules - Add some gitignore entries for debug files Co-authored-by: Lauris BH <lauris@nix.lv>
This commit is contained in:
parent
0ada74edbc
commit
9545c345a8
10
.drone.yml
10
.drone.yml
@ -15,12 +15,12 @@ trigger:
|
||||
steps:
|
||||
- name: deps-frontend
|
||||
pull: always
|
||||
image: node:14
|
||||
image: node:16
|
||||
commands:
|
||||
- make node_modules
|
||||
|
||||
- name: lint-frontend
|
||||
image: node:14
|
||||
image: node:16
|
||||
commands:
|
||||
- make lint-frontend
|
||||
depends_on: [deps-frontend]
|
||||
@ -58,7 +58,7 @@ steps:
|
||||
TAGS: bindata gogit sqlite sqlite_unlock_notify
|
||||
|
||||
- name: checks-frontend
|
||||
image: node:14
|
||||
image: node:16
|
||||
commands:
|
||||
- make checks-frontend
|
||||
depends_on: [deps-frontend]
|
||||
@ -71,13 +71,13 @@ steps:
|
||||
depends_on: [lint-backend]
|
||||
|
||||
- name: test-frontend
|
||||
image: node:14
|
||||
image: node:16
|
||||
commands:
|
||||
- make test-frontend
|
||||
depends_on: [lint-frontend]
|
||||
|
||||
- name: build-frontend
|
||||
image: node:14
|
||||
image: node:16
|
||||
commands:
|
||||
- make frontend
|
||||
depends_on: [test-frontend]
|
||||
|
@ -366,6 +366,7 @@ rules:
|
||||
unicorn/no-array-instanceof: [0]
|
||||
unicorn/no-array-push-push: [2]
|
||||
unicorn/no-console-spaces: [0]
|
||||
unicorn/no-document-cookie: [2]
|
||||
unicorn/no-fn-reference-in-iterator: [0]
|
||||
unicorn/no-for-loop: [0]
|
||||
unicorn/no-hex-escape: [0]
|
||||
@ -389,6 +390,7 @@ rules:
|
||||
unicorn/numeric-separators-style: [0]
|
||||
unicorn/prefer-add-event-listener: [2]
|
||||
unicorn/prefer-array-find: [2]
|
||||
unicorn/prefer-array-flat-map: [2]
|
||||
unicorn/prefer-array-flat: [2]
|
||||
unicorn/prefer-array-index-of: [2]
|
||||
unicorn/prefer-array-some: [2]
|
||||
@ -399,8 +401,10 @@ rules:
|
||||
unicorn/prefer-includes: [2]
|
||||
unicorn/prefer-math-trunc: [2]
|
||||
unicorn/prefer-modern-dom-apis: [0]
|
||||
unicorn/prefer-module: [2]
|
||||
unicorn/prefer-negative-index: [2]
|
||||
unicorn/prefer-node-append: [0]
|
||||
unicorn/prefer-node-protocol: [0]
|
||||
unicorn/prefer-node-remove: [0]
|
||||
unicorn/prefer-number-properties: [0]
|
||||
unicorn/prefer-optional-catch-binding: [2]
|
||||
|
2
.gitignore
vendored
2
.gitignore
vendored
@ -76,6 +76,8 @@ cpu.out
|
||||
/integrations/mssql.ini
|
||||
/node_modules
|
||||
/yarn.lock
|
||||
/yarn-error.log
|
||||
/npm-debug.log*
|
||||
/public/js
|
||||
/public/serviceworker.js
|
||||
/public/css
|
||||
|
1906
package-lock.json
generated
1906
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
32
package.json
32
package.json
@ -13,8 +13,8 @@
|
||||
"codemirror": "5.61.0",
|
||||
"css-loader": "5.2.4",
|
||||
"dropzone": "5.9.2",
|
||||
"easymde": "2.14.0",
|
||||
"esbuild-loader": "2.12.0",
|
||||
"easymde": "2.15.0",
|
||||
"esbuild-loader": "2.13.0",
|
||||
"escape-goat": "4.0.0",
|
||||
"fast-glob": "3.2.5",
|
||||
"font-awesome": "4.7.0",
|
||||
@ -23,21 +23,21 @@
|
||||
"less": "4.1.1",
|
||||
"less-loader": "8.1.1",
|
||||
"license-checker-webpack-plugin": "0.2.1",
|
||||
"mermaid": "8.9.2",
|
||||
"mini-css-extract-plugin": "1.5.0",
|
||||
"monaco-editor": "0.23.0",
|
||||
"monaco-editor-webpack-plugin": "3.0.1",
|
||||
"mermaid": "8.10.1",
|
||||
"mini-css-extract-plugin": "1.6.0",
|
||||
"monaco-editor": "0.24.0",
|
||||
"monaco-editor-webpack-plugin": "3.1.0",
|
||||
"pretty-ms": "7.0.1",
|
||||
"sortablejs": "1.13.0",
|
||||
"swagger-ui-dist": "3.47.1",
|
||||
"swagger-ui-dist": "3.48.0",
|
||||
"tributejs": "5.1.3",
|
||||
"vue": "2.6.12",
|
||||
"vue-bar-graph": "1.2.0",
|
||||
"vue-bar-graph": "1.2.2",
|
||||
"vue-calendar-heatmap": "0.8.4",
|
||||
"vue-loader": "15.9.6",
|
||||
"vue-loader": "15.9.7",
|
||||
"vue-template-compiler": "2.6.12",
|
||||
"webpack": "5.35.0",
|
||||
"webpack-cli": "4.6.0",
|
||||
"webpack": "5.37.0",
|
||||
"webpack-cli": "4.7.0",
|
||||
"workbox-routing": "6.1.5",
|
||||
"workbox-strategies": "6.1.5",
|
||||
"worker-loader": "3.0.8",
|
||||
@ -45,17 +45,17 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"editorconfig-checker": "4.0.2",
|
||||
"eslint": "7.24.0",
|
||||
"eslint": "7.26.0",
|
||||
"eslint-plugin-html": "6.1.2",
|
||||
"eslint-plugin-import": "2.22.1",
|
||||
"eslint-plugin-unicorn": "30.0.0",
|
||||
"eslint-plugin-unicorn": "32.0.1",
|
||||
"eslint-plugin-vue": "7.9.0",
|
||||
"jest": "26.6.3",
|
||||
"jest-extended": "0.11.5",
|
||||
"stylelint": "13.12.0",
|
||||
"stylelint-config-standard": "21.0.0",
|
||||
"stylelint": "13.13.1",
|
||||
"stylelint-config-standard": "22.0.0",
|
||||
"svgo": "2.3.0",
|
||||
"updates": "12.0.2"
|
||||
"updates": "12.1.0"
|
||||
},
|
||||
"browserslist": [
|
||||
"defaults",
|
||||
|
Loading…
Reference in New Issue
Block a user