@eove/dev-tools

1.4.0-i4.1 • Public • Published

@eove/dev-tools

Build Status

Collection of development scripts/tools for Eove applications.

Installation from sources

git clone git@github.com:eove/eo-dev-tools.git
nvm install
npm install

Usage from sources

Display help:

npm start -- --help

Usage with a global package

Install package for your current node:

npm install -g @eove/dev-tools

Then show help:

eo-dev-tools --help

Usage with npx

npx @eove/dev-tools --help

Commands

  • changelog: prints changes from a changelog file
  • version: prints project version
  • grep: grep pattern on a list of repositories

changelog command

Examples

Extracts the changelog for provided version:

npx @eove/dev-tools changelog --file ./CHANGELOG.md 1.3.4

Version detection

When latest is used and changelog is not empty, the first changes will be returned.

When provided version uses a v prefix (v1.2.3), it will be automatically omitted (1.2.3 will be used).

When provided version is a prerelease (1.2.3-dev.1), this exact version will be looked for, then the release one (1.2.3).

version command

Examples

Extracts versions from the found package.json files:

npx @eove/dev-tools version --root ~/sources/myproject

grep command

Examples

Search given item over a list of repositories:

npx @eove/dev-tools grep SET_SERIAL_Mac --repos https://github.com/eove/eo150-cpu-software,https://github.com/eove/eo-toolkit,https://github.com/eove/vent-com

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i @eove/dev-tools

Weekly Downloads

0

Version

1.4.0-i4.1

License

MIT

Unpacked Size

43.6 kB

Total Files

49

Last publish

Collaborators

  • peio
  • michaelborde