mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-27 14:13:52 +03:00
Update JS dependencies (#24218)
- Update all js dependencies, update playwright image to jammy - Adjust eslint and vitest config - Tested build, monaco, mermaid, katex
This commit is contained in:
parent
938b591994
commit
92e07f270a
5 changed files with 660 additions and 549 deletions
|
@ -756,11 +756,11 @@ steps:
|
||||||
|
|
||||||
# TODO: We should probably build all dependencies into a test image
|
# TODO: We should probably build all dependencies into a test image
|
||||||
- name: test-e2e
|
- name: test-e2e
|
||||||
image: mcr.microsoft.com/playwright:v1.32.1-focal
|
image: mcr.microsoft.com/playwright:v1.32.3-focal
|
||||||
commands:
|
commands:
|
||||||
- curl -sLO https://go.dev/dl/go1.20.linux-amd64.tar.gz && tar -C /usr/local -xzf go1.20.linux-amd64.tar.gz
|
- apt-get -qq update && apt-get -qqy install jq build-essential
|
||||||
|
- curl -fsSL "https://go.dev/dl/$(curl -s 'https://go.dev/dl/?mode=json' | jq -r '.[].version' | sort -Vr | head -1).linux-amd64.tar.gz" | tar -xz -C /usr/local
|
||||||
- groupadd --gid 1001 gitea && useradd -m --gid 1001 --uid 1001 gitea
|
- groupadd --gid 1001 gitea && useradd -m --gid 1001 --uid 1001 gitea
|
||||||
- apt-get -qq update && apt-get -qqy install build-essential
|
|
||||||
- ./build/test-env-prepare.sh
|
- ./build/test-env-prepare.sh
|
||||||
- su gitea bash -c "export PATH=$PATH:/usr/local/go/bin && timeout -s ABRT 40m make test-e2e-sqlite"
|
- su gitea bash -c "export PATH=$PATH:/usr/local/go/bin && timeout -s ABRT 40m make test-e2e-sqlite"
|
||||||
environment:
|
environment:
|
||||||
|
|
|
@ -65,7 +65,7 @@ rules:
|
||||||
curly: [0]
|
curly: [0]
|
||||||
custom-elements/expose-class-on-global: [0]
|
custom-elements/expose-class-on-global: [0]
|
||||||
custom-elements/extends-correct-class: [2]
|
custom-elements/extends-correct-class: [2]
|
||||||
custom-elements/file-name-matches-element: [0]
|
custom-elements/file-name-matches-element: [2]
|
||||||
custom-elements/no-constructor: [2]
|
custom-elements/no-constructor: [2]
|
||||||
custom-elements/no-customized-built-in-elements: [2]
|
custom-elements/no-customized-built-in-elements: [2]
|
||||||
custom-elements/no-dom-traversal-in-attributechangedcallback: [2]
|
custom-elements/no-dom-traversal-in-attributechangedcallback: [2]
|
||||||
|
@ -500,7 +500,7 @@ rules:
|
||||||
unicorn/prefer-default-parameters: [0]
|
unicorn/prefer-default-parameters: [0]
|
||||||
unicorn/prefer-event-key: [2]
|
unicorn/prefer-event-key: [2]
|
||||||
unicorn/prefer-event-target: [2]
|
unicorn/prefer-event-target: [2]
|
||||||
unicorn/prefer-export-from: [2]
|
unicorn/prefer-export-from: [2, {ignoreUsedVariables: true}]
|
||||||
unicorn/prefer-includes: [2]
|
unicorn/prefer-includes: [2]
|
||||||
unicorn/prefer-json-parse-buffer: [0]
|
unicorn/prefer-json-parse-buffer: [0]
|
||||||
unicorn/prefer-logical-operator-over-ternary: [2]
|
unicorn/prefer-logical-operator-over-ternary: [2]
|
||||||
|
|
1174
package-lock.json
generated
1174
package-lock.json
generated
File diff suppressed because it is too large
Load diff
24
package.json
24
package.json
|
@ -21,7 +21,7 @@
|
||||||
"@webcomponents/custom-elements": "1.6.0",
|
"@webcomponents/custom-elements": "1.6.0",
|
||||||
"add-asset-webpack-plugin": "2.0.1",
|
"add-asset-webpack-plugin": "2.0.1",
|
||||||
"ansi-to-html": "0.7.2",
|
"ansi-to-html": "0.7.2",
|
||||||
"asciinema-player": "3.2.0",
|
"asciinema-player": "3.3.0",
|
||||||
"clippie": "3.1.4",
|
"clippie": "3.1.4",
|
||||||
"css-loader": "6.7.3",
|
"css-loader": "6.7.3",
|
||||||
"dropzone": "6.0.0-beta.2",
|
"dropzone": "6.0.0-beta.2",
|
||||||
|
@ -32,11 +32,11 @@
|
||||||
"font-awesome": "4.7.0",
|
"font-awesome": "4.7.0",
|
||||||
"jquery": "3.6.4",
|
"jquery": "3.6.4",
|
||||||
"jquery.are-you-sure": "1.9.0",
|
"jquery.are-you-sure": "1.9.0",
|
||||||
"katex": "0.16.4",
|
"katex": "0.16.6",
|
||||||
"license-checker-webpack-plugin": "0.2.1",
|
"license-checker-webpack-plugin": "0.2.1",
|
||||||
"mermaid": "10.0.2",
|
"mermaid": "10.1.0",
|
||||||
"mini-css-extract-plugin": "2.7.5",
|
"mini-css-extract-plugin": "2.7.5",
|
||||||
"monaco-editor": "0.36.1",
|
"monaco-editor": "0.37.1",
|
||||||
"monaco-editor-webpack-plugin": "7.0.1",
|
"monaco-editor-webpack-plugin": "7.0.1",
|
||||||
"pretty-ms": "8.0.0",
|
"pretty-ms": "8.0.0",
|
||||||
"sortablejs": "1.15.0",
|
"sortablejs": "1.15.0",
|
||||||
|
@ -49,31 +49,31 @@
|
||||||
"vue-bar-graph": "2.0.0",
|
"vue-bar-graph": "2.0.0",
|
||||||
"vue-loader": "17.0.1",
|
"vue-loader": "17.0.1",
|
||||||
"vue3-calendar-heatmap": "2.0.5",
|
"vue3-calendar-heatmap": "2.0.5",
|
||||||
"webpack": "5.77.0",
|
"webpack": "5.80.0",
|
||||||
"webpack-cli": "5.0.1",
|
"webpack-cli": "5.0.1",
|
||||||
"workbox-routing": "6.5.4",
|
"workbox-routing": "6.5.4",
|
||||||
"workbox-strategies": "6.5.4",
|
"workbox-strategies": "6.5.4",
|
||||||
"wrap-ansi": "8.1.0"
|
"wrap-ansi": "8.1.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@playwright/test": "1.32.1",
|
"@playwright/test": "1.32.3",
|
||||||
"@rollup/pluginutils": "5.0.2",
|
"@rollup/pluginutils": "5.0.2",
|
||||||
"@stoplight/spectral-cli": "6.6.0",
|
"@stoplight/spectral-cli": "6.6.0",
|
||||||
"@vitejs/plugin-vue": "4.1.0",
|
"@vitejs/plugin-vue": "4.1.0",
|
||||||
"eslint": "8.37.0",
|
"eslint": "8.38.0",
|
||||||
"eslint-plugin-custom-elements": "0.0.7",
|
"eslint-plugin-custom-elements": "0.0.8",
|
||||||
"eslint-plugin-import": "2.27.5",
|
"eslint-plugin-import": "2.27.5",
|
||||||
"eslint-plugin-jquery": "1.5.1",
|
"eslint-plugin-jquery": "1.5.1",
|
||||||
"eslint-plugin-sonarjs": "0.19.0",
|
"eslint-plugin-sonarjs": "0.19.0",
|
||||||
"eslint-plugin-unicorn": "46.0.0",
|
"eslint-plugin-unicorn": "46.0.0",
|
||||||
"eslint-plugin-vue": "9.10.0",
|
"eslint-plugin-vue": "9.11.0",
|
||||||
"jsdom": "21.1.1",
|
"jsdom": "21.1.1",
|
||||||
"markdownlint-cli": "0.33.0",
|
"markdownlint-cli": "0.33.0",
|
||||||
"stylelint": "15.4.0",
|
"stylelint": "15.5.0",
|
||||||
"stylelint-declaration-strict-value": "1.9.2",
|
"stylelint-declaration-strict-value": "1.9.2",
|
||||||
"svgo": "3.0.2",
|
"svgo": "3.0.2",
|
||||||
"updates": "13.3.0",
|
"updates": "14.0.1",
|
||||||
"vitest": "0.29.8"
|
"vitest": "0.30.1"
|
||||||
},
|
},
|
||||||
"browserslist": [
|
"browserslist": [
|
||||||
"defaults",
|
"defaults",
|
||||||
|
|
|
@ -26,6 +26,7 @@ export default defineConfig({
|
||||||
allowOnly: true,
|
allowOnly: true,
|
||||||
passWithNoTests: true,
|
passWithNoTests: true,
|
||||||
watch: false,
|
watch: false,
|
||||||
|
outputDiffLines: Infinity,
|
||||||
},
|
},
|
||||||
plugins: [
|
plugins: [
|
||||||
stringPlugin(),
|
stringPlugin(),
|
||||||
|
|
Loading…
Reference in a new issue