@zabaca/zbc 0.3.0 → 0.3.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zabaca/zbc",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "description": "Zabaca stack CLI — scaffold and deploy infrastructure",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -111,13 +111,11 @@ export const initCommand = defineCommand({
111
111
  console.warn(` warn: unknown --ci=${args.ci} (only "github" supported)`)
112
112
  }
113
113
 
114
- // 7. Claude Code scaffolding (greenfield only — don't touch existing setups)
115
- if (mode.kind === 'greenfield') {
116
- await copyTemplateFile(path.join(tplRoot, 'CLAUDE.md'), path.join(cwd, 'CLAUDE.md'), {
117
- vars,
118
- })
119
- await copyTemplateDir(path.join(tplRoot, 'claude'), path.join(cwd, '.claude'))
120
- }
114
+ // 7. Claude Code scaffolding (skip-if-exists, safe in either mode)
115
+ await copyTemplateFile(path.join(tplRoot, 'CLAUDE.md'), path.join(cwd, 'CLAUDE.md'), {
116
+ vars,
117
+ })
118
+ await copyTemplateDir(path.join(tplRoot, 'claude'), path.join(cwd, '.claude'))
121
119
 
122
120
  console.log('')
123
121
  console.log('✓ init done')