deploy-stack 0.9.13 → 0.9.14

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.9.13",
3
+ "version": "0.9.14",
4
4
  "description": "Provision production-ready AWS infrastructure and CI/CD pipelines in seconds.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -144,4 +144,21 @@ Thumbs.db
144
144
 
145
145
  const frameworkIgnore = presets[framework] || '';
146
146
  return (baseIgnore + frameworkIgnore).trim();
147
- }
147
+ }
148
+
149
+ // 7. Framework-specific cleanup
150
+ // Disable default workflows that crash in isolated CI environments
151
+ if (config.finalFramework === 'rails') {
152
+ const railsCiPath = path.join(targetDir, '.github', 'workflows', 'ci.yml');
153
+ const dependabotPath = path.join(targetDir, '.github', 'dependabot.yml');
154
+
155
+ if (fsSync.existsSync(railsCiPath)) {
156
+ fsSync.renameSync(railsCiPath, `${railsCiPath}.bak`);
157
+ console.log(' ⚠️ Disabled default Rails ci.yml (renamed to .bak) to prevent database connection crashes in CI.');
158
+ }
159
+ if (fsSync.existsSync(dependabotPath)) {
160
+ fsSync.renameSync(dependabotPath, `${dependabotPath}.bak`);
161
+ console.log(' ⚠️ Disabled default dependabot.yml (renamed to .bak) to prevent automated PRs from triggering the broken CI suite.');
162
+ }
163
+ }
164
+ }