fix pnpm beta scaffolding command - #310
Open
Kinfe123 wants to merge 1 commit into
Open
Conversation
Kinfe123
marked this pull request as ready for review
August 8, 2026 10:46
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
minimumReleaseAge=0to the create commandWhy
pnpm 11 protects users by ignoring package versions published within the last 24 hours when resolving a dist-tag. As a result,
pnpm create @farm.js/app@betacan select an older@farm.js/create-appbeta even though npm'sbetatag points to the newest release. The resolver makes this choice before the FARMJS initializer runs, so it cannot be corrected inside the scaffolder.The scoped config override preserves the simple
@betaworkflow while applying only to this invocation; it does not change the user's global pnpm policy.Impact
New users copying a pnpm command from the README, docs homepage, getting-started guide, playground, package README, or auth starter READMEs receive the newest published FARMJS beta immediately.
Verification
betatag pointed to beta.22pnpm --config.minimumReleaseAge=0 create @farm.js/app@beta ...generated beta.22 with both pnpm 11.18.0 and pnpm 8.12.1corepack pnpm exec oxfmt --check ...node --test packages/create-farm-app/test/create-app.test.mjsSummary by cubic
Fixes pnpm beta scaffolding by scoping
--config.minimumReleaseAge=0topnpm createso pnpm 11 installs the newestbetaof@farm.js/create-app. Docs and examples updated; npm, Yarn, and Bun remain unchanged.pnpm create @farm.js/app@beta ...withpnpm --config.minimumReleaseAge=0 create @farm.js/app@beta ...in README, docs, package and template READMEs, playground, and OG generator.Written for commit eb93f35. Summary will update on new commits.