claude-code-starter 0.12.0 → 0.12.2

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 +30 -3
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -1550,8 +1550,7 @@ async function promptNewProject(args) {
1550
1550
  packageManager: pmResponse.packageManager || null,
1551
1551
  testingFramework: testResponse.testingFramework || null,
1552
1552
  linter: lintResponse.linter || null,
1553
- formatter: lintResponse.linter || null,
1554
- // Use same as linter for simplicity
1553
+ formatter: mapFormatter(lintResponse.linter || null),
1555
1554
  projectType: typeResponse.projectType || "Other"
1556
1555
  };
1557
1556
  }
@@ -1667,6 +1666,20 @@ function getLinterFormatterChoices(lang) {
1667
1666
  }
1668
1667
  return [{ title: "None", value: null }];
1669
1668
  }
1669
+ function mapFormatter(linter) {
1670
+ if (!linter) return null;
1671
+ const mapping = {
1672
+ eslint: "prettier",
1673
+ biome: "biome",
1674
+ ruff: "ruff",
1675
+ flake8: "black",
1676
+ pylint: "black",
1677
+ "golangci-lint": "gofmt",
1678
+ clippy: "rustfmt",
1679
+ rubocop: "rubocop"
1680
+ };
1681
+ return mapping[linter] ?? null;
1682
+ }
1670
1683
  function createTaskFile(projectInfo, preferences) {
1671
1684
  const taskPath = path3.join(projectInfo.rootDir, ".claude", "state", "task.md");
1672
1685
  fs3.mkdirSync(path3.dirname(taskPath), { recursive: true });
@@ -1772,10 +1785,24 @@ function formatFramework(fw) {
1772
1785
  sinatra: "Sinatra",
1773
1786
  spring: "Spring",
1774
1787
  quarkus: "Quarkus",
1788
+ // Swift/iOS
1789
+ swiftui: "SwiftUI",
1790
+ uikit: "UIKit",
1791
+ vapor: "Vapor",
1792
+ swiftdata: "SwiftData",
1793
+ combine: "Combine",
1794
+ // Android
1795
+ "jetpack-compose": "Jetpack Compose",
1796
+ "android-views": "Android Views",
1797
+ room: "Room",
1798
+ hilt: "Hilt",
1799
+ "ktor-android": "Ktor",
1800
+ // CSS/UI
1775
1801
  tailwind: "Tailwind CSS",
1776
1802
  shadcn: "shadcn/ui",
1777
1803
  chakra: "Chakra UI",
1778
1804
  mui: "Material UI",
1805
+ // Database/ORM
1779
1806
  prisma: "Prisma",
1780
1807
  drizzle: "Drizzle",
1781
1808
  typeorm: "TypeORM",
@@ -1805,7 +1832,6 @@ function runClaudeAnalysis(projectDir, projectInfo) {
1805
1832
  "claude",
1806
1833
  [
1807
1834
  "-p",
1808
- "--dangerously-skip-permissions",
1809
1835
  "--allowedTools",
1810
1836
  "Read",
1811
1837
  "--allowedTools",
@@ -1992,6 +2018,7 @@ export {
1992
2018
  formatFramework,
1993
2019
  formatLanguage,
1994
2020
  getVersion,
2021
+ mapFormatter,
1995
2022
  parseArgs,
1996
2023
  promptNewProject,
1997
2024
  runClaudeAnalysis,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-code-starter",
3
- "version": "0.12.0",
3
+ "version": "0.12.2",
4
4
  "description": "A lightweight starter kit for AI-assisted development with Claude Code",
5
5
  "keywords": [
6
6
  "claude",