create-valaxy 0.11.2 → 0.11.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.js CHANGED
@@ -37,7 +37,9 @@ async function init() {
37
37
  const packageName = await getValidPackageName(targetDir)
38
38
  const root = path.join(cwd, targetDir)
39
39
 
40
- if (!fs.existsSync(root)) { fs.mkdirSync(root, { recursive: true }) }
40
+ if (!fs.existsSync(root)) {
41
+ fs.mkdirSync(root, { recursive: true })
42
+ }
41
43
  else {
42
44
  const existing = fs.readdirSync(root)
43
45
  if (existing.length) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-valaxy",
3
- "version": "0.11.2",
3
+ "version": "0.11.4",
4
4
  "description": "Create Starter Template for Valaxy",
5
5
  "author": {
6
6
  "email": "me@yunyoujun.cn",
@@ -11,8 +11,8 @@
11
11
  "serve": "vite preview"
12
12
  },
13
13
  "dependencies": {
14
- "valaxy": "0.11.2",
15
- "valaxy-theme-yun": "0.11.2"
14
+ "valaxy": "0.11.4",
15
+ "valaxy-theme-yun": "0.11.4"
16
16
  },
17
17
  "devDependencies": {
18
18
  "typescript": "^4.8.4"