Rewrite create CLI in TypeScript; drop legacy packages; modernize tooling#231
Conversation
Remove the serve/build/migrate/prettyprint/test packages (preserved on the `legacy` branch) so this repo is just the Marko project scaffolder. Switch the workspace to pnpm + changesets, and modernize CI (pnpm, current Node, changesets release) and lint/format (eslint flat config, prettier 3). Rewrite `@marko/create` in TypeScript (rolldown build, vitest) with a modern dependency set: @clack/prompts, giget, and native fetch replace enquirer/ora/chalk, degit, and got. The CLI signature is preserved and the tool is now agent/CI-friendly — `--yes` plus CI/agent/no-TTY detection fall back to defaults or a clear non-zero error instead of hanging on prompts. A non-zero install exit (e.g. pnpm's ignored build scripts) no longer aborts the scaffold.
|
Warning Review limit reachedYou’ve reached a temporary PR review limit under our Fair Usage Limits Policy. Next review available in: 43 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (6)
📒 Files selected for processing (475)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
Trims the repo down to just the Marko project scaffolder and modernizes everything around it. The full previous package set (serve/build/migrate/prettyprint/test + old lerna/yarn tooling) is preserved on the new
legacybranch.Repo / tooling
serve,build,migrate,prettyprint, andtestpackages — onlycreate(+ thecreate-markoalias) remain.marko-js/prettiersetup.@marko/createrewritemaster-based templates).--yesplusCI/agent/no-TTY detection fall back to defaults or a clear non-zero error instead of hanging on prompts.pnpm create markobug.The CLI flags are unchanged.