diff --git a/frontend/package-lock.json b/frontend/package-lock.json index 51a93f5391..ee8dc7caaa 100644 --- a/frontend/package-lock.json +++ b/frontend/package-lock.json @@ -65,7 +65,7 @@ "vite": "^5.0.0", "vite-plugin-istanbul": "^5.0.0", "vitest": "^1.0.0", - "volar-service-vetur": "^0.0.45", + "volar-service-vetur": "latest", "vue-eslint-parser": "^9.3.1", "vue-svg-loader": "^0.16.0", "vue-tsc": "^1.8.1", diff --git a/frontend/package.json b/frontend/package.json index 2d648bb861..2fb60bb632 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -24,7 +24,7 @@ "scripts": { "start": "vite --host --port 3000", "build": "vue-tsc --noEmit && vite build", - "preview": "cross-env VITE_NODE_ENV=test start-server-and-test stub http://127.0.0.1:8080/ 'vite --host --port 3000'", + "preview": "cross-env VITE_NODE_ENV=test start-server-and-test stub http://127.0.0.1:8080 start", "preview:app": "cross-env VITE_NODE_ENV=test vite --host --port 3000", "typecheck": "vue-tsc --noEmit -p tsconfig.vitest.json --composite false", "lint": "eslint . --fix --ignore-path .gitignore", @@ -36,12 +36,12 @@ "posttest:component": "mv reports/.nyc_report reports/component", "test:unit": "vitest run --coverage", "posttest:unit": "mv reports/.vite_report reports/unit", - "test:e2e": "start-server-and-test preview http://127.0.0.1:3000/ 'cypress run --headless'", + "test:e2e": "start-server-and-test preview http://127.0.0.1:3000 'cypress run --headless'", "posttest:e2e": "mv reports/.nyc_report reports/e2e", "pretest:report:merge": "rm -rf reports-merge && mkdir -p reports-merge && for name in component e2e unit; do cp reports/$name/coverage-final.json reports-merge/$name.json; done", "test:report:merge": "mkdir -p .nyc_output && rm -rf coverage && nyc --config nyc.config.json merge reports-merge && mv coverage.json .nyc_output/out.json && nyc --config nyc.config.json report --reporter lcov --reporter text-summary --report-dir coverage --temp-dir .nyc_output", "test:report:clean": "rm -rf reports && mkdir -p reports/.nyc_output/processinfo && mkdir -p coverage", - "test:build": "start-server-and-test preview http://127.0.0.1:3000/ 'cypress open'", + "test:build": "start-server-and-test preview http://127.0.0.1:3000 'cypress open'", "test:flush": "rm -rf reports && rm -rf .nyc_output && rm -rf coverage && rm -rf reports-merge", "posttest:flush": "npm run coverage" },