-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
Closed
Labels
Milestone
Description
What problem does this feature solve?
We have a custom vue-cli plugin for our companies code, which contains propriety code and we cannot publish it to NPM. We host this on Artifactory. We usually install packages with .npmrc
files. but that file is also brought by the plugin. We need an initial way to tell vue cli where to find packages so that vue add
command is also usable.
What does the proposed API look like?
vue add
command can use --registry
flag to pass down the custom registry to either yarn or npm. That way can reduce the plugin installation to a single command
vue add @ourCompany/our-plugin --registry=https://artifactory.com/npm...
Same thing can be applied anywhere vue-cli
interacts with npm
or yarn
ustbhuangyi and marcus30