create-young-proj 0.10.0 → 0.10.1
Sign up to get free protection for your applications and to get access to all the features.
- package/init.mjs +2 -4
- package/package.json +1 -2
package/init.mjs
CHANGED
@@ -1,10 +1,8 @@
|
|
1
1
|
#!/usr/bin/env node
|
2
|
-
import { execa } from 'execa'
|
3
|
-
|
4
2
|
try {
|
5
|
-
await
|
3
|
+
await import('simple-git-hooks/postinstall.js')
|
6
4
|
console.log('simple-git-hooks installed successfully')
|
7
5
|
}
|
8
6
|
catch (error) {
|
9
|
-
console.log('just
|
7
|
+
console.log('just use, not dev')
|
10
8
|
}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "create-young-proj",
|
3
|
-
"version": "0.10.
|
3
|
+
"version": "0.10.1",
|
4
4
|
"description": "create project from template",
|
5
5
|
"author": "BluesYoung-web",
|
6
6
|
"license": "MIT",
|
@@ -44,7 +44,6 @@
|
|
44
44
|
"@types/node": "16",
|
45
45
|
"cross-spawn": "^7.0.3",
|
46
46
|
"eslint": "^8.48.0",
|
47
|
-
"execa": "^8.0.1",
|
48
47
|
"jiti": "^1.19.3",
|
49
48
|
"kolorist": "^1.6.0",
|
50
49
|
"lint-staged": "^14.0.1",
|