ui_migration feat(npm) run npm audit fix --force, 0 vulnerabilites achieved
This commit is contained in:
parent
e6005d052c
commit
d1c40238d5
3 changed files with 764 additions and 754 deletions
|
|
@ -1,40 +1,30 @@
|
||||||
import js from "@eslint/js";
|
import js from "@eslint/js";
|
||||||
import vue from "eslint-plugin-vue";
|
import vue from "eslint-plugin-vue";
|
||||||
import vueParser from "vue-eslint-parser";
|
|
||||||
import babelParser from "@babel/eslint-parser";
|
|
||||||
import prettierPlugin from "eslint-plugin-prettier";
|
import prettierPlugin from "eslint-plugin-prettier";
|
||||||
import prettierConfig from "eslint-config-prettier";
|
import prettierConfig from "eslint-config-prettier";
|
||||||
import globals from "globals";
|
import globals from "globals";
|
||||||
|
import pinia from "eslint-plugin-pinia";
|
||||||
|
|
||||||
const isProd = process.env.NODE_ENV === "production";
|
const isProd = process.env.NODE_ENV === "production";
|
||||||
|
|
||||||
export default [
|
export default [
|
||||||
{
|
{
|
||||||
languageOptions: {
|
ignores: ["dist/**/*", "lib/**/*", "**/*.min.js", "tools/architecture_dashboard/**/*"],
|
||||||
globals: {
|
|
||||||
...globals.node,
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
},
|
|
||||||
js.configs.recommended,
|
js.configs.recommended,
|
||||||
|
|
||||||
...vue.configs["flat/recommended"],
|
...vue.configs["flat/recommended"],
|
||||||
|
|
||||||
prettierConfig,
|
|
||||||
|
|
||||||
{
|
{
|
||||||
files: ["**/*.vue", "**/*.js", "**/*.jsx", "**/*.cjs", "**/*.mjs"],
|
files: ["**/*.vue", "**/*.js", "**/*.jsx", "**/*.cjs", "**/*.mjs"],
|
||||||
languageOptions: {
|
languageOptions: {
|
||||||
parser: vueParser,
|
|
||||||
parserOptions: {
|
|
||||||
parser: babelParser,
|
|
||||||
requireConfigFile: false,
|
|
||||||
ecmaVersion: 2021,
|
|
||||||
sourceType: "module",
|
|
||||||
},
|
|
||||||
ecmaVersion: 2021,
|
ecmaVersion: 2021,
|
||||||
sourceType: "module",
|
sourceType: "module",
|
||||||
globals: {
|
globals: {
|
||||||
|
...globals.node,
|
||||||
|
...globals.browser,
|
||||||
|
...globals.es2021,
|
||||||
process: "readonly",
|
process: "readonly",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
@ -42,6 +32,7 @@ export default [
|
||||||
plugins: {
|
plugins: {
|
||||||
vue,
|
vue,
|
||||||
prettier: prettierPlugin,
|
prettier: prettierPlugin,
|
||||||
|
pinia,
|
||||||
},
|
},
|
||||||
|
|
||||||
rules: {
|
rules: {
|
||||||
|
|
@ -76,6 +67,11 @@ export default [
|
||||||
|
|
||||||
"vue/no-unused-components": "warn",
|
"vue/no-unused-components": "warn",
|
||||||
"vue/no-unused-vars": "warn",
|
"vue/no-unused-vars": "warn",
|
||||||
|
|
||||||
|
// Pinia best practices
|
||||||
|
"pinia/prefer-use-store-naming-convention": "warn",
|
||||||
|
"pinia/require-setup-store-properties-export": "warn",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
prettierConfig,
|
||||||
];
|
];
|
||||||
|
|
|
||||||
1485
webapp/package-lock.json
generated
1485
webapp/package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
|
@ -18,6 +18,7 @@
|
||||||
"mitt": "^3.0.1",
|
"mitt": "^3.0.1",
|
||||||
"mousetrap": "^1.6.5",
|
"mousetrap": "^1.6.5",
|
||||||
"openseadragon": "^5.0.0",
|
"openseadragon": "^5.0.0",
|
||||||
|
"pinia": "^3.0.4",
|
||||||
"uikit": "^3.24.2",
|
"uikit": "^3.24.2",
|
||||||
"vue": "^3.4.0",
|
"vue": "^3.4.0",
|
||||||
"vue-router": "4.0.0",
|
"vue-router": "4.0.0",
|
||||||
|
|
@ -25,7 +26,7 @@
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/eslint-parser": "^7.28.5",
|
"@babel/eslint-parser": "^7.28.5",
|
||||||
"@vitejs/plugin-vue": "^5.2.4",
|
"@vitejs/plugin-vue": "^6.0.6",
|
||||||
"@vue/eslint-config-prettier": "9.0.0",
|
"@vue/eslint-config-prettier": "9.0.0",
|
||||||
"autoprefixer": "^10.4.24",
|
"autoprefixer": "^10.4.24",
|
||||||
"core-js": "^3.46.0",
|
"core-js": "^3.46.0",
|
||||||
|
|
@ -35,7 +36,7 @@
|
||||||
"less": "^4.5.1",
|
"less": "^4.5.1",
|
||||||
"material-symbols": "^0.39.1",
|
"material-symbols": "^0.39.1",
|
||||||
"prettier": "^3.2.8",
|
"prettier": "^3.2.8",
|
||||||
"vite": "^5.4.21"
|
"vite": "^8.0.8"
|
||||||
},
|
},
|
||||||
"postcss": {
|
"postcss": {
|
||||||
"plugins": {
|
"plugins": {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue