Skip to content
This repository has been archived by the owner on Oct 19, 2022. It is now read-only.

Releases: pawelgalazka/tasksfile

v4.4.0

25 Jan 03:31
Compare
Choose a tag to compare
  • source code migrated from Flow/Babel to TypeScript

v4.3.0

07 Nov 01:22
Compare
Choose a tag to compare
  • adding experimental bash autocompletion feature

v4.2.0

05 Nov 10:45
Compare
Choose a tag to compare

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

16 Sep 00:15
Compare
Choose a tag to compare
  • remove log option from run api command
  • upgrade dependent packages
  • introducing options helper, deprecating option
  • better printing of methods list when calling run

For development env:

  • add tests coverage check
  • introducing flow types

v4.0.0

09 Aug 10:02
Compare
Choose a tag to compare

Changes:

  • removing ask and generate helpers from api, to keep runjs codebase more focused about its main purpose
  • dropping support for node < 6.11.1
  • support for other than Babel transpilers, like TypeScript
  • log option to run function, when false 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 your package.json, otherwise Babel transpiler won't be picked up
  • find alternatives for ask and generate, those are not supported by runjs anymore

v3.4.1

06 May 13:42
Compare
Choose a tag to compare
  • changing documentation format for calling run without arguments (task documentation)
  • changing name of the prop for documentation from doc to help
  • when typing --help option with task run it will provide documentation only for that task (run sometask --help)

v3.3.0

05 May 13:06
Compare
Choose a tag to compare
  • 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

21 Apr 07:09
Compare
Choose a tag to compare
  • fixes within handling dashed arguments when calling tasks, dashed arguments can be "spaced" by "-" or "." now, for example: --some-argument or --some.argument (#49)

v3.2.0

22 Mar 11:05
Compare
Choose a tag to compare
  • 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/returns null by default and resolves/returns with value for option stdio: 'pipe'. This allows to return colours to the terminal if provided by commands outcome.

v3.1.1

21 Mar 03:37
Compare
Choose a tag to compare

Bug fix: pass process.env by default to spawn and execSync