@eove/dev-tools
v1.4.0-i4.1
Published
Collection of development scripts/tools for Eove projects
Downloads
7
Readme
@eove/dev-tools
Collection of development scripts/tools for Eove applications.
Installation from sources
git clone [email protected]: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 fileversion
: prints project versiongrep
: 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