mirror of
https://github.com/go-gitea/gitea.git
synced 2024-11-04 08:17:24 -05:00
Update JS dependencies, misc tweaks (#25768)
- Update all JS dependencies minus stylelint because of https://github.com/elirasza/stylelint-stylistic/issues/12 - Misc tweaks to eslint and stylelint configs - Tested Monaco and Mermaid
This commit is contained in:
parent
cc00fd50f3
commit
429c12fe62
@ -22,7 +22,7 @@ plugins:
|
|||||||
- eslint-plugin-wc
|
- eslint-plugin-wc
|
||||||
|
|
||||||
env:
|
env:
|
||||||
es2022: true
|
es2024: true
|
||||||
node: true
|
node: true
|
||||||
|
|
||||||
overrides:
|
overrides:
|
||||||
@ -156,7 +156,7 @@ rules:
|
|||||||
import/no-restricted-paths: [0]
|
import/no-restricted-paths: [0]
|
||||||
import/no-self-import: [2]
|
import/no-self-import: [2]
|
||||||
import/no-unassigned-import: [0]
|
import/no-unassigned-import: [0]
|
||||||
import/no-unresolved: [2, {commonjs: true, ignore: ["\\?.+$"]}]
|
import/no-unresolved: [2, {commonjs: true, ignore: [\?.+$, ^vitest/]}]
|
||||||
import/no-unused-modules: [2, {unusedExports: true}]
|
import/no-unused-modules: [2, {unusedExports: true}]
|
||||||
import/no-useless-path-segments: [2, {commonjs: true}]
|
import/no-useless-path-segments: [2, {commonjs: true}]
|
||||||
import/no-webpack-loader-syntax: [2]
|
import/no-webpack-loader-syntax: [2]
|
||||||
@ -693,7 +693,7 @@ rules:
|
|||||||
unicorn/prefer-dom-node-remove: [2]
|
unicorn/prefer-dom-node-remove: [2]
|
||||||
unicorn/prefer-dom-node-text-content: [2]
|
unicorn/prefer-dom-node-text-content: [2]
|
||||||
unicorn/prefer-event-target: [2]
|
unicorn/prefer-event-target: [2]
|
||||||
unicorn/prefer-export-from: [2, {ignoreUsedVariables: true}]
|
unicorn/prefer-export-from: [0]
|
||||||
unicorn/prefer-includes: [2]
|
unicorn/prefer-includes: [2]
|
||||||
unicorn/prefer-json-parse-buffer: [0]
|
unicorn/prefer-json-parse-buffer: [0]
|
||||||
unicorn/prefer-keyboard-event-key: [2]
|
unicorn/prefer-keyboard-event-key: [2]
|
||||||
|
964
package-lock.json
generated
964
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
16
package.json
16
package.json
@ -24,16 +24,16 @@
|
|||||||
"easymde": "2.18.0",
|
"easymde": "2.18.0",
|
||||||
"esbuild-loader": "3.0.1",
|
"esbuild-loader": "3.0.1",
|
||||||
"escape-goat": "4.0.0",
|
"escape-goat": "4.0.0",
|
||||||
"fast-glob": "3.2.12",
|
"fast-glob": "3.3.0",
|
||||||
"jquery": "3.7.0",
|
"jquery": "3.7.0",
|
||||||
"jquery.are-you-sure": "1.9.0",
|
"jquery.are-you-sure": "1.9.0",
|
||||||
"katex": "0.16.8",
|
"katex": "0.16.8",
|
||||||
"license-checker-webpack-plugin": "0.2.1",
|
"license-checker-webpack-plugin": "0.2.1",
|
||||||
"lightningcss-loader": "2.1.0",
|
"lightningcss-loader": "2.1.0",
|
||||||
"mermaid": "10.2.3",
|
"mermaid": "10.2.4",
|
||||||
"mini-css-extract-plugin": "2.7.6",
|
"mini-css-extract-plugin": "2.7.6",
|
||||||
"minimatch": "9.0.2",
|
"minimatch": "9.0.3",
|
||||||
"monaco-editor": "0.39.0",
|
"monaco-editor": "0.40.0",
|
||||||
"monaco-editor-webpack-plugin": "7.0.1",
|
"monaco-editor-webpack-plugin": "7.0.1",
|
||||||
"pdfobject": "2.2.12",
|
"pdfobject": "2.2.12",
|
||||||
"pretty-ms": "8.0.0",
|
"pretty-ms": "8.0.0",
|
||||||
@ -48,7 +48,7 @@
|
|||||||
"vue-bar-graph": "2.0.0",
|
"vue-bar-graph": "2.0.0",
|
||||||
"vue-loader": "17.2.2",
|
"vue-loader": "17.2.2",
|
||||||
"vue3-calendar-heatmap": "2.0.5",
|
"vue3-calendar-heatmap": "2.0.5",
|
||||||
"webpack": "5.88.0",
|
"webpack": "5.88.1",
|
||||||
"webpack-cli": "5.1.4",
|
"webpack-cli": "5.1.4",
|
||||||
"wrap-ansi": "8.1.0"
|
"wrap-ansi": "8.1.0"
|
||||||
},
|
},
|
||||||
@ -57,7 +57,7 @@
|
|||||||
"@playwright/test": "1.35.1",
|
"@playwright/test": "1.35.1",
|
||||||
"@stoplight/spectral-cli": "6.8.0",
|
"@stoplight/spectral-cli": "6.8.0",
|
||||||
"@vitejs/plugin-vue": "4.2.3",
|
"@vitejs/plugin-vue": "4.2.3",
|
||||||
"eslint": "8.43.0",
|
"eslint": "8.44.0",
|
||||||
"eslint-plugin-array-func": "3.1.8",
|
"eslint-plugin-array-func": "3.1.8",
|
||||||
"eslint-plugin-custom-elements": "0.0.8",
|
"eslint-plugin-custom-elements": "0.0.8",
|
||||||
"eslint-plugin-import": "2.27.5",
|
"eslint-plugin-import": "2.27.5",
|
||||||
@ -77,9 +77,9 @@
|
|||||||
"stylelint-declaration-strict-value": "1.9.2",
|
"stylelint-declaration-strict-value": "1.9.2",
|
||||||
"stylelint-stylistic": "0.4.2",
|
"stylelint-stylistic": "0.4.2",
|
||||||
"svgo": "3.0.2",
|
"svgo": "3.0.2",
|
||||||
"updates": "14.2.8",
|
"updates": "14.3.2",
|
||||||
"vite-string-plugin": "1.1.0",
|
"vite-string-plugin": "1.1.0",
|
||||||
"vitest": "0.32.2"
|
"vitest": "0.33.0"
|
||||||
},
|
},
|
||||||
"browserslist": [
|
"browserslist": [
|
||||||
"defaults",
|
"defaults",
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import {defineConfig} from 'vitest/dist/config.js';
|
import {defineConfig} from 'vitest/config';
|
||||||
import vue from '@vitejs/plugin-vue';
|
import vuePlugin from '@vitejs/plugin-vue';
|
||||||
import {stringPlugin} from 'vite-string-plugin';
|
import {stringPlugin} from 'vite-string-plugin';
|
||||||
|
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
@ -12,10 +12,9 @@ export default defineConfig({
|
|||||||
allowOnly: true,
|
allowOnly: true,
|
||||||
passWithNoTests: true,
|
passWithNoTests: true,
|
||||||
watch: false,
|
watch: false,
|
||||||
outputDiffLines: Infinity,
|
|
||||||
},
|
},
|
||||||
plugins: [
|
plugins: [
|
||||||
stringPlugin(),
|
stringPlugin(),
|
||||||
vue(),
|
vuePlugin(),
|
||||||
],
|
],
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user