feat: using degit to clone the templates

This commit is contained in:
qxb3
2022-05-11 15:07:50 +08:00
committed by Evo
parent 59cb125435
commit ddb02850f2
3 changed files with 28 additions and 6 deletions

17
package-lock.json generated
View File

@@ -10,6 +10,7 @@
"license": "MIT",
"dependencies": {
"colorette": "^2.0.16",
"degit": "^2.8.4",
"execa": "^6.1.0",
"find-up": "6.3.0",
"ora": "^6.1.0",
@@ -1297,6 +1298,17 @@
"clone": "^1.0.2"
}
},
"node_modules/degit": {
"version": "2.8.4",
"resolved": "https://registry.npmjs.org/degit/-/degit-2.8.4.tgz",
"integrity": "sha512-vqYuzmSA5I50J882jd+AbAhQtgK6bdKUJIex1JNfEUPENCgYsxugzKVZlFyMwV4i06MmnV47/Iqi5Io86zf3Ng==",
"bin": {
"degit": "degit"
},
"engines": {
"node": ">=8.0.0"
}
},
"node_modules/detect-file": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/detect-file/-/detect-file-1.0.0.tgz",
@@ -5640,6 +5652,11 @@
"clone": "^1.0.2"
}
},
"degit": {
"version": "2.8.4",
"resolved": "https://registry.npmjs.org/degit/-/degit-2.8.4.tgz",
"integrity": "sha512-vqYuzmSA5I50J882jd+AbAhQtgK6bdKUJIex1JNfEUPENCgYsxugzKVZlFyMwV4i06MmnV47/Iqi5Io86zf3Ng=="
},
"detect-file": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/detect-file/-/detect-file-1.0.0.tgz",