Skip to content

Releases: ryangoree/clide-js

clide-js@v0.1.2

12 Feb 21:03
Compare
Choose a tag to compare
  • Used the current State.data value by default in State.fork
  • Ensured setting camel-case option values in State.fork will result in the corresponding hyphen-case and aliases being set too.

Full Changelog: https://github.com/ryangoree/clide-js/compare/clide-js@v0.1.2-alpha.0...clide-js@v0.1.2

clide-js@v0.1.2-alpha.0

06 Feb 02:02
Compare
Choose a tag to compare

clide-plugin-command-menu@v0.0.7

05 Feb 06:23
Compare
Choose a tag to compare
  • Exit the process when the prompt is canceled by default.
  • Changed onExit option to onCancel

Full Changelog: https://github.com/ryangoree/clide-js/compare/clide-plugin-command-menu@v0.0.6...clide-plugin-command-menu@v0.0.7

clide-js@v0.1.1

05 Feb 11:08
Compare
Choose a tag to compare
  • Added types to the value passed to the OptionGetter's validate function.

Full Changelog: https://github.com/ryangoree/clide-js/compare/clide-js@v0.1.0...clide-js@v0.1.1

clide-js@v0.1.0

05 Feb 06:23
Compare
Choose a tag to compare
  • Wrap help plugin in a function and add a maxWidth option.
  • Add secret option type.
  • Removed some properties from Context and State to simplify their APIs:
    Context.isResolved
    Context.isParsed
    Context.isReady
    State.isDone
  • Renamed hook prefixes in Hooks
    • pre -> before (e.g., preResolve -> beforeResolve)
    • post -> after (e.g., postResolve -> afterResolve)
  • Added an invokeCommand method to Context which can be used to invoke an arbitrary list of command modules or resolved commands within the same execution context.
  • Fixed a bug where non-required options were still throwing errors if not defined by Ignoring undefined during option type validation.
  • Fixed number option validation.
  • Fixed the trigger for onPromptExit to ensure the process only exits when a prompt is canceled rather than left blank.
  • Change the signature for Context.invokeCommand to use a single object argument to make it possible to pass optionValues and paramValues to invoked commands.

Full Changelog: https://github.com/ryangoree/clide-js/compare/clide-js@v0.0.16...clide-js@v0.1.0

clide-plugin-command-menu@v0.0.7-alpha.1

clide-js@v0.1.0-alpha.4

04 Jan 12:50
Compare
Choose a tag to compare
Pre-release
  • Change the signature for Context.invokeCommand to use a single object argument to make it possible to pass optionValues and paramValues to invoked commands.

Full Changelog: https://github.com/ryangoree/clide-js/compare/clide-js@v0.1.0-alpha.3...clide-js@v0.1.0-alpha.4

clide-js@v0.1.0-alpha.3

04 Jan 10:48
Compare
Choose a tag to compare
Pre-release
  • Fixed the trigger for onPromptExit to ensure the process only exits when a prompt is canceled rather than left blank.

Full Changelog: https://github.com/ryangoree/clide-js/compare/clide-js@v0.1.0-alpha.2...clide-js@v0.1.0-alpha.3

clide-js@v0.1.0-alpha.2

04 Jan 10:33
Compare
Choose a tag to compare
Pre-release
  • Removed some properties from Context and State to simplify their APIs:
    Context.isResolved
    Context.isParsed
    Context.isReady
    State.isDone
  • Renamed hook prefixes in Hooks
    • pre -> before (e.g., preResolve -> beforeResolve)
    • post -> after (e.g., postResolve -> afterResolve)
  • Added an invokeCommand method to Context which can be used to invoke an arbitrary list of command modules or resolved commands within the same execution context.
  • Fixed a bug where non-required options were still throwing errors if not defined by Ignoring undefined during option type validation.
  • Fixed number option validation.

Full Changelog: https://github.com/ryangoree/clide-js/compare/clide-plugin-command-menu@v0.0.7-alpha.1...clide-js@v0.1.0-alpha.2

clide-plugin-command-menu@v0.0.7-alpha.0

28 Dec 18:46
Compare
Choose a tag to compare