@reactful/create 0.0.63 → 0.0.64

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/index.js +5 -4
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -38,12 +38,11 @@ inquirer.prompt(questions).then(async function (answers) {
38
38
  const destination = path.join(process.cwd(), answers.project)
39
39
  const base = 'https://github.com/jsenaribeiro/reactful/installation/'
40
40
 
41
- copyScaffold(`${base}/common`, destination)
42
- copyScaffold(`${base}/templates/${answers.template}`, destination)
41
+ await copyScaffold(`${base}/common`, destination)
42
+ await copyScaffold(`${base}/templates/${answers.template}`, destination)
43
+
43
44
  renamingJSON(destination, answers.project)
44
45
 
45
- console.log('')
46
-
47
46
  exec(`bun install`)
48
47
  })
49
48
 
@@ -55,6 +54,8 @@ function renamingJSON(directory, projectName) {
55
54
  obj.name = projectName
56
55
 
57
56
  fs.writeFileSync(url, JSON.stringify(obj, null, 3))
57
+
58
+ console.log('')
58
59
  }
59
60
 
60
61
  async function downloadRepo(url, destino) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reactful/create",
3
- "version": "0.0.63",
3
+ "version": "0.0.64",
4
4
  "main": "index.js",
5
5
  "type": "module",
6
6
  "description": "reactful scafold tool",