Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat(cli): Optional dev enhancements (mprocs)#84

Open
jcodog wants to merge 4 commits intoupstash:main from
jcodog:feat/better-dev-env
Open

feat(cli): Optional dev enhancements (mprocs) #84
jcodog wants to merge 4 commits intoupstash:main from
jcodog:feat/better-dev-env

Conversation

@jcodog
Copy link
Contributor

@jcodog jcodog commented Oct 29, 2025

This pull request adds first-class support for Cloudflare Workers (Wrangler) to the CLI project scaffolding process. It introduces a new CLI prompt to ask users if their API will run on Cloudflare Workers, and, if so, configures the generated project with appropriate scripts, dependencies, and a wrangler.json configuration file. It also updates several package versions and resolves some dependency version conflicts.

Cloudflare Workers integration:

  • Adds a new prompt to the CLI (runCli) asking if the API will run on Cloudflare Workers, and passes this choice through the scaffolding process (cli/src/cli/index.ts, cli/src/helpers/scaffold-project.ts, cli/src/index.ts). [1] [2] [3] [4] [5] [6] [7] [8] [9] [10]
  • Adds a new helper (configureWranglerDev) that updates package.json scripts and devDependencies, creates an mprocs.yaml for concurrent development, and is invoked if Cloudflare Workers is selected (cli/src/helpers/configure-wrangler-dev.ts).
  • Adds a default wrangler.json configuration file for Cloudflare Workers to the project template (cli/template/base/wrangler.json).

Dependency and template updates:

  • Updates several dependencies and devDependencies in base-package.json, including @tailwindcss/postcss, @tanstack/react-query, superjson, tailwind-merge, zod, and others. Also resolves merge conflicts in dependency versions. [1] [2]

These changes streamline the process for users who want to deploy their API on Cloudflare Workers, ensuring the generated project is ready to use with Wrangler out of the box.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

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