@salestrip/mongodb
v0.4.4
Published
SalesTrip Engine MongoDB adapter
Downloads
541
Readme
@salestrip/mongodb
SalesTrip Engine MongoDB adapter.
Install
npm i -S bluebird mongodb ramda @salestrip/mongodb
Notes
- Check peer-dependencies for other peers a client may need to install.
- Format of DB_URL env var is
mongodb://localhost:27017/ste|mongodb://localhost:27017/test?retryWrites=true
. - Will export two instances named
steDb
andtestDb
.
Release
To release a new version, use npm. Using npm version
will update the version in package.json
before committing the resulting file change to git and adding the appropriate git tag. Pushing a tagged version to origin
will trigger a CI deployment to the npm registry.
To release a bugfix update the patch version.
npm version patch
git push
git push --tags
To release a feature update the minor version.
npm version minor
git push
git push --tags
To release a breaking change update the major version.
npm version major
git push
git push --tags
License
Copyright © 2019 SalesTrip Limited. All rights reserved.