@enfyra/create-app 0.1.34 → 0.1.36

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.
@@ -12,7 +12,8 @@ function buildEnvContent(config) {
12
12
  const lines = [
13
13
  `API_URL=${config.apiUrl}`,
14
14
  `PORT=${config.port}`,
15
- `DB_TYPE=${config.dbType}`
15
+ `DB_TYPE=${config.dbType}`,
16
+ `PACKAGE_MANAGER=${config.packageManager}`
16
17
  ];
17
18
 
18
19
  return lines.join('\n');
@@ -67,6 +67,12 @@ async function setupProject(config, projectPath) {
67
67
  });
68
68
  spinner.succeed(chalk.green('Template downloaded successfully'));
69
69
 
70
+ // Remove .github folder if it exists
71
+ const githubFolderPath = path.join(projectPath, '.github');
72
+ if (fs.existsSync(githubFolderPath)) {
73
+ await fs.remove(githubFolderPath);
74
+ }
75
+
70
76
  // Update package.json
71
77
  spinner.start(chalk.blue('Updating package.json...'));
72
78
  await updatePackageJson(projectPath, config);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@enfyra/create-app",
3
- "version": "0.1.34",
3
+ "version": "0.1.36",
4
4
  "description": "Create Enfyra frontend applications with ease",
5
5
  "main": "index.js",
6
6
  "bin": {