kaddidlehopper 0.7.2 → 0.7.3

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.
Files changed (3) hide show
  1. package/dist/cli.js +14 -0
  2. package/package.json +1 -1
  3. package/src/cli.ts +15 -0
package/dist/cli.js CHANGED
@@ -150,6 +150,20 @@ export function cli() {
150
150
  console.error(chalk.red(`Failed to install dependencies. Run \`${pm} install\` manually.`));
151
151
  }
152
152
  }
153
+ // Copy .claude to .gemini and .codex if they don't exist
154
+ const claudeDir = join(targetDir, '.claude');
155
+ if (existsSync(claudeDir)) {
156
+ const geminiDir = join(targetDir, '.gemini');
157
+ if (!existsSync(geminiDir)) {
158
+ await cp(claudeDir, geminiDir, { recursive: true });
159
+ console.log(chalk.green('✓ Copied .claude to .gemini'));
160
+ }
161
+ const codexDir = join(targetDir, '.codex');
162
+ if (!existsSync(codexDir)) {
163
+ await cp(claudeDir, codexDir, { recursive: true });
164
+ console.log(chalk.green('✓ Copied .claude to .codex'));
165
+ }
166
+ }
153
167
  console.log(chalk.bold.green('\nDone! Your project is ready.'));
154
168
  console.log(chalk.white('\nNext steps:'));
155
169
  console.log(chalk.cyan(` cd ${basename(targetDir)}`));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kaddidlehopper",
3
- "version": "0.7.2",
3
+ "version": "0.7.3",
4
4
  "description": "Create TanStack Start applications for Netlify",
5
5
  "bin": "./dist/index.js",
6
6
  "type": "module",
package/src/cli.ts CHANGED
@@ -204,6 +204,21 @@ export function cli() {
204
204
  }
205
205
  }
206
206
 
207
+ // Copy .claude to .gemini and .codex if they don't exist
208
+ const claudeDir = join(targetDir, '.claude')
209
+ if (existsSync(claudeDir)) {
210
+ const geminiDir = join(targetDir, '.gemini')
211
+ if (!existsSync(geminiDir)) {
212
+ await cp(claudeDir, geminiDir, { recursive: true })
213
+ console.log(chalk.green('✓ Copied .claude to .gemini'))
214
+ }
215
+ const codexDir = join(targetDir, '.codex')
216
+ if (!existsSync(codexDir)) {
217
+ await cp(claudeDir, codexDir, { recursive: true })
218
+ console.log(chalk.green('✓ Copied .claude to .codex'))
219
+ }
220
+ }
221
+
207
222
  console.log(chalk.bold.green('\nDone! Your project is ready.'))
208
223
  console.log(chalk.white('\nNext steps:'))
209
224
  console.log(chalk.cyan(` cd ${basename(targetDir)}`))