Skip to content

Releases: jmcdo29/nest-commander

nest-commander@3.6.3

24 Apr 18:39
Compare
Choose a tag to compare

Patch Changes

  • 84b5067: Adds support for positional options and passthrough options

nest-commander@3.6.2

19 Apr 02:04
Compare
Choose a tag to compare

Patch Changes

  • 6fb3d91: Fix the Inquirer type to work above @types/inquirer@8.2.1

nest-commander@3.6.1

02 Mar 15:10
Compare
Choose a tag to compare

Patch Changes

  • c35e8cc: Fixed issue with parsing serviceErrorHandler option to properly override default behaviour

nest-commander@3.6.0

01 Mar 01:54
Compare
Choose a tag to compare

Minor Changes

  • 7f54ff8: Add serviceErrorHandler option

    This option allows for catching and handling errors at the Nest service execution level so that
    lifecycle hooks still properly work. By default it is set to
    (err: Error) => process.stderr.write(err.toString()).

  • 09b6134: Add the ability to have a Root command

    With the @RootCommand() the -h flag can now output the options of the default command along
    with
    the names of the other commands.

nest-commander@3.5.0

31 Jan 18:41
Compare
Choose a tag to compare

Minor Changes

  • d2e5fc8: Allow for use of request scoped providers through a new module decorator

    By making use of the @RequestModule() decorator for modules, as mock request object can be set as a singleton to help the use of REQUEST scoped providers in a singleton context. There's now also an error that is logged in the case of a property of undefined being called, as this is usually indicative of a REQUEST scoped provider being called from a SINGLETON context.

nest-commander-testing@3.1.0

13 Jan 20:22
Compare
Choose a tag to compare

Minor Changes

  • c75ca13: Add runWithoutClosing for testing

nest-commander@3.4.0

30 Dec 18:30
Compare
Choose a tag to compare

Minor Changes

  • fadb70d: Allow for a sub command to be set as the default sub command.
  • 74c88f5: Add new api registerWithSubCommand to CommandRunner Class
  • abff78d: Allow for options to be parsed positionally via an option passed to CommandFactory

nest-commander@3.3.0

04 Nov 02:23
Compare
Choose a tag to compare

Minor Changes

  • 8c639d3: fix: update module resolution to node16 so dynamic imports are not transpiled out during TS build

nest-commander@3.2.1

03 Nov 23:02
Compare
Choose a tag to compare

Patch Changes

  • 5c089a6: Fixed an issue preventing use of ESM packages as plugins in the command factory

nest-commander@3.2.0

29 Oct 16:43
Compare
Choose a tag to compare

Minor Changes

  • 84e6b95: Add env option to @Option() decorator