Skip to content

Navigation Menu

Sign in
Sign up

RFC: Refactoring the CLI to prefer the Monorepo onboarding flow #1430

Discussion options

We have received a ton of feedback (mostly in our developer Slack workspace, which you can join here) that working out of the Catalyst monorepo leads to a better developer experience than working out of the project structure scaffolded by the current create-catalyst CLI; in fact, we've received some requests asking if we can refactor the current CLI such that it simply automates the alternative monorepo onboarding documentation.

Our goal with the create-catalyst CLI is to provide the most seamless Catalyst onboarding flow and to always prioritize developer experience; right now, we are in a fragmented situation in which the CLI outputs a project that looks different from the alternative onboarding documentation. This is a source of confusion, and by converging on a single flow, we can better support all developers working on Catalyst.

Below I am proposing a set of changes that will help bring the CLI from its current state, to a future state that is in line with the alternative documentation available at https://www.catalyst.dev/docs/monorepo. Additionally, instead of referring to the monorepo onboarding flow as the "alternative" onboarding flow, I propose that we should refer to it as the "recommended" onboarding flow.

Important

This set of changes contains breaking changes; if you have any feedback that you think we should consider that argues against refactoring the create-catalyst CLI as proposed below, please comment below letting us know.

Non-breaking Changes

These changes add simple utilities for Git commands needed to clone the Catalyst repository, configure Git remotes, and checkout Git refs if specified.

Breaking Changes

These changes add utilities used to check prerequisites (Node.js, pnpm, and Git versions), removes dead code no longer used in the new flow, and refactors existing code around cloning the Catalyst repository onto your machine.

Docs Changes

You must be logged in to vote

Replies: 0 comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant

AltStyle によって変換されたページ (->オリジナル) /