package.json inheritance #5430
spencer17x
started this conversation in
Ideas
Replies: 2 comments
-
What happened with this? |
Beta Was this translation helpful? Give feedback.
0 replies
-
I don't think this would work, as most tools would not be able to work with it, as they don't know the "extends" field. What could work is a tool to alter package.json files, and have that tool run on "postInstall" for example. Tools like |
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
Uh oh!
There was an error while loading. Please reload this page.
-
In monorepo,There may be multiple packages that contain the same dependency or script.
Can I extend package.json by extending the fields of package.json so that I can inherit from the parent class's package.json.
I saw that someone from the repo of NPM raised the relevant issue, but NPM does not support it. Is there any way for PNPM to support it, or does it already support it.
related links:
Beta Was this translation helpful? Give feedback.
All reactions