-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(core): update yarn-parser to handle yarn v4 syntax for root works…
…pace package (#29452) <!-- Please make sure you have read the submission guidelines before posting an PR --> <!-- https://github.com/nrwl/nx/blob/master/CONTRIBUTING.md#-submitting-a-pr --> <!-- Please make sure that your commit message follows our format --> <!-- Example: `fix(nx): must begin with lowercase` --> <!-- If this is a particularly complex change or feature addition, you can request a dedicated Nx release for this pull request branch. Mention someone from the Nx team or the `@nrwl/nx-pipelines-reviewers` and they will confirm if the PR warrants its own release for testing purposes, and generate it for you if appropriate. --> ## Current Behavior The root workspace package is not generated correctly when using Yarn v4 ## Expected Behavior yarn.lock should be created correctly ## Related Issue(s) Fixes #29451
- Loading branch information
Showing
3 changed files
with
34 additions
and
5 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2596,6 +2596,7 @@ __metadata: | |
dependencies: { | ||
resolve: '^1.12.0', | ||
}, | ||
packageManager: '[email protected]', | ||
}; | ||
|
||
const hash = uniq('mock-hash'); | ||
|
@@ -2721,6 +2722,7 @@ __metadata: | |
dependencies: { | ||
resolve: '^1.12.0', | ||
}, | ||
packageManager: '[email protected]', | ||
}; | ||
|
||
const hash = uniq('mock-hash'); | ||
|
@@ -2771,7 +2773,7 @@ __metadata: | |
version: 0.0.0-use.local | ||
resolution: "@my-ns/example@workspace:." | ||
dependencies: | ||
resolve: ^1.12.0 | ||
resolve: "npm:^1.12.0" | ||
languageName: unknown | ||
linkType: soft | ||
|
This file contains 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