@reactful/create 0.0.54 → 0.0.55

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 +3 -2
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -1,10 +1,11 @@
1
1
  #!/usr/bin/env node
2
2
 
3
3
  import inquirer from 'inquirer'
4
- import { $ } from "bun"
5
4
  import path from 'path'
6
5
  import fs from 'fs'
7
6
 
7
+ const { exec } = require('child_process');
8
+
8
9
  const GREEN = '\x1b[32m';
9
10
  const RESET = '\x1b[0m';
10
11
  const prefix = `${GREEN}+${RESET}`
@@ -46,7 +47,7 @@ inquirer.prompt(questions).then(async function (answers) {
46
47
 
47
48
  console.log('')
48
49
 
49
- await $`cd ${answers.project}; bun install`
50
+ exec($`cd ${answers.project}; bun install`)
50
51
  })
51
52
 
52
53
  function namingJSON(directory, projectName) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reactful/create",
3
- "version": "0.0.54",
3
+ "version": "0.0.55",
4
4
  "main": "index.js",
5
5
  "type": "module",
6
6
  "description": "reactful scafold tool",