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:
silverwind 2023-07-08 12:26:35 +02:00 committed by GitHub
parent cc00fd50f3
commit 429c12fe62
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 690 additions and 303 deletions

View file

@ -22,7 +22,7 @@ plugins:
- eslint-plugin-wc
env:
es2022: true
es2024: true
node: true
overrides:
@ -156,7 +156,7 @@ rules:
import/no-restricted-paths: [0]
import/no-self-import: [2]
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-useless-path-segments: [2, {commonjs: true}]
import/no-webpack-loader-syntax: [2]
@ -693,7 +693,7 @@ rules:
unicorn/prefer-dom-node-remove: [2]
unicorn/prefer-dom-node-text-content: [2]
unicorn/prefer-event-target: [2]
unicorn/prefer-export-from: [2, {ignoreUsedVariables: true}]
unicorn/prefer-export-from: [0]
unicorn/prefer-includes: [2]
unicorn/prefer-json-parse-buffer: [0]
unicorn/prefer-keyboard-event-key: [2]

964
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -24,16 +24,16 @@
"easymde": "2.18.0",
"esbuild-loader": "3.0.1",
"escape-goat": "4.0.0",
"fast-glob": "3.2.12",
"fast-glob": "3.3.0",
"jquery": "3.7.0",
"jquery.are-you-sure": "1.9.0",
"katex": "0.16.8",
"license-checker-webpack-plugin": "0.2.1",
"lightningcss-loader": "2.1.0",
"mermaid": "10.2.3",
"mermaid": "10.2.4",
"mini-css-extract-plugin": "2.7.6",
"minimatch": "9.0.2",
"monaco-editor": "0.39.0",
"minimatch": "9.0.3",
"monaco-editor": "0.40.0",
"monaco-editor-webpack-plugin": "7.0.1",
"pdfobject": "2.2.12",
"pretty-ms": "8.0.0",
@ -48,7 +48,7 @@
"vue-bar-graph": "2.0.0",
"vue-loader": "17.2.2",
"vue3-calendar-heatmap": "2.0.5",
"webpack": "5.88.0",
"webpack": "5.88.1",
"webpack-cli": "5.1.4",
"wrap-ansi": "8.1.0"
},
@ -57,7 +57,7 @@
"@playwright/test": "1.35.1",
"@stoplight/spectral-cli": "6.8.0",
"@vitejs/plugin-vue": "4.2.3",
"eslint": "8.43.0",
"eslint": "8.44.0",
"eslint-plugin-array-func": "3.1.8",
"eslint-plugin-custom-elements": "0.0.8",
"eslint-plugin-import": "2.27.5",
@ -77,9 +77,9 @@
"stylelint-declaration-strict-value": "1.9.2",
"stylelint-stylistic": "0.4.2",
"svgo": "3.0.2",
"updates": "14.2.8",
"updates": "14.3.2",
"vite-string-plugin": "1.1.0",
"vitest": "0.32.2"
"vitest": "0.33.0"
},
"browserslist": [
"defaults",

View file

@ -1,5 +1,5 @@
import {defineConfig} from 'vitest/dist/config.js';
import vue from '@vitejs/plugin-vue';
import {defineConfig} from 'vitest/config';
import vuePlugin from '@vitejs/plugin-vue';
import {stringPlugin} from 'vite-string-plugin';
export default defineConfig({
@ -12,10 +12,9 @@ export default defineConfig({
allowOnly: true,
passWithNoTests: true,
watch: false,
outputDiffLines: Infinity,
},
plugins: [
stringPlugin(),
vue(),
vuePlugin(),
],
});