Purpose
pnpm run setup invokes this Node CLI. It gathers project identity, writes local configuration, guides database and Cloudflare setup and checks credentials. pnpm doctor runs its diagnostic path. src/social.mjs holds the optional Google and Apple sign-in step: a provider is written with all of its values or none, the Apple key is read and checked from its .p8 file, and only --worker-secrets publishes them, to the named Worker (Social sign-in).
Public exports
This package has no public exports map. Use its documented configuration files or root workspace scripts.
These paths come from packages/project-setup-cli/package.json. A . entry is the package root. Conditional targets distinguish platform or type resolution; consumers should import the subpath, not its source file.
How to extend
Keep steps repeatable and preserve existing identity and credentials during repair. Add a validation/diagnosis path beside a new setup field. Never log secret values or silently replace configured remote resources.
Read the project identity and provisioning workflow guide for the full flow.