Skip to content

Conversation

@penalosa
Copy link
Contributor

@penalosa penalosa commented Dec 2, 2025

Fixes https://jira.cfdata.org/browse/DEVX-2324


  • Tests
    • Tests included/updated
    • Tests not necessary because:
  • Public documentation
    • Cloudflare docs PR(s):
    • Documentation not necessary because: tracked elsewhere
  • Wrangler V3 Backport
    • Wrangler PR:
    • Not necessary because: not a Wrangler change

@penalosa penalosa requested a review from a team as a code owner December 2, 2025 14:15
@changeset-bot
Copy link

changeset-bot bot commented Dec 2, 2025

🦋 Changeset detected

Latest commit: 6ec04a2

The changes in this PR will be included in the next version bump.

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

"pretty-bytes": "^6.0.0",
"prompts": "^2.4.2",
"recast": "0.22.0",
"recast": "0.23.11",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This bump was needed to support the satisfies keyword

@pkg-pr-new
Copy link

pkg-pr-new bot commented Dec 2, 2025

create-cloudflare

npm i https://pkg.pr.new/create-cloudflare@11498

@cloudflare/kv-asset-handler

npm i https://pkg.pr.new/@cloudflare/kv-asset-handler@11498

miniflare

npm i https://pkg.pr.new/miniflare@11498

@cloudflare/pages-shared

npm i https://pkg.pr.new/@cloudflare/pages-shared@11498

@cloudflare/unenv-preset

npm i https://pkg.pr.new/@cloudflare/unenv-preset@11498

@cloudflare/vite-plugin

npm i https://pkg.pr.new/@cloudflare/vite-plugin@11498

@cloudflare/vitest-pool-workers

npm i https://pkg.pr.new/@cloudflare/vitest-pool-workers@11498

@cloudflare/workers-editor-shared

npm i https://pkg.pr.new/@cloudflare/workers-editor-shared@11498

@cloudflare/workers-utils

npm i https://pkg.pr.new/@cloudflare/workers-utils@11498

wrangler

npm i https://pkg.pr.new/wrangler@11498

commit: 6ec04a2

Comment on lines +276 to +304
await installPackages(["isbot"], {
dev: true,
startText: "Installing the isbot package",
doneText: `${brandColor(`installed`)} ${dim("isbot")}`,
});
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This feels really messy, but does seem to be necessary

});

writeFileSync(
`app/entry.server.tsx`,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should check if this file already exists before overwriting it

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If it already exists there's not a whole lot we can do, so I went with unconditionally writing on the assumption that someone can revert the change if they need to. Do you think we should just bail if the file exists?

@penalosa penalosa force-pushed the penalosa/react-router branch from a9ccfe8 to e2c15ce Compare December 3, 2025 17:37
`
);

await installPackages(["isbot"], {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we need to have separate installPackages calls? would it make sense to just have one that installs both packages?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Happy to change it if you'd like. I made it two calls because it makes the output look a little bit nicer

@github-project-automation github-project-automation bot moved this from Untriaged to Approved in workers-sdk Dec 3, 2025
@penalosa penalosa force-pushed the penalosa/react-router branch from 6910673 to 6ec04a2 Compare December 3, 2025 18:28
@penalosa penalosa merged commit ac861f8 into main Dec 3, 2025
33 of 34 checks passed
@penalosa penalosa deleted the penalosa/react-router branch December 3, 2025 19:29
@github-project-automation github-project-automation bot moved this from Approved to Done in workers-sdk Dec 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants