Skip to content

Phase 2: add ts-frontend and ts-backend stacks to core:setup-repo - #13

Merged
jonnyspicer merged 8 commits into
mainfrom
feat/setup-repo-phase-2
Jul 20, 2026
Merged

Phase 2: add ts-frontend and ts-backend stacks to core:setup-repo#13
jonnyspicer merged 8 commits into
mainfrom
feat/setup-repo-phase-2

Conversation

@jonnyspicer

Copy link
Copy Markdown
Contributor

Extends core:setup-repo with the TypeScript stacks, so the scaffolder covers the org's TS repos as well as Python. Closes #6.

What's added

  • ts-frontend stack — TypeScript + Vite + Vitest + ESLint 9 (flat) + typescript-eslint + React 18. A runnable Vite app: vite.config.ts, index.html, src/main.tsx, plus a sample module + test.
  • ts-backend stack — TypeScript + tsx + Vitest + ESLint 9 (flat) + typescript-eslint.
  • ci-node.ymlsetup-node (node 20, npm cache) → npm ci → typecheck → lint → test.
  • Enginescaffold-repo.sh now accepts ts-frontend/ts-backend (dispatch + up-front validation, non-clobber, gitignore.gitignore, ci-node.yml.github/workflows/ci.yml).
  • SKILL.md — detects package.json/tsconfig.json → asks frontend vs backend; installs TS deps with npm install.
  • Version bumped 0.3.0 → 0.4.0 (org-wide update signal).
  • CI — this repo's setup-repo-tests.yml now also runs test-node-assets.sh.

npm (not yarn/pnpm/bun); versions mirror the Tower-Finder frontends. Out of scope: Phase 3 (pre-commit, C++).

Verification

  • All four suites pass (test-python-assets, test-ci-assets, test-node-assets, test-scaffold) and claude plugin validate . passes.
  • Real toolchain run on freshly scaffolded temp repos for both stacks: npm install (clean, no peer/ERESOLVE issues) → npm run build (ts-frontend vite build produces dist/) → typechecklinttest all green.

Process

Built subagent-driven: fresh implementer per task, per-task spec+quality review with fixes, then an Opus whole-branch review. The final review caught that ts-frontend's dev/build were broken out of the box (no Vite entry) — fixed here so the frontend scaffold actually runs.

🤖 Generated with Claude Code

@jonnyspicer
jonnyspicer merged commit a4d34ab into main Jul 20, 2026
2 checks passed
@jonnyspicer
jonnyspicer deleted the feat/setup-repo-phase-2 branch July 20, 2026 20:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Phase 2: add ts-frontend and ts-backend stacks to core:setup-repo

1 participant