-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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): add yarn lock file pruning #12105
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Ignored Deployment
|
import { satisfies } from 'semver'; | ||
import { sortObject } from './utils'; | ||
|
||
export type YarnLockFile = Record< |
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.
should not be exported
Omit<PackageDependency, 'packageMeta'> | ||
>; | ||
|
||
export type YarnBerryLockFile = { |
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.
should not be exported
import { readFileSync, writeFileSync } from 'fs-extra'; | ||
import { detectPackageManager, PackageManager } from '../package-manager'; | ||
import { | ||
parseLockFile as parseYarn, |
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.
I don't think we should rename thing. We should just name it parseYarnLockFile
770ff3e
to
7831690
Compare
122cf57
to
5c508aa
Compare
5c508aa
to
9bd4473
Compare
9bd4473
to
55be2dc
Compare
44e8f4f
to
3381efe
Compare
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. |
This PR depends on #11953 and should not be merged first
Current Behavior
Expected Behavior
Related Issue(s)
Related to #9761