@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 +1 -1
- package/src/commands/init.ts +5 -7
package/package.json
CHANGED
package/src/commands/init.ts
CHANGED
|
@@ -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 (
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
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')
|