create-battle-plan 1.0.0 → 1.0.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/bin/cli.js CHANGED
@@ -167,6 +167,14 @@ async function main() {
167
167
  // Copy template
168
168
  const templateDir = path.join(__dirname, '..', 'template');
169
169
  copyDir(templateDir, targetDir);
170
+
171
+ // npm strips .gitignore from packages, so we ship it as 'gitignore' and rename
172
+ const gitignoreSrc = path.join(targetDir, 'gitignore');
173
+ const gitignoreDest = path.join(targetDir, '.gitignore');
174
+ if (fs.existsSync(gitignoreSrc) && !fs.existsSync(gitignoreDest)) {
175
+ fs.renameSync(gitignoreSrc, gitignoreDest);
176
+ }
177
+
170
178
  console.log(`${DIM} + CLAUDE.md (system prompt)${RESET}`);
171
179
  console.log(`${DIM} + tools/ (verification scripts)${RESET}`);
172
180
  console.log(`${DIM} + .claude/commands/ (slash commands)${RESET}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-battle-plan",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "Scaffold a Battle Plan project — a markdown-based context system for LLM-powered project management",
5
5
  "bin": {
6
6
  "create-battle-plan": "./bin/cli.js"
@@ -0,0 +1,4 @@
1
+ .cascaderc
2
+ .battle-plan-onboarding.json
3
+ .battle-plan-onboarding-done.json
4
+ node_modules/