Fix corepack packageManager detection on monorepos#11811
Merged
kodiakhq[bot] merged 18 commits intomainfrom Jul 16, 2024
Merged
Fix corepack packageManager detection on monorepos#11811kodiakhq[bot] merged 18 commits intomainfrom
packageManager detection on monorepos#11811kodiakhq[bot] merged 18 commits intomainfrom
Conversation
🦋 Changeset detectedLatest commit: 3b8be2b The changes in this PR will be included in the next version bump. This PR includes changesets to release 11 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 |
packageManager detection on monorepos
trek
approved these changes
Jul 16, 2024
Merged
ijjk
pushed a commit
that referenced
this pull request
Jul 16, 2024
This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated. # Releases ## @vercel/[email protected] ### Minor Changes - Use `nativeFetch` mode when `unstable_singleFetch` is enabled ([#11844](#11844)) ### Patch Changes - Fix corepack `packageManager` detection on monorepos ([#11811](#11811)) ## @vercel/[email protected] ### Patch Changes - Fix corepack `packageManager` detection on monorepos ([#11811](#11811)) ## [email protected] ### Patch Changes - Updated dependencies \[[`cfaa83cc9`](cfaa83c), [`db8452770`](db84527), [`9290c57b8`](9290c57)]: - @vercel/[email protected] - @vercel/[email protected] - @vercel/[email protected] - @vercel/[email protected] - @vercel/[email protected] - @vercel/[email protected] - @vercel/[email protected] ## @vercel/[email protected] ### Patch Changes - Updated dependencies \[[`9290c57b8`](9290c57)]: - @vercel/[email protected] ## @vercel/[email protected] ### Patch Changes - Updated dependencies \[[`9290c57b8`](9290c57)]: - @vercel/[email protected] ## @vercel/[email protected] ### Patch Changes - Fix corepack `packageManager` detection on monorepos ([#11811](#11811)) ## @vercel/[email protected] ### Patch Changes - Fix missing app route with mixed SSR/SSG dynamic route ([#11862](#11862)) - Fix corepack `packageManager` detection on monorepos ([#11811](#11811)) ## @vercel/[email protected] ### Patch Changes - Updated dependencies \[[`9290c57b8`](9290c57)]: - @vercel/[email protected] ## @vercel/[email protected] ### Patch Changes - Fix corepack `packageManager` detection on monorepos ([#11811](#11811)) ## @vercel/[email protected] ### Patch Changes - Fix corepack `packageManager` detection on monorepos ([#11811](#11811)) - Updated dependencies \[]: - @vercel/[email protected] ## @vercel-internals/[email protected] ### Patch Changes - Updated dependencies \[[`9290c57b8`](9290c57)]: - @vercel/[email protected] Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
onsclom
pushed a commit
that referenced
this pull request
Oct 3, 2024
Corepack was failing to be enabled when the `packageManager` field is set at the root of a monorepo (which is likely a common case). The fix is to crawl up directories and read the `package.json` at each step to try and find the `packageManager` value.
onsclom
added a commit
that referenced
this pull request
Oct 3, 2024
Corepack was failing to be enabled when the `packageManager` field is set at the root of a monorepo (which is likely a common case). The fix is to crawl up directories and read the `package.json` at each step to try and find the `packageManager` value.
onsclom
added a commit
that referenced
this pull request
Oct 3, 2024
Corepack was failing to be enabled when the `packageManager` field is set at the root of a monorepo (which is likely a common case). The fix is to crawl up directories and read the `package.json` at each step to try and find the `packageManager` value.
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.
Corepack was failing to be enabled when the
packageManagerfield is set at the root of a monorepo (which is likely a common case). The fix is to crawl up directories and read thepackage.jsonat each step to try and find thepackageManagervalue.