Open
Description
this's package.json form npm create vue@legacy
{ "name": "xxxx-xxxx-xxxx", "version": "0.0.0", "scripts": { "dev": "vite", "build": "run-p type-check build-only", "preview": "vite preview --port 4173", "test:unit": "vitest --environment jsdom", "build-only": "vite build", "type-check": "vue-tsc --noEmit -p tsconfig.vitest.json --composite false", "lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore" }, "dependencies": { "pinia": "^2.0.16", "vue": "^2.7.7", "vue-router": "^3.5.4" }, "devDependencies": { "@rushstack/eslint-patch": "^1.1.0", "@types/jsdom": "^16.2.14", "@types/node": "^16.11.45", "@vitejs/plugin-legacy": "^2.0.0", "@vitejs/plugin-vue2": "^1.1.2", "@vitejs/plugin-vue2-jsx": "^1.0.2", "@vue/eslint-config-prettier": "^7.0.0", "@vue/eslint-config-typescript": "^11.0.0", "@vue/test-utils": "^1.3.0", "@vue/tsconfig": "^0.1.3", "eslint": "^8.5.0", "eslint-plugin-vue": "^9.0.0", "jsdom": "^20.0.0", "npm-run-all": "^4.1.5", "prettier": "^2.5.1", "terser": "^5.14.2", "typescript": "~4.7.4", "vite": "^3.0.2", "vitest": "^0.18.1", "vue-template-compiler": "^2.7.7", "vue-tsc": "^0.38.8" } }
it's create-vue@2.2.0
His last update was a year ago.
The main point is:
- node 16 is outdate
- The latest "vite" is v5.