Replies: 1 comment
-
Duplicate of https://github.com/orgs/community/discussions/51104 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Select Topic Area
Product Feedback
Body
Hi, my organisation is starting to use Github Packages to store our private npm packages.
For one of my packages I am using
peerDependenciesMeta
within the packages.json to set a package to be optional e.g.When doing an npm install it seems that the
peerDependenciesMeta
is being omitted and installing the optional package which I do not want. After investigating around I found the follow issue for JFrog's Artifactory - https://jfrog.atlassian.net/browse/RTFACT-27265 which looks like the same issue. As stated in the ticketpeerDependenciesMeta
does not appear in the official Abbreviated metadata format but it is being returned fromregistry.npmjs.org
.Current workarounds:
Beta Was this translation helpful? Give feedback.
All reactions