Open RuBAN-GT opened 3 years ago
We don't have a notion of globally installed packages, so there would need to be a new way to install packages that are allowed to be extended from. We could use the autoinstaller feature that's currently used by things like the prettier hook in this repo.
@octogonz
there would need to be a new way to install packages that are allowed to be extended from
Such a facility could ALSO be used to download optional components of Rush on demand. For example the AWS and Azure cloud cache drivers bring in somewhat large dependencies, and nobody will ever use both of them simultaneously.
The implementation of that could definitely be unified with the autoinstaller implementation.
Summary
Hi everyone,
From zulip chat I suggested an idea to create a shareable common rush configuration in case of multiple but similar monorepos.
I can suggest to follow something like this:
1) Add a new attribute to json schemas
extend
like tsconfig or eslint configuration files:command-line.json:
2)
@myproduct/rush-shared
package should exposecommand-line
json or js file with resulted object configuration. 3) We can combine/mix these config for different purposes (decompose, shared data, etc).Thank you!