@idealyst/cli 1.0.22 → 1.0.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -138,7 +138,7 @@ async function initializeReactNativeProject(projectName, directory, displayName,
|
|
|
138
138
|
try {
|
|
139
139
|
// Use the correct React Native CLI command format with specific version and yarn
|
|
140
140
|
const cliCommand = 'npx';
|
|
141
|
-
const args = ['@react-native-community/cli@latest', 'init', projectName, '--version', '0.80.1', '--pm', 'yarn', '--skip-git'];
|
|
141
|
+
const args = ['@react-native-community/cli@latest', 'init', projectName, '--version', '0.80.1', '--pm', 'yarn', '--skip-git-init'];
|
|
142
142
|
// Add title if displayName is provided
|
|
143
143
|
if (displayName) {
|
|
144
144
|
args.push('--title', displayName);
|
|
@@ -154,7 +154,7 @@ async function initializeReactNativeProject(projectName, directory, displayName,
|
|
|
154
154
|
catch (error) {
|
|
155
155
|
spinner.fail('Failed to initialize React Native project');
|
|
156
156
|
console.log(chalk.yellow('Make sure you have the React Native CLI and yarn available:'));
|
|
157
|
-
console.log(chalk.white(' npx @react-native-community/cli@latest init ProjectName --version 0.80.1 --pm yarn --skip-git'));
|
|
157
|
+
console.log(chalk.white(' npx @react-native-community/cli@latest init ProjectName --version 0.80.1 --pm yarn --skip-git-init'));
|
|
158
158
|
console.log(chalk.yellow('If you encounter issues, try:'));
|
|
159
159
|
console.log(chalk.white(' npm install -g @react-native-community/cli'));
|
|
160
160
|
console.log(chalk.white(' npm install -g yarn'));
|