create-vite
Advanced tools
Comparing version 2.5.1 to 2.5.2
@@ -0,1 +1,10 @@ | ||
## [2.5.2](https://github.com/vitejs/vite/compare/create-vite@2.5.1...create-vite@2.5.2) (2021-07-20) | ||
### Bug Fixes | ||
* create-vite when targetDir is a valid packageName ([#4247](https://github.com/vitejs/vite/issues/4247)) ([02e244d](https://github.com/vitejs/vite/commit/02e244dce128e7ea054034f68a0e28edabec28a0)) | ||
## [2.5.1](https://github.com/vitejs/vite/compare/create-vite@2.5.0...create-vite@2.5.1) (2021-07-12) | ||
@@ -2,0 +11,0 @@ |
@@ -159,3 +159,3 @@ #!/usr/bin/env node | ||
type: (_, { overwrite } = {}) => { | ||
if (overwrite == false) { | ||
if (overwrite === false) { | ||
throw new Error(red('✖') + ' Operation cancelled') | ||
@@ -254,3 +254,3 @@ } | ||
pkg.name = packageName | ||
pkg.name = packageName || targetDir | ||
@@ -257,0 +257,0 @@ write('package.json', JSON.stringify(pkg, null, 2)) |
{ | ||
"name": "create-vite", | ||
"version": "2.5.1", | ||
"version": "2.5.2", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "author": "Evan You", |
@@ -21,5 +21,5 @@ { | ||
"devDependencies": { | ||
"vite": "^2.4.2", | ||
"vite": "^2.4.3", | ||
"typescript": "^4.3.2" | ||
} | ||
} | ||
} |
@@ -19,4 +19,4 @@ { | ||
"devDependencies": { | ||
"vite": "^2.4.2" | ||
"vite": "^2.4.3" | ||
} | ||
} | ||
} |
@@ -15,4 +15,4 @@ { | ||
"typescript": "^4.3.2", | ||
"vite": "^2.4.2" | ||
"vite": "^2.4.3" | ||
} | ||
} | ||
} |
@@ -14,4 +14,4 @@ { | ||
"@preact/preset-vite": "^2.0.0", | ||
"vite": "^2.4.2" | ||
"vite": "^2.4.3" | ||
} | ||
} | ||
} |
@@ -18,4 +18,4 @@ { | ||
"typescript": "^4.3.2", | ||
"vite": "^2.4.2" | ||
"vite": "^2.4.3" | ||
} | ||
} | ||
} |
@@ -15,4 +15,4 @@ { | ||
"@vitejs/plugin-react-refresh": "^1.3.1", | ||
"vite": "^2.4.2" | ||
"vite": "^2.4.3" | ||
} | ||
} | ||
} |
@@ -19,4 +19,4 @@ { | ||
"typescript": "^4.3.2", | ||
"vite": "^2.4.2" | ||
"vite": "^2.4.3" | ||
} | ||
} | ||
} |
@@ -13,4 +13,4 @@ { | ||
"svelte": "^3.37.0", | ||
"vite": "^2.4.2" | ||
"vite": "^2.4.3" | ||
} | ||
} | ||
} |
@@ -11,4 +11,4 @@ { | ||
"typescript": "^4.3.2", | ||
"vite": "^2.4.2" | ||
"vite": "^2.4.3" | ||
} | ||
} | ||
} |
@@ -10,4 +10,4 @@ { | ||
"devDependencies": { | ||
"vite": "^2.4.2" | ||
"vite": "^2.4.3" | ||
} | ||
} | ||
} |
@@ -16,5 +16,5 @@ { | ||
"typescript": "^4.3.2", | ||
"vite": "^2.4.2", | ||
"vite": "^2.4.3", | ||
"vue-tsc": "^0.0.24" | ||
} | ||
} | ||
} |
@@ -15,4 +15,4 @@ { | ||
"@vue/compiler-sfc": "^3.0.5", | ||
"vite": "^2.4.2" | ||
"vite": "^2.4.3" | ||
} | ||
} | ||
} |
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
124034