-
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(remix-dev): make entry.{client,server}.tsx
optional
#4600
Conversation
🦋 Changeset detectedLatest commit: a7661fc 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 |
entry.{client,server}.tsx
and root.tsx
optional
What about people using JS instead of TS? Should we also remove these files from our templates/examples? |
1a95227
to
f531ea2
Compare
entry.{client,server}.tsx
and root.tsx
optionalentry.{client,server}.tsx
optional
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should also run the JS migration on the file when people choose the js
/jsx
extension in the generator command?
definitely, this is still very much WIP. it also needs to go through the RFC phase as the og proposal was sort of just thrown together |
e98cd05
to
5e6c18c
Compare
0f2b3f5
to
0c35245
Compare
if they "eject" we'll transform it to js
doesn't hurt
that's up for debate, templates would get any update faster than it being bundled in the CLI |
dfc1681
to
955ee44
Compare
dd2c15a
to
028dde0
Compare
028dde0
to
967a649
Compare
packages/remix-dev/cli/commands.ts
Outdated
let runtime = deps["@remix-run/deno"] | ||
? "deno" | ||
: deps["@remix-run/cloudflare"] | ||
? "cloudflare" | ||
: deps["@remix-run/node"] | ||
? "node" | ||
: undefined; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will stop working whenever we remove the explicit need of a runtime and we import everything from the adapter & separate server package (for functions like json
& redirect
)
46f2131
to
44ed5fa
Compare
This reverts commit 7e17173.
Signed-off-by: Logan McAnsh <[email protected]>
Signed-off-by: Logan McAnsh <[email protected]>
Signed-off-by: Logan McAnsh <[email protected]>
Signed-off-by: Logan McAnsh <[email protected]>
Signed-off-by: Logan McAnsh <[email protected]>
Signed-off-by: Logan McAnsh <[email protected]>
Signed-off-by: Logan McAnsh <[email protected]>
Signed-off-by: Logan McAnsh <[email protected]>
Signed-off-by: Logan McAnsh <[email protected]>
Signed-off-by: Logan McAnsh <[email protected]>
Signed-off-by: Logan McAnsh <[email protected]>
Signed-off-by: Logan McAnsh <[email protected]>
Signed-off-by: Logan McAnsh <[email protected]>
Signed-off-by: Logan McAnsh <[email protected]>
Signed-off-by: Logan McAnsh <[email protected]>
…r no ts; attempt to create both entries if no entry supplied Signed-off-by: Logan McAnsh <[email protected]>
Signed-off-by: Logan McAnsh <[email protected]>
9cec4e8
to
a7661fc
Compare
🤖 Hello there, We just published version Thanks! |
made this before making a proposal like a dummy, but it's something we've talked about a bit internally
proposal here 👉 #4601
follow PR to make remix config optional 🎉
edit on the optional remix config.. turns out that already works as we check before we attempt to load it.
remix/packages/remix-dev/config.ts
Lines 321 to 343 in 611c68b
Signed-off-by: Logan McAnsh [email protected]
Closes: #
Testing Strategy: