Files
stanza/.gitignore
T
jake 57f43fd846 refactor: replace bundled module codemods with a static CLI-side catalog
- Modules no longer ship codemod code; adapters now declare `codemods: [{ id, args }]` referencing catalog entries by id — the registry stays pure data
- Add `apps/cli/src/codemods/` catalog: `wrap-root-layout` codemod (parameterized by provider import, component name, etc.) + `CODEMOD_CATALOG` map statically imported into the CLI binary so distribution shape (single binary, npx, bun compile) doesn't matter
- Remove `loadCodemods`, `getBundleCacheDir`, and all `codemodBundle` write/import machinery from `codemod-runner.ts`; runner now dispatches via `CODEMOD_CATALOG[invocation.id]` and forwards `invocation.args`
- Drop `registry-build.ts` codemod bundling step and `mod.codemodBundle` field from the registry package; remove per-module `codemods/index.ts` (auth-clerk replaced by catalog invocation with args)
- Change `ModuleAdapter.codemods` type from `string[]` to `CodemodInvocation[]` (`{ id: string; args?: Record<string, unknown> }`)
- Update `CLAUDE.md` to document "Registry is data; CLI is the runtime" principle and the process for adding/invoking generic codemods
2026-05-20 14:23:34 -04:00

35 lines
332 B
Plaintext

node_modules/
dist/
.output/
.vercel/
.turbo/
*.tsbuildinfo
.tanstack/
# IDE
.vscode/*
!.vscode/extensions.json
!.vscode/settings.json
.idea/
# Logs
*.log
npm-debug.log*
pnpm-debug.log*
# OS
.DS_Store
Thumbs.db
# Env
.env
.env.local
.env.*.local
# Test artifacts
coverage/
__snapshots__/.tmp/
# misc
apps/web/public/registry/