-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(core): support npm workspaces in lock file utils #13695
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
9cad75e
to
e6dbcad
Compare
c4526f8
to
d2e663b
Compare
@@ -2878,44 +2878,28 @@ packages: | |||
`; | |||
|
|||
/** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We are extracting workspace fixtures to workspaces.lock.ts
@@ -239,7 +239,7 @@ describe('lock-file', () => { | |||
const lockFileData = parseNpmLockFile(npmLockFileWithAliases); | |||
const lockFile = stringifyNpmLockFile(lockFileData); | |||
|
|||
expect(lockFile).toEqual(npmLockFileWithAliases); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
NPM is fragile with props ordering so comparing JSON's makes more sense
d2e663b
to
94ba43a
Compare
version: value.resolved, | ||
}), | ||
...(!value.integrity && | ||
value.version && { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
workspace project has no version
in lock file
This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request. |
Current Behavior
Expected Behavior
Related Issue(s)
Related to #9761