1
I have a local repository (gitlab) with several components, I’m pointing to package.json
each component directly to this repository. See below for an example:
"dependencies": {
"XX-alert": "git+http://git.domain.com/XX-platform/XX-alert.git",
...
}
I would like every time a developer makes one push
to the master
anyone in the network making a npm update
could pick up this update.
Right now for this to work I need to add the package again:
npm install git+http://git.domain.com/XX-platform/XX-alert.git --save
Thank you.
Can you clarify, please, who would this update be available to? Another developer? A test environment?
– egomesbrandao
Today I have 40 components and all are within Gitlab, each developer uses the command
git install git+http://git.domain.com/XX-platform/XX-alert.git --save
to add a package to the project, the point is that every time you update the package in the master branch, developers can’t access this update.– Bruno Wego