Closed ringods closed 4 years ago
Why is this done? Can this be changed so that any starterkit can be installed?
it was done because the original implementation's architecture was extremely conservative and guarded against installing random third party packages. this is not the first disconnect between CLI and Core
Can this be changed so that any starterkit can be installed?
yes! PRs welcome
@bmuenzenmeyer I'll see what I can do regarding a PR. Can you give feedback on what the requirements should be?
Here is what I had in mind:
starterkit-
A sign-off on the requirements would give me a clear path on how to proceed.
I am developing a custom starterkit. The package also has a custom namespace:
@ringods/starterkit-zoho-sites
.Since I do not have a finished version yet, I added the starterkit like this in
devDependencies
:At NPM level, the package is installed, but then I try to trigger the install of the starterkit in Patternlab:
My package name got prefixed with
pattern-lab/
and I could trace that to this line in the code:https://github.com/pattern-lab/patternlab-node/blob/aea1c7f0d816a11cf9116637e65421c5f3f8804e/packages/cli/bin/install-starterkit.js#L15
Why is this done? Can this be changed so that any starterkit can be installed? Or can/should I change the NPM namespace to
@pattern-lab
?