-
Notifications
You must be signed in to change notification settings - Fork 28
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
yarn: Resolve dev dependencies #744
Merged
slimreaper35
merged 2 commits into
containerbuildsystem:main
from
slimreaper35:yarn-classic-dev
Dec 4, 2024
Merged
yarn: Resolve dev dependencies #744
slimreaper35
merged 2 commits into
containerbuildsystem:main
from
slimreaper35:yarn-classic-dev
Dec 4, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
slimreaper35
requested review from
a-ovchinnikov,
eskultety and
taylormadore
November 22, 2024 09:58
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.
Some questions and suggestions.
slimreaper35
force-pushed
the
yarn-classic-dev
branch
2 times, most recently
from
November 25, 2024 13:16
78c6aec
to
5f7cc8a
Compare
slimreaper35
force-pushed
the
yarn-classic-dev
branch
from
November 25, 2024 19:55
5f7cc8a
to
6636944
Compare
slimreaper35
changed the title
yarn classic dev dependencies
yarn: Resolve dev dependencies
Nov 28, 2024
slimreaper35
force-pushed
the
yarn-classic-dev
branch
from
December 2, 2024 08:22
6636944
to
9ded4b4
Compare
slimreaper35
force-pushed
the
yarn-classic-dev
branch
3 times, most recently
from
December 3, 2024 08:36
c2f828e
to
fd03346
Compare
taylormadore
reviewed
Dec 3, 2024
slimreaper35
force-pushed
the
yarn-classic-dev
branch
from
December 3, 2024 14:41
fd03346
to
1c3e8bf
Compare
taylormadore
reviewed
Dec 3, 2024
taylormadore
approved these changes
Dec 3, 2024
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.
LGTM overall 👍
a-ovchinnikov
approved these changes
Dec 3, 2024
slimreaper35
force-pushed
the
yarn-classic-dev
branch
from
December 3, 2024 20:24
1c3e8bf
to
12459ff
Compare
Add utility functions to identify runtime dependencies in Yarn Classic projects: - Implement find_runtime_deps() to identify production dependencies across workspaces - Support compound key expansion in yarn.lock files - Use BFS algorithm for efficient transitive dependency resolution This enables proper classification of runtime dependencies based on their usage in package.json files and transitive relationships. Signed-off-by: Michal Šoltis <[email protected]>
Integrate dev dependency detection into the package resolution process: - Add dev flag to YarnClassicPackageFactory - Pass non-dev dependencies set through the resolution chain - Update package creation to mark dependencies as dev/non-dev - Update tests to accommodate the new dev flag This completes the dependency classification implementation by marking each resolved package with its development status. Signed-off-by: Michal Šoltis <[email protected]>
slimreaper35
force-pushed
the
yarn-classic-dev
branch
from
December 4, 2024 12:48
12459ff
to
27dcf35
Compare
Merged
via the queue into
containerbuildsystem:main
with commit Dec 4, 2024
7f09150
15 checks passed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Maintainers will complete the following section
Note: if the contribution is external (not from an organization member), the CI
pipeline will not run automatically. After verifying that the CI is safe to run:
/ok-to-test
(as is the standard for Pipelines as Code)