Package inheritance, any thoughts? #2
ampersarnie
started this conversation in
Ideas
Replies: 1 comment 2 replies
-
Initial knee-jerk (read uninformed) thoughts - would it not be possible to automagically copy the commands across using a postinstall script? there used to be an |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
As part of the setup, you're asked to move some items from the
package.build-tools.json
file to your project/sitepackage.json
file so you have the scripts available. Obviously this just means an extra step to take during setup but might actually be something we can help avoid. This may be a wider discussion but has only really surfaced here (as far as I know).There are some tools available that allow a project/site to inherit some package information without having to use workspaces, etc. I'm sure there's more or similar around, or we may be able to come up with our own methods.
Package inheritance may also rear its head if we're including
package.json
and dependency definitions within our plugins (we should seriously consider it), which is where I expect it to come in to a wider discussion.Anyone have any thoughts on this?
Beta Was this translation helpful? Give feedback.
All reactions