Conversation
|
Hello @xirzec! Because this pull request has the p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (
|
| @@ -849,34 +849,34 @@ packages: | |||
| integrity: sha512-mky/O83TXmGY39P1H9YbUpjV6l6voRYlufqfFCvel8l1phuy8HRjdWc1rrPuN53ITBJlbyMSV6z3niOySO5pgQ== | |||
| /@types/fs-extra/8.1.1: | |||
| dependencies: | |||
| '@types/node': 10.17.51 | |||
| '@types/node': 8.10.66 | |||
There was a problem hiding this comment.
Is this supposed to go down?
There was a problem hiding this comment.
My understanding was this was bumped up accidentally by this PR: 189bb99#diff-5029779360a5dab7df00ff76c5693ce33b68f76d2f433b44a28b333bf33f674a
There was a problem hiding this comment.
It was fixed in a previous commit I did too: 24cbc28#diff-5029779360a5dab7df00ff76c5693ce33b68f76d2f433b44a28b333bf33f674a
Looks like we've had a spate of folks not reverting the lockfile to master before running rush update when there's a conflict?
There was a problem hiding this comment.
I think the following two observations might have to do with this:
- The dependencies for
@typespackages are typically other@typespackages with the semvar being just "*". For example, if you look atcommon/temp/node_modules/@types/fs-extra/package.json, you will see the following:
"dependencies": {
"@types/node": "*"
}
this introduces issues such as microsoft/rushstack#750.
- rush uses pnpm's fewer-deps strategy by default as indicated here: https://github.com/microsoft/rushstack/blob/9d175a4401545b437869d33a2a67c29042ceeb97/apps/rush-lib/src/api/RushConfiguration.ts#L374 and we explicitly use that strategy here: . If I understand correctly, this means pnpm will work hard to use the fewest number of packages possible to satisfy the constraints.
Line 54 in b873932
|
cc @sarangan12 @xirzec, What could we have done to prevent the regression? |
I gotta figure out if rush is just not doing the right thing, or if I can document a process for handling pnpm-lockfile conflicts that will work for everyone. |
#13353 once again re-introduced karma-remap-instanbul into our lockfile, perhaps due to bad merge from master. This PR hopefully will resolve this for the last time.