@reactful/create 0.0.102 → 0.0.103
Sign up to get free protection for your applications and to get access to all the features.
- package/index.js +2 -1
- package/package.json +1 -1
package/index.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
#!/usr/bin/env node
|
2
2
|
|
3
3
|
import npmRegistryFetch from 'npm-registry-fetch'
|
4
|
-
import { execSync } from 'child_process'
|
4
|
+
import { spawn , execSync } from 'child_process'
|
5
5
|
import inquirer from 'inquirer'
|
6
6
|
import path from 'path'
|
7
7
|
import * as tar from 'tar'
|
@@ -55,6 +55,7 @@ async function prompting(answers) {
|
|
55
55
|
console.log('- installing dependencies...\n')
|
56
56
|
process.chdir(answers.project)
|
57
57
|
execSync(`bun install`)
|
58
|
+
spawn("cd", [answers.project])
|
58
59
|
}
|
59
60
|
|
60
61
|
function renamingJSON(directory, projectName) {
|