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

Releases: mocks-server/plugin-inquirer-cli

Support NodeJS v17

05 Dec 09:28
d42c885
Compare
Choose a tag to compare

Changed

  • chore: Support any NodeJs version >=12.0.0
  • chore: Run tests also in NodeJs 17 in pipelines. Remove tests execution using NodeJs 15
  • chore: Update devDependencies

Fixed

  • docs: Remove broken npm dependencies badge

Support Node.js v16

25 May 05:16
89cf715
Compare
Choose a tag to compare

Added

  • feat: Add node v16.x to engines

Changed

  • Update dependencies

Route variants and mocks

17 Feb 18:09
bb7824b
Compare
Choose a tag to compare

Added

  • feat: Display current mock.
  • feat: Display menus for changing current mock.
  • feat: Add menus for changing route variant and restore variants

Changed

  • feat: Display legacy options and menus only when core pathLegacy setting has value. Add toggle legacy watch menu.
  • refactor: Refresh inquirer main options every time main menu is displayed.
  • chore(deps): Update dependencies

Fixed

  • fix: Resolve previous inquirers before displaying a new one
  • fix: Start promise was never resolved

BREAKING CHANGE

  • Changed format of cli option to boolean (now --no-cli has to be used to disable it)

Update core dependency

16 Feb 18:51
ffcae53
Compare
Choose a tag to compare
Pre-release

Changed

  • chore(deps): Update mocks-server/core dependency. Adapt tests.

v2.0.0 pre-release

14 Feb 19:37
429b234
Compare
Choose a tag to compare
v2.0.0 pre-release Pre-release
Pre-release

Added

  • feat: Display current mock.
  • feat: Display menus for changing current mock.
  • feat: Add menus for changing route variant and restore variants

Changed

  • feat: Display legacy options and menus only when core pathLegacy setting has value. Add toggle legacy watch menu.
  • refactor: Refresh inquirer main options every time main menu is displayed.

Fixed

  • fix: Resolve previous inquirers before displaying a new one
  • fix: Start promise was never resolved

BREAKING CHANGE

  • Changed format of cli option to boolean (now --no-cli has to be used to disable it)

Fix restart on change cli option

25 Dec 19:07
10f3f06
Compare
Choose a tag to compare

Fixed

  • fix: Do not stop listening to changeSettings event on stop plugin, as it has to be restarted if cli setting changes to true

Upgrade minor version

25 Dec 10:46
4fb97ff
Compare
Choose a tag to compare

Changed

  • chore(release): Upgrade minor version, as previous release was wrongly released as patch

Display alerts

25 Dec 09:50
b74d667
Compare
Choose a tag to compare

Added

  • feat: Add sections headers
  • feat: Display alerts (#110)
  • style(lint): Add eslint plugin to avoid the usage of only in tests

Changed

  • refactor: Move render helpers to a helpers file
  • refactor: Remove unused inquirerCli option
  • test(e2e): Move support elements to support folder
  • docs(readme): Add main features chapter
  • chore(deps): Update dependencies

Fixed

  • fix: Add/remove listeners in start/stop methods, not in the init one

Node v15.x support

21 Dec 10:54
1bb02a4
Compare
Choose a tag to compare

Added

  • chore(deps): Add support for Node.js v15.x

Changed

  • chore(ci): Migrate from Travis CI to github actions
  • test(e2e): Rename acceptance tests into e2e tests

Update dependencies

27 Oct 18:35
9a1cc0d
Compare
Choose a tag to compare

Changed

  • chore(deps): Update dependencies