-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(core): clean versions read from package.json when resolving depen… (
#26457) …dencies <!-- Please make sure you have read the submission guidelines before posting an PR --> <!-- https://github.com/nrwl/nx/blob/master/CONTRIBUTING.md#-submitting-a-pr --> <!-- Please make sure that your commit message follows our format --> <!-- Example: `fix(nx): must begin with lowercase` --> ## Current Behavior <!-- This is the behavior we have today --> When versions in published `package.json` files such as https://unpkg.com/@trpc/[email protected]/package.json are depended on, the version is not cleaned of extra parts of the version, and the dependency is resolved properly. ## Expected Behavior <!-- This is the behavior we should expect with the changes in this PR --> When versions in published `package.json` files such as https://unpkg.com/@trpc/[email protected]/package.json are depended on, the version is cleaned and resolves properly as a dependency. ## Related Issue(s) <!-- Please link the issue being fixed so it gets closed when this is merged. --> Fixes #26410
- Loading branch information
1 parent
6de382c
commit 08a0e5c
Showing
2 changed files
with
46 additions
and
24 deletions.
There are no files selected for viewing
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
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