Files
stanza/apps/cli/package.json
T
jake 2651daf573 refactor: dissolve packages/internal into scripts/, reorganize CLI into src/lib/, and wire stanza remove codemod revert
- Delete `packages/internal` workspace package — `registry-build.ts` and `module-new.ts` move to top-level `scripts/` (no `package.json`, not shipped); `pnpm registry:build` and `pnpm module:new` scripts updated in root `package.json` and `turbo.json`; CLAUDE.md / TODO.md references updated
- Relocate CLI internals from `apps/cli/src/` → `apps/cli/src/lib/` — `codemod-runner.ts`, `manifest.ts`, `region-tracker.ts`, `registry-loader.ts`, `wizard.ts`; all intra-CLI imports updated to `@/lib/*` path alias via tsconfig `paths`; add `@types/bun` to CLI devDependencies
- `stanza remove` now dispatches `revertCodemods()` as step 1 (before declarative cleanup) — re-loads the module adapter from the registry, calls imperative reverts while framework files are still intact, then sweeps remaining region claims; fixes `wrap-root-layout` / `re-export` regions previously left as "needs manual cleanup" despite shipping working reverts
2026-05-20 16:10:17 -04:00

43 lines
980 B
JSON

{
"name": "@stanza/cli",
"version": "0.1.0",
"description": "Modular monorepo template CLI — shadcn for stacks.",
"license": "MIT",
"bin": {
"stanza": "./src/bin.ts"
},
"files": [
"src",
"dist"
],
"type": "module",
"main": "./src/index.ts",
"types": "./src/index.ts",
"exports": {
".": "./src/index.ts",
"./bin": "./src/bin.ts"
},
"scripts": {
"dev": "bun run --watch ./src/bin.ts",
"build": "bun build ./src/bin.ts --target=bun --outdir=./dist --minify",
"typecheck": "tsc --noEmit",
"test": "vitest run"
},
"dependencies": {
"@clack/prompts": "^1.4.0",
"@stanza/codemods": "workspace:*",
"@stanza/registry": "workspace:*",
"kleur": "^4.1.5",
"mri": "^1.2.0",
"posthog-node": "^5.34.7",
"semver": "^7.8.0"
},
"devDependencies": {
"@types/bun": "^1.3.14",
"@types/node": "^25.9.1",
"@types/semver": "^7.7.1",
"typescript": "^6.0.3",
"vitest": "^4.1.7"
}
}