1.1.7 • Published 11 months ago

dario-node-utils v1.1.7

Weekly downloads
-
License
ISC
Repository
-
Last release
11 months ago

Dario Node.JS Utils

This repository implements shared functionality for Dario's Node.JS based applications for the purpose of DRY (Don't repeat yourself).

New commits will automatically trigger npm test with pre-commit hook using husky, failed tests will abort the commit until the issue is resolved.

Contents

Refer below to library specific documentation and instructions install and use.

Utils

Middlewares

Installation

Run in the same folder that your package.json is located to install latest available tag:

DARIO_UTILS_LATEST_VERSION=$(git -c 'versionsort.suffix=-' ls-remote --exit-code --refs --sort='version:refname' --tags git@github.com:myDario/dario-node-utils.git '*.*.*' | tail --lines=1 | cut -d '/' -f 3) && npm install git://github.com/myDario/dario-node-utils#"$DARIO_UTILS_LATEST_VERSION" --save

Release

Releasting a new utils version can be done the following way:

npm run release

Only run when HEAD commit is stable, this will patch up the version in package.json, commit changes and create a new tag which can be used.