-
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): prune lock file based on projects dependencies and package.json #13317
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
74ee127
to
b97de64
Compare
b97de64
to
a46c18e
Compare
ee40b54
to
788a9b9
Compare
30abb0e
to
03c0164
Compare
cc7642a
to
075ba62
Compare
} | ||
|
||
const packageJson = createPackageJson(projectName, projectGraph, {}); | ||
// cleanup irrelevant fields from the generated pacakge.json |
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.
// cleanup irrelevant fields from the generated pacakge.json | |
// cleanup irrelevant fields from the generated package.json |
packages/nx/src/lock-file/npm.ts
Outdated
{ | ||
path: `node_modules/${packageName}`, | ||
...(dev ? { dev } : {}), | ||
...(optional ? { dev } : {}), |
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.
This should be optional
…nc in lock file tools
bd196b3
to
1f867fc
Compare
@@ -33,7 +33,6 @@ export function parseYarnLockFile(lockFile: string): LockFileData { | |||
isBerry | |||
); | |||
const hash = hashString(lockFile); | |||
const [mappedPackages, workspacePackages] = mapPackages(dependencies); |
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.
This is a rebase misshap - there were never two instances of this call, otherwise the build would have been failing
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)
Closes #9761