create-fleetbo-project 1.1.0 → 1.2.1

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.
Files changed (2) hide show
  1. package/cli.js +2 -2
  2. package/package.json +1 -1
package/cli.js CHANGED
@@ -90,7 +90,7 @@ async function setupProject() {
90
90
 
91
91
  // Étape 4 : Configuration du fichier .env
92
92
  console.log(' [4/5] .env file configured successfully.');
93
- const envContent = `REACT_APP_FLEETBO_DB_KEY=${keys.fleetboDBKey}\nREACT_APP_ENTERPRISE_ID=99b426483d543b042209671dd53fb18\nREACT_KEY_APP=${projectName}\n`;
93
+ const envContent = `REACT_APP_FLEETBO_DB_KEY=${keys.fleetboDBKey}\nREACT_APP_ENTERPRISE_ID=${keys.enterpriseId}\nREACT_KEY_APP=${projectName}\n`;
94
94
  fs.writeFileSync(path.join(projectDir, '.env'), envContent, 'utf8');
95
95
 
96
96
  // Étape 5 : Installation des dépendances
@@ -106,7 +106,7 @@ async function setupProject() {
106
106
  console.log('\n🚀 Your Fleetbo project is ready !');
107
107
  console.log(`\nTo get started, run the following commands :`);
108
108
  console.log(` cd ${projectName}`);
109
- console.log(` npm start`);
109
+ console.log(` npx fleetbo start`);
110
110
 
111
111
  } catch (error) {
112
112
  console.error('\n An error occurred while creating the project :', error.message);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-fleetbo-project",
3
- "version": "1.1.0",
3
+ "version": "1.2.1",
4
4
  "description": "Creates a new Fleetbo project.",
5
5
  "main": "install-react-template.js",
6
6
  "bin": {