-
Notifications
You must be signed in to change notification settings - Fork 607
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
[lockfile-explorer] Add version validation capability (reopened) #4779
Conversation
await searchAndValidateDependencies( | ||
rushConfiguration, | ||
checkedProjects, | ||
dependencyProject, | ||
requiredVersions | ||
); | ||
} | ||
} else { | ||
await checkVersionCompatibility( | ||
shrinkwrapFileMajorVersion, | ||
packages, | ||
fullDependencyPath, | ||
requiredVersions, | ||
checkedDependencyPaths | ||
); |
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.
Seems like these results should be cached, as multiple projects can point at the same 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.
The same dependency is never checked twice
Co-authored-by: Ian Clanton-Thuon <[email protected]>
enable some parallelization
apps/lockfile-explorer/src/cli/explorer/ExplorerCommandLineParser.ts
Outdated
Show resolved
Hide resolved
description: 'Show the full call stack if an error occurs while executing the tool' | ||
}); | ||
|
||
this._subspaceParameter = this.defineStringParameter({ |
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.
Putting this on the parser means that someone has to run lfx --subspace subspaceName start
which feels awkward. lfs start --subspace subspaceName
seems more ergonomic.
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 part has already been moved to Action.
Co-authored-by: Ian Clanton-Thuon <[email protected]>
…ser.ts Co-authored-by: Ian Clanton-Thuon <[email protected]>
Co-authored-by: Ian Clanton-Thuon <[email protected]>
Co-authored-by: Ian Clanton-Thuon <[email protected]>
PR #4712 was accidentally merged before approval / passing CI.
Let's use this PR to conclude the review.