Fixed errors on deployment.
Some checks failed
Deploy FrontEnd / deploy-staging (push) Has been cancelled
Deploy FrontEnd / deploy-production (push) Has been cancelled
CI script / lint (push) Has been cancelled
CI script / build (push) Has been cancelled
CI script / SonarCloud (push) Has been cancelled

This commit is contained in:
Filipe Soccol 2024-11-11 11:06:52 -03:00
parent 1d98afbdfb
commit 9cda680494
4 changed files with 15 additions and 10234 deletions

10222
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -9,7 +9,7 @@
"serve": "vue-cli-service serve", "serve": "vue-cli-service serve",
"coverage": "vitest run --coverage", "coverage": "vitest run --coverage",
"build-only": "vite build", "build-only": "vite build",
"type-check": "vue-tsc --noEmit", "type-check": "vue-tsc --skipLibCheck --noEmit",
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --ignore-path .gitignore", "lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --ignore-path .gitignore",
"lint:fix": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore" "lint:fix": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore"
}, },

View File

@ -16,11 +16,22 @@
"jest", "jest",
"node" "node"
], ],
"resolveJsonModule": true "resolveJsonModule": true,
"skipLibCheck": true,
"target": "esnext",
"module": "esnext",
"lib": [
"esnext",
"dom"
],
}, },
"references": [ "references": [
{ {
"path": "./tsconfig.config.json" "path": "./tsconfig.config.json"
} }
],
"exclude": [
"node_modules",
"./node_modules"
] ]
} }

View File

@ -7,16 +7,8 @@ import svgLoader from "vite-svg-loader";
// https://vitejs.dev/config/ // https://vitejs.dev/config/
export default defineConfig({ export default defineConfig({
optimizeDeps: { build: {
esbuildOptions: { target: "esnext",
target: "esnext",
define: {
global: "globalThis",
},
supported: {
bigint: true,
},
},
}, },
test: { test: {
globals: true, globals: true,