claude-code-starter 0.8.0 → 0.10.0

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 (2) hide show
  1. package/dist/cli.js +11 -5
  2. package/package.json +4 -2
package/dist/cli.js CHANGED
@@ -4195,19 +4195,25 @@ function runClaudeAnalysis(projectDir, projectInfo) {
4195
4195
  "claude",
4196
4196
  [
4197
4197
  "-p",
4198
- prompt,
4198
+ "--dangerously-skip-permissions",
4199
4199
  "--allowedTools",
4200
4200
  "Read",
4201
+ "--allowedTools",
4201
4202
  "Glob",
4203
+ "--allowedTools",
4202
4204
  "Grep",
4203
- `Write(.claude/**)`,
4204
- `Edit(.claude/**)`
4205
+ "--allowedTools",
4206
+ "Write",
4207
+ "--allowedTools",
4208
+ "Edit"
4205
4209
  ],
4206
4210
  {
4207
4211
  cwd: projectDir,
4208
- stdio: ["ignore", "inherit", "inherit"]
4212
+ stdio: ["pipe", "inherit", "inherit"]
4209
4213
  }
4210
4214
  );
4215
+ child.stdin.write(prompt);
4216
+ child.stdin.end();
4211
4217
  child.on("error", (err) => {
4212
4218
  console.error(pc.red(`Failed to launch Claude CLI: ${err.message}`));
4213
4219
  resolve(false);
@@ -4335,7 +4341,7 @@ async function main() {
4335
4341
  pc.gray("Your CLAUDE.md was generated by deep analysis - review it with: cat .claude/CLAUDE.md")
4336
4342
  );
4337
4343
  }
4338
- var isMain = process.argv[1] === fileURLToPath(import.meta.url);
4344
+ var isMain = fs3.realpathSync(process.argv[1]) === fileURLToPath(import.meta.url);
4339
4345
  if (isMain) {
4340
4346
  main().catch((err) => {
4341
4347
  console.error(pc.red("Error:"), err.message);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-code-starter",
3
- "version": "0.8.0",
3
+ "version": "0.10.0",
4
4
  "description": "A lightweight starter kit for AI-assisted development with Claude Code",
5
5
  "keywords": [
6
6
  "claude",
@@ -29,7 +29,9 @@
29
29
  "build": "bun run tsup",
30
30
  "dev": "bun run tsup --watch",
31
31
  "start": "bun dist/cli.js",
32
- "test": "bun test",
32
+ "test": "bun test src/cli.test.ts",
33
+ "test:e2e": "bun run build && bun test src/cli.e2e.test.ts",
34
+ "test:all": "bun run build && bun test",
33
35
  "typecheck": "bun run tsc --noEmit",
34
36
  "lint": "biome lint src/",
35
37
  "lint:fix": "biome lint --write src/",