We have private addons in our private git repo. While our development teams use these addons they install our addons such as:
ember install git+ssh://git@my-server/my-private-addon.git#0.8.2
But after this command runs, package.json
is updated and the following line is added to the devDependencies
:
"my-private-addon":"git+ssh://git@my-server/my-private-addon.git#d16cee7db51c893fc8b2fc064bc7f43a5f770e67"
Is there any option to write the tag version instead of commit id?
The problems with this approach are:
- Someone cannot easily see what version is using
- Worst: When a developer upgrades the dependency and commits the
package.json
,ember s
command run by the developers who pull the newpackage.json
from git, isn’t aware of the upgraded version. Soember s
doesn’t force the developers to run annpm install
. So that, they were still using older version of the addon.
Note: I’m using ember 2.3.0