This repository has been archived by the owner on Oct 19, 2022. It is now read-only.
Releases: pawelgalazka/tasksfile
Releases · pawelgalazka/tasksfile
v4.4.0
v4.3.0
- adding experimental bash autocompletion feature
v4.2.0
Changes:
- introducing
help
utility function - improving task docs generation by annotations
Dev env:
- improving e2e tests
- using external module
microcli
as for cli args parsing and--help
handling
v4.1.0
- remove log option from run api command
- upgrade dependent packages
- introducing
options
helper, deprecatingoption
- better printing of methods list when calling
run
For development env:
- add tests coverage check
- introducing flow types
v4.0.0
Changes:
- removing
ask
andgenerate
helpers from api, to keeprunjs
codebase more focused about its main purpose - dropping support for
node
<6.11.1
- support for other than
Babel
transpilers, likeTypeScript
log
option torun
function, whenfalse
it does not log the command- documentation updates
- support for
async/await
option
helper
Migration from 3.x
to 4.x
procedure:
- make sure you have node version
>=6.11.1
- if you use Babel you need to add
"runjs": {requires: ["./node_modules/babel-register"]}
config to yourpackage.json
, otherwiseBabel
transpiler won't be picked up - find alternatives for
ask
andgenerate
, those are not supported byrunjs
anymore
v3.4.1
- changing documentation format for calling
run
without arguments (task documentation) - changing name of the prop for documentation from
doc
tohelp
- when typing
--help
option with task run it will provide documentation only for that task (run sometask --help
)
v3.3.0
- migrating to yarn
- removing task execution logging (decoration function) as it not working well with exporting pure functions
- passing task options through this.options inside a task function
v3.2.1
v3.2.0
- documenting tasks args when calling
run
without arguments - presenting list of available tasks from
runfile.js
in more readable way - passing
stdio
directly to spawn/execSync - changing
run
api where now it resolves/returnsnull
by default and resolves/returns with value for optionstdio: 'pipe'
. This allows to return colours to the terminal if provided by commands outcome.
v3.1.1
Bug fix: pass process.env
by default to spawn
and execSync