-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(create-remix): rewrite create-remix CLI #6887
Conversation
🦋 Changeset detectedLatest commit: 07fb787 The changes in this PR will be included in the next version bump. This PR includes changesets to release 18 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
🤖 Hello there, We just published version Thanks! |
🤖 Hello there, We just published version Thanks! |
🤖 Hello there, We just published version Thanks! |
🤖 Hello there, We just published version Thanks! |
🤖 Hello there, We just published version Thanks! |
🤖 Hello there, We just published version Thanks! |
🤖 Hello there, We just published version Thanks! |
🤖 Hello there, We just published version Thanks! |
This PR makes the following changes to create-remix.
create-remix
out of@remix-run/dev
. The Remix CLI no longer has aremix create
command (which was kind of odd in the context of an existing app). This meanscreate-remix
is now much smaller since it's not downloading the entire Remix CLI and its dependencies up-front.--template
option for anything other than the basic template.--template remix-run/remix/templates/express
--template
option isn't providedgit init
.remix.init
script if it's detected. This makes it clear when we're running code from the template/stack rather thancreate-remix
itself. This means you can explicitly opt-out too which previously wasn't possible. Instead, you could only implicitly opt out by choosing not to install dependencies.index.ts
inremix.init
scripts to simplify things and remove the esbuild dependency fromcreate-remix
.Note: This PR replaces #6391 (which was already approved), targeting
dev
instead of the discardedv2
branch.