When one issues a bower install mypackage --save
, by default, for version, bower uses the tilde range selector (~) prefix for the latest patch version:
"angular-ui-grid": "~3.1.0"
Because in reality patch versions do cause breaking changes (we've experienced this four times now with our dependencies
packages), we'd like to change the behavior to use exact version semver instead:
"angular-ui-grid": "3.1.0"
Is there a way to automatically enforce this or set exact match to the default? I can't expect members of the dev team to remember to delete the ~
everytime they add a bower package.