create-vite
Advanced tools
Comparing version 5.2.2 to 5.2.3
{ | ||
"name": "create-vite", | ||
"version": "5.2.2", | ||
"version": "5.2.3", | ||
"type": "module", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -16,4 +16,4 @@ { | ||
"typescript": "^5.2.2", | ||
"vite": "^5.1.6" | ||
"vite": "^5.2.0" | ||
} | ||
} |
@@ -15,4 +15,4 @@ { | ||
"devDependencies": { | ||
"vite": "^5.1.6" | ||
"vite": "^5.2.0" | ||
} | ||
} |
@@ -15,6 +15,6 @@ { | ||
"devDependencies": { | ||
"@preact/preset-vite": "^2.8.1", | ||
"@preact/preset-vite": "^2.8.2", | ||
"typescript": "^5.2.2", | ||
"vite": "^5.1.6" | ||
"vite": "^5.2.0" | ||
} | ||
} |
@@ -15,5 +15,5 @@ { | ||
"devDependencies": { | ||
"@preact/preset-vite": "^2.8.1", | ||
"vite": "^5.1.6" | ||
"@preact/preset-vite": "^2.8.2", | ||
"vite": "^5.2.0" | ||
} | ||
} |
@@ -14,3 +14,3 @@ { | ||
"typescript": "^5.2.2", | ||
"vite": "^5.1.6" | ||
"vite": "^5.2.0" | ||
}, | ||
@@ -17,0 +17,0 @@ "dependencies": { |
@@ -13,3 +13,3 @@ { | ||
"serve": "^14.2.1", | ||
"vite": "^5.1.6" | ||
"vite": "^5.2.0" | ||
}, | ||
@@ -16,0 +16,0 @@ "dependencies": { |
@@ -17,13 +17,13 @@ { | ||
"devDependencies": { | ||
"@types/react": "^18.2.64", | ||
"@types/react-dom": "^18.2.21", | ||
"@typescript-eslint/eslint-plugin": "^7.1.1", | ||
"@typescript-eslint/parser": "^7.1.1", | ||
"@types/react": "^18.2.66", | ||
"@types/react-dom": "^18.2.22", | ||
"@typescript-eslint/eslint-plugin": "^7.2.0", | ||
"@typescript-eslint/parser": "^7.2.0", | ||
"@vitejs/plugin-react": "^4.2.1", | ||
"eslint": "^8.57.0", | ||
"eslint-plugin-react-hooks": "^4.6.0", | ||
"eslint-plugin-react-refresh": "^0.4.5", | ||
"eslint-plugin-react-refresh": "^0.4.6", | ||
"typescript": "^5.2.2", | ||
"vite": "^5.1.6" | ||
"vite": "^5.2.0" | ||
} | ||
} |
@@ -17,11 +17,11 @@ { | ||
"devDependencies": { | ||
"@types/react": "^18.2.64", | ||
"@types/react-dom": "^18.2.21", | ||
"@types/react": "^18.2.66", | ||
"@types/react-dom": "^18.2.22", | ||
"@vitejs/plugin-react": "^4.2.1", | ||
"eslint": "^8.57.0", | ||
"eslint-plugin-react": "^7.34.0", | ||
"eslint-plugin-react": "^7.34.1", | ||
"eslint-plugin-react-hooks": "^4.6.0", | ||
"eslint-plugin-react-refresh": "^0.4.5", | ||
"vite": "^5.1.6" | ||
"eslint-plugin-react-refresh": "^0.4.6", | ||
"vite": "^5.2.0" | ||
} | ||
} |
@@ -16,5 +16,5 @@ { | ||
"typescript": "^5.2.2", | ||
"vite": "^5.1.6", | ||
"vite-plugin-solid": "^2.10.1" | ||
"vite": "^5.2.0", | ||
"vite-plugin-solid": "^2.10.2" | ||
} | ||
} |
@@ -15,5 +15,5 @@ { | ||
"devDependencies": { | ||
"vite": "^5.1.6", | ||
"vite-plugin-solid": "^2.10.1" | ||
"vite": "^5.2.0", | ||
"vite-plugin-solid": "^2.10.2" | ||
} | ||
} |
@@ -16,7 +16,7 @@ { | ||
"svelte": "^4.2.12", | ||
"svelte-check": "^3.6.6", | ||
"svelte-check": "^3.6.7", | ||
"tslib": "^2.6.2", | ||
"typescript": "^5.2.2", | ||
"vite": "^5.1.6" | ||
"vite": "^5.2.0" | ||
} | ||
} |
@@ -14,4 +14,4 @@ { | ||
"svelte": "^4.2.12", | ||
"vite": "^5.1.6" | ||
"vite": "^5.2.0" | ||
} | ||
} |
@@ -13,4 +13,4 @@ { | ||
"typescript": "^5.2.2", | ||
"vite": "^5.1.6" | ||
"vite": "^5.2.0" | ||
} | ||
} |
@@ -12,4 +12,4 @@ { | ||
"devDependencies": { | ||
"vite": "^5.1.6" | ||
"vite": "^5.2.0" | ||
} | ||
} |
{ | ||
"recommendations": ["Vue.volar", "Vue.vscode-typescript-vue-plugin"] | ||
"recommendations": ["Vue.volar"] | ||
} |
@@ -17,5 +17,5 @@ { | ||
"typescript": "^5.2.2", | ||
"vite": "^5.1.6", | ||
"vue-tsc": "^1.8.27" | ||
"vite": "^5.2.0", | ||
"vue-tsc": "^2.0.6" | ||
} | ||
} |
@@ -5,15 +5,6 @@ # Vue 3 + TypeScript + Vite | ||
## Recommended IDE Setup | ||
## Recommended Setup | ||
- [VS Code](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (and disable Vetur) + [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin). | ||
- [VS Code](https://code.visualstudio.com/) + [Vue - Official](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (previously Volar) and disable Vetur | ||
## Type Support For `.vue` Imports in TS | ||
TypeScript cannot handle type information for `.vue` imports by default, so we replace the `tsc` CLI with `vue-tsc` for type checking. In editors, we need [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin) to make the TypeScript language service aware of `.vue` types. | ||
If the standalone TypeScript plugin doesn't feel fast enough to you, Volar has also implemented a [Take Over Mode](https://github.com/johnsoncodehk/volar/discussions/471#discussioncomment-1361669) that is more performant. You can enable it by the following steps: | ||
1. Disable the built-in TypeScript Extension | ||
1. Run `Extensions: Show Built-in Extensions` from VSCode's command palette | ||
2. Find `TypeScript and JavaScript Language Features`, right click and select `Disable (Workspace)` | ||
2. Reload the VSCode window by running `Developer: Reload Window` from the command palette. | ||
- Use [vue-tsc](https://github.com/vuejs/language-tools/tree/master/packages/tsc) for performing the same type checking from the command line, or for generating d.ts files for SFCs. |
{ | ||
"recommendations": ["Vue.volar", "Vue.vscode-typescript-vue-plugin"] | ||
"recommendations": ["Vue.volar"] | ||
} |
@@ -16,4 +16,4 @@ { | ||
"@vitejs/plugin-vue": "^5.0.4", | ||
"vite": "^5.1.6" | ||
"vite": "^5.2.0" | ||
} | ||
} |
@@ -7,2 +7,2 @@ # Vue 3 + Vite | ||
- [VS Code](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (and disable Vetur) + [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin). | ||
- [VS Code](https://code.visualstudio.com/) + [Vue - Official](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (previously Volar) and disable Vetur |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
206748