deploy-stack 0.2.9 → 0.2.10

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "deploy-stack",
3
- "version": "0.2.9",
3
+ "version": "0.2.10",
4
4
  "description": "Provision production-ready AWS infrastructure and CI/CD pipelines in seconds.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -41,11 +41,11 @@ export async function generateTemplates(targetDir, config) {
41
41
  // 4. Create empty secrets file
42
42
  await fs.writeFile(path.join(targetDir, 'terraform', 'secret_keys.json'), "[]");
43
43
 
44
- // 5. Handle .gitignore appending cleanly
44
+ // 5. Handle .gitignore dynamically based on framework
45
45
  const targetGitignore = path.join(targetDir, '.gitignore');
46
46
 
47
47
  if (!fsSync.existsSync(targetGitignore)) {
48
- await fs.writeFile(targetGitignore, gitignoreContent(options.finalFramework));
48
+ await fs.writeFile(targetGitignore, getGitignoreContent(config.finalFramework));
49
49
  } else {
50
50
  const existingGitignore = await fs.readFile(targetGitignore, 'utf-8');
51
51
  if (!existingGitignore.includes('terraform/.terraform/')) {