feat(npm): add --lockfile-subdir option supporting yarn and npm#171
Draft
watson wants to merge 1 commit intoDataDog:mainfrom
Draft
feat(npm): add --lockfile-subdir option supporting yarn and npm#171watson wants to merge 1 commit intoDataDog:mainfrom
watson wants to merge 1 commit intoDataDog:mainfrom
Conversation
cfb7b61 to
23dbacd
Compare
3 tasks
23dbacd to
84094b0
Compare
Rename --yarn-subdir to --lockfile-subdir to support both yarn.lock and package-lock.json in monorepo subdirectories. The tool now auto-detects the package manager per subdirectory. --yarn-subdir is kept as a backward-compatible alias.
84094b0 to
8ea483b
Compare
This file contains hidden or 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
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.
What type of PR is this? (check all applicable)
Description
Rename
--yarn-subdirto--lockfile-subdirto support bothyarn.lockandpackage-lock.jsonin monorepo subdirectories. The tool now auto-detects the package manager per subdirectory.--yarn-subdiris kept as a backward-compatible alias (though a version was never released that support this flag, so technically we could remove it).Related tickets & Documents
How to reproduce and testing