Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: SBoudrias/Inquirer.js
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: inquirer@9.2.17
Choose a base ref
...
head repository: SBoudrias/Inquirer.js
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: inquirer@9.2.18
Choose a head ref
  • 9 commits
  • 105 files changed
  • 5 contributors

Commits on Apr 3, 2024

  1. Chore(deps): Bump vite from 5.0.12 to 5.2.8 (#1378)

    Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 5.0.12 to 5.2.8.
    - [Release notes](https://github.com/vitejs/vite/releases)
    - [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
    - [Commits](https://github.com/vitejs/vite/commits/v5.2.8/packages/vite)
    
    ---
    updated-dependencies:
    - dependency-name: vite
      dependency-type: indirect
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Apr 3, 2024
    Copy the full SHA
    3668430 View commit details

Commits on Apr 4, 2024

  1. Chore: Bump dependencies

    SBoudrias committed Apr 4, 2024
    Copy the full SHA
    b054635 View commit details

Commits on Apr 5, 2024

  1. Fix flickering (#1379)

    onsclom authored Apr 5, 2024
    Copy the full SHA
    9e8ca03 View commit details
  2. Publish

     - @inquirer/checkbox@2.2.2
     - @inquirer/confirm@3.1.2
     - @inquirer/core@7.1.2
     - @inquirer/demo@0.4.2
     - @inquirer/editor@2.1.2
     - @inquirer/expand@2.1.2
     - @inquirer/input@2.1.2
     - @inquirer/password@2.1.2
     - @inquirer/prompts@4.3.2
     - @inquirer/rawlist@2.1.2
     - @inquirer/select@2.2.2
     - @inquirer/testing@2.1.15
    SBoudrias committed Apr 5, 2024
    Copy the full SHA
    e530056 View commit details
  3. Chore: Bump attw

    SBoudrias committed Apr 5, 2024
    Copy the full SHA
    9b1a239 View commit details

Commits on Apr 6, 2024

  1. Chore: tackle TODO for Array#findLastIndex() (#1380)

    * Chore: Typescript support for ES2023
    
    * Chore: tackle TODO for Array#findLastIndex()
    SBoudrias authored Apr 6, 2024
    Copy the full SHA
    78f7084 View commit details

Commits on Apr 7, 2024

  1. Add inquirer-action-select community prompt to README.md (#1382)

    * Add inquirer-action-select community prompt to README.md
    
    * fix formatting
    
    ---------
    
    Co-authored-by: Simon Boudrias <admin@simonboudrias.com>
    zenithlight and SBoudrias authored Apr 7, 2024
    Copy the full SHA
    3374a2b View commit details

Commits on Apr 12, 2024

  1. Fork figures package so it can be published for esm/cjs (#1388)

    ---------
    
    Co-authored-by: Simon Boudrias <admin@simonboudrias.com>
    jeffsee55 and SBoudrias authored Apr 12, 2024
    Copy the full SHA
    7596270 View commit details
  2. Publish

     - @inquirer/checkbox@2.2.3
     - @inquirer/confirm@3.1.3
     - @inquirer/core@7.1.3
     - @inquirer/demo@0.4.3
     - @inquirer/editor@2.1.3
     - @inquirer/expand@2.1.3
     - @inquirer/figures@1.0.0
     - @inquirer/input@2.1.3
     - inquirer@9.2.18
     - @inquirer/password@2.1.3
     - @inquirer/prompts@4.3.3
     - @inquirer/rawlist@2.1.3
     - @inquirer/select@2.2.3
     - @inquirer/testing@2.1.16
     - @inquirer/type@1.2.2
    SBoudrias committed Apr 12, 2024
    Copy the full SHA
    6bfbdfc View commit details
Showing with 901 additions and 423 deletions.
  1. BIN ...pm-0.15.2-a853ea346b-c0a7088a67.zip → @arethetypeswrong-cli-npm-0.15.3-852623bcbd-d64eea5c94.zip}
  2. BIN .yarn/cache/@esbuild-darwin-arm64-npm-0.19.9-5f639a2ca4-10.zip
  3. BIN .yarn/cache/@esbuild-darwin-arm64-npm-0.20.2-e287d70c91-10.zip
  4. BIN .yarn/cache/@esbuild-darwin-x64-npm-0.19.9-eeee618c70-10.zip
  5. BIN .yarn/cache/@esbuild-darwin-x64-npm-0.20.2-f4f3a851d1-10.zip
  6. BIN .yarn/cache/@esbuild-linux-arm64-npm-0.19.9-c28df51e4f-10.zip
  7. BIN .yarn/cache/@esbuild-linux-arm64-npm-0.20.2-3a02a82580-10.zip
  8. BIN .yarn/cache/@esbuild-linux-x64-npm-0.19.9-d6dbfe74c3-10.zip
  9. BIN .yarn/cache/@esbuild-linux-x64-npm-0.20.2-54b0127370-10.zip
  10. BIN .yarn/cache/@esbuild-win32-arm64-npm-0.19.9-7ce8dbc268-10.zip
  11. BIN .yarn/cache/@esbuild-win32-arm64-npm-0.20.2-f2a0280705-10.zip
  12. BIN .yarn/cache/@esbuild-win32-x64-npm-0.19.9-0d00367f1e-10.zip
  13. BIN .yarn/cache/@esbuild-win32-x64-npm-0.20.2-4f45bbb49b-10.zip
  14. BIN .yarn/cache/@rollup-rollup-darwin-arm64-npm-4.14.0-c6fa5962b7-10.zip
  15. BIN .yarn/cache/@rollup-rollup-darwin-arm64-npm-4.9.0-b2f55ac115-10.zip
  16. BIN .yarn/cache/@rollup-rollup-darwin-x64-npm-4.14.0-26e07850d9-10.zip
  17. BIN .yarn/cache/@rollup-rollup-darwin-x64-npm-4.9.0-ddd1012d56-10.zip
  18. BIN .yarn/cache/@rollup-rollup-linux-arm64-gnu-npm-4.14.0-0bcd82f6ce-10.zip
  19. BIN .yarn/cache/@rollup-rollup-linux-arm64-gnu-npm-4.9.0-1548f32711-10.zip
  20. BIN .yarn/cache/@rollup-rollup-linux-x64-gnu-npm-4.14.0-e0f86c20cc-10.zip
  21. BIN .yarn/cache/@rollup-rollup-linux-x64-gnu-npm-4.9.0-1fecffdb5c-10.zip
  22. BIN .yarn/cache/@rollup-rollup-win32-arm64-msvc-npm-4.14.0-d374dae7b0-10.zip
  23. BIN .yarn/cache/@rollup-rollup-win32-arm64-msvc-npm-4.9.0-b96f4e5c0d-10.zip
  24. BIN .yarn/cache/@rollup-rollup-win32-x64-msvc-npm-4.14.0-c56f206651-10.zip
  25. BIN .yarn/cache/@rollup-rollup-win32-x64-msvc-npm-4.9.0-3b53557457-10.zip
  26. BIN ...-node-npm-20.11.30-b20dd3f11f-78515bc768.zip → @types-node-npm-20.12.4-f6c430aaa3-eab4ed0777.zip}
  27. BIN ...559b255afa-9bd8852c7e.zip → @typescript-eslint-eslint-plugin-npm-7.5.0-f8a3cafb6e-5469900a0c.zip}
  28. BIN .yarn/cache/@typescript-eslint-parser-npm-7.4.0-0c13447ea1-142a9e1187.zip
  29. BIN .yarn/cache/@typescript-eslint-parser-npm-7.5.0-950f9b5b79-a5414fb2fb.zip
  30. BIN ...0b20c139fb-8cf9292444.zip → @typescript-eslint-scope-manager-npm-7.5.0-e9f885564e-9446c07290.zip}
  31. BIN ....0-7aaf170a20-a8bd0929d8.zip → @typescript-eslint-type-utils-npm-7.5.0-a1986d3fb3-2577305537.zip}
  32. BIN ...m-7.4.0-3e79d39332-2782c5bf65.zip → @typescript-eslint-types-npm-7.5.0-039134627b-12eac46d0d.zip}
  33. BIN ...8411fa-162ec9d758.zip → @typescript-eslint-typescript-estree-npm-7.5.0-4235eaf12f-7487293a9a.zip}
  34. BIN ...m-7.4.0-cc89951e7f-ffed27e770.zip → @typescript-eslint-utils-npm-7.5.0-76344a74cb-a0b2f206a1.zip}
  35. BIN ...-fcd4bb6855-70dc99f2ad.zip → @typescript-eslint-visitor-keys-npm-7.5.0-8472c4f821-ba83113110.zip}
  36. BIN .yarn/cache/esbuild-npm-0.19.9-046a8fb7c4-b76a613995.zip
  37. BIN .yarn/cache/esbuild-npm-0.20.2-1923187a7f-663215ab7e.zip
  38. BIN ...che/{postcss-npm-8.4.32-2004ba88b8-2808486412.zip → postcss-npm-8.4.38-495621b279-6e44a7ed83.zip}
  39. BIN .yarn/cache/rollup-npm-4.14.0-77380b8277-803b45976d.zip
  40. BIN .yarn/cache/rollup-npm-4.9.0-8c6d128a25-f7d5681eef.zip
  41. BIN .yarn/cache/source-map-js-npm-1.2.0-6e63f357e5-74f331cfd2.zip
  42. BIN ...e/{turbo-linux-arm64-npm-1.13.0-d194c50945-10.zip → turbo-darwin-64-npm-1.13.2-1a2ff105e2-10.zip}
  43. BIN ...urbo-darwin-arm64-npm-1.13.0-30def9ec24-10.zip → turbo-darwin-arm64-npm-1.13.2-fbb4b7510b-10.zip}
  44. BIN ...cache/{turbo-linux-64-npm-1.13.0-e3faae5ae0-10.zip → turbo-linux-64-npm-1.13.2-e1959e3201-10.zip}
  45. BIN ...e/{turbo-darwin-64-npm-1.13.0-f82afd2a91-10.zip → turbo-linux-arm64-npm-1.13.2-db72395829-10.zip}
  46. BIN ...n/cache/{turbo-npm-1.13.0-865acc8ab5-56a7d69d80.zip → turbo-npm-1.13.2-14ca4b8ebc-945c78e7c6.zip}
  47. BIN ...turbo-windows-arm64-npm-1.13.0-ee236bf8c1-10.zip → turbo-windows-64-npm-1.13.2-98c34131d0-10.zip}
  48. BIN ...turbo-windows-64-npm-1.13.0-dbfe97bfc0-10.zip → turbo-windows-arm64-npm-1.13.2-eecab7fd12-10.zip}
  49. BIN ...{typescript-npm-5.4.3-702063d215-de4c69f49a.zip → typescript-npm-5.4.4-a827b905f6-bade322d88.zip}
  50. BIN ...n/cache/{typescript-patch-0b5476accc-5aedd97595.zip → typescript-patch-caac36e033-88aff3244c.zip}
  51. BIN .yarn/cache/vite-npm-5.0.12-37f95c18d1-ed0bb26a0d.zip
  52. BIN .yarn/cache/vite-npm-5.2.8-618ece674d-caa40343c2.zip
  53. +6 −6 package.json
  54. +6 −6 packages/checkbox/package.json
  55. +2 −3 packages/checkbox/src/index.mts
  56. +1 −1 packages/checkbox/tsconfig.cjs.json
  57. +1 −1 packages/checkbox/tsconfig.json
  58. +4 −4 packages/confirm/package.json
  59. +1 −1 packages/confirm/tsconfig.cjs.json
  60. +1 −1 packages/confirm/tsconfig.json
  61. +5 −5 packages/core/package.json
  62. +1 −1 packages/core/src/lib/Separator.mts
  63. +3 −3 packages/core/src/lib/screen-manager.mts
  64. +1 −1 packages/core/tsconfig.cjs.json
  65. +1 −1 packages/core/tsconfig.json
  66. +2 −2 packages/demo/package.json
  67. +4 −4 packages/editor/package.json
  68. +1 −1 packages/editor/tsconfig.cjs.json
  69. +1 −1 packages/editor/tsconfig.json
  70. +4 −4 packages/expand/package.json
  71. +1 −1 packages/expand/tsconfig.cjs.json
  72. +1 −1 packages/expand/tsconfig.json
  73. +78 −0 packages/figures/package.json
  74. +321 −0 packages/figures/src/index.mts
  75. +11 −0 packages/figures/tsconfig.cjs.json
  76. +13 −0 packages/figures/tsconfig.json
  77. +4 −4 packages/input/package.json
  78. +1 −1 packages/input/tsconfig.cjs.json
  79. +1 −1 packages/input/tsconfig.json
  80. +1 −1 packages/inquirer/lib/objects/separator.js
  81. +1 −1 packages/inquirer/lib/prompts/checkbox.js
  82. +1 −1 packages/inquirer/lib/prompts/list.js
  83. +2 −2 packages/inquirer/package.json
  84. +4 −4 packages/password/package.json
  85. +1 −1 packages/password/tsconfig.cjs.json
  86. +1 −1 packages/password/tsconfig.json
  87. +10 −0 packages/prompts/README.md
  88. +10 −10 packages/prompts/package.json
  89. +1 −1 packages/prompts/tsconfig.cjs.json
  90. +1 −1 packages/prompts/tsconfig.json
  91. +4 −4 packages/rawlist/package.json
  92. +1 −1 packages/rawlist/tsconfig.cjs.json
  93. +1 −1 packages/rawlist/tsconfig.json
  94. +6 −6 packages/select/package.json
  95. +6 −4 packages/select/src/index.mts
  96. +1 −1 packages/select/tsconfig.cjs.json
  97. +1 −1 packages/select/tsconfig.json
  98. +3 −3 packages/testing/package.json
  99. +1 −1 packages/testing/tsconfig.cjs.json
  100. +1 −1 packages/testing/tsconfig.json
  101. +1 −1 packages/type/package.json
  102. +1 −1 packages/type/tsconfig.cjs.json
  103. +1 −1 packages/type/tsconfig.json
  104. +2 −2 tools/setup-packages.mjs
  105. +362 −318 yarn.lock
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -47,11 +47,11 @@
"zsh"
],
"devDependencies": {
"@arethetypeswrong/cli": "^0.15.2",
"@arethetypeswrong/cli": "^0.15.3",
"@sindresorhus/tsconfig": "^5.0.0",
"@types/node": "^20.11.30",
"@typescript-eslint/eslint-plugin": "^7.4.0",
"@typescript-eslint/parser": "^7.4.0",
"@types/node": "^20.12.4",
"@typescript-eslint/eslint-plugin": "^7.5.0",
"@typescript-eslint/parser": "^7.5.0",
"@vitest/coverage-v8": "^1.4.0",
"@vitest/ui": "^1.4.0",
"eslint": "^8.57.0",
@@ -67,8 +67,8 @@
"lint-staged": "^15.2.2",
"prettier": "^3.2.5",
"ts-node": "^10.9.2",
"turbo": "^1.13.0",
"typescript": "^5.4.3",
"turbo": "^1.13.2",
"typescript": "^5.4.4",
"vitest": "^1.4.0"
},
"resolutions": {
12 changes: 6 additions & 6 deletions packages/checkbox/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@inquirer/checkbox",
"version": "2.2.1",
"version": "2.2.3",
"engines": {
"node": ">=18"
},
@@ -57,14 +57,14 @@
"license": "MIT",
"homepage": "https://github.com/SBoudrias/Inquirer.js/blob/master/packages/checkbox/README.md",
"dependencies": {
"@inquirer/core": "^7.1.1",
"@inquirer/type": "^1.2.1",
"@inquirer/core": "^7.1.3",
"@inquirer/figures": "^1.0.0",
"@inquirer/type": "^1.2.2",
"ansi-escapes": "^4.3.2",
"chalk": "^4.1.2",
"figures": "^3.2.0"
"chalk": "^4.1.2"
},
"devDependencies": {
"@inquirer/testing": "^2.1.14"
"@inquirer/testing": "^2.1.16"
},
"scripts": {
"tsc": "yarn run tsc:esm && yarn run tsc:cjs",
5 changes: 2 additions & 3 deletions packages/checkbox/src/index.mts
Original file line number Diff line number Diff line change
@@ -17,7 +17,7 @@ import {
} from '@inquirer/core';
import type { PartialDeep } from '@inquirer/type';
import chalk from 'chalk';
import figures from 'figures';
import figures from '@inquirer/figures';
import ansiEscapes from 'ansi-escapes';

type CheckboxTheme = {
@@ -109,8 +109,7 @@ export default createPrompt(

const bounds = useMemo(() => {
const first = items.findIndex(isSelectable);
// TODO: Replace with `findLastIndex` when it's available.
const last = items.length - 1 - [...items].reverse().findIndex(isSelectable);
const last = items.findLastIndex(isSelectable);

if (first < 0) {
throw new ValidationError(
2 changes: 1 addition & 1 deletion packages/checkbox/tsconfig.cjs.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"lib": ["ES6"],
"lib": ["es2023"],
"target": "es6",
"module": "commonjs",
"moduleResolution": "node10",
2 changes: 1 addition & 1 deletion packages/checkbox/tsconfig.json
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@
"include": ["./src"],
"exclude": ["**/*.test.mts"],
"compilerOptions": {
"lib": ["ESNext"],
"lib": ["es2023"],
"target": "es2022",
"module": "NodeNext",
"moduleResolution": "nodenext",
8 changes: 4 additions & 4 deletions packages/confirm/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@inquirer/confirm",
"version": "3.1.1",
"version": "3.1.3",
"description": "Inquirer confirm prompt",
"main": "./dist/cjs/index.js",
"typings": "./dist/cjs/types/index.d.ts",
@@ -54,11 +54,11 @@
"license": "MIT",
"homepage": "https://github.com/SBoudrias/Inquirer.js/blob/master/packages/confirm/README.md",
"dependencies": {
"@inquirer/core": "^7.1.1",
"@inquirer/type": "^1.2.1"
"@inquirer/core": "^7.1.3",
"@inquirer/type": "^1.2.2"
},
"devDependencies": {
"@inquirer/testing": "^2.1.14"
"@inquirer/testing": "^2.1.16"
},
"scripts": {
"tsc": "yarn run tsc:esm && yarn run tsc:cjs",
2 changes: 1 addition & 1 deletion packages/confirm/tsconfig.cjs.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"lib": ["ES6"],
"lib": ["es2023"],
"target": "es6",
"module": "commonjs",
"moduleResolution": "node10",
2 changes: 1 addition & 1 deletion packages/confirm/tsconfig.json
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@
"include": ["./src"],
"exclude": ["**/*.test.mts"],
"compilerOptions": {
"lib": ["ESNext"],
"lib": ["es2023"],
"target": "es2022",
"module": "NodeNext",
"moduleResolution": "nodenext",
10 changes: 5 additions & 5 deletions packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@inquirer/core",
"version": "7.1.1",
"version": "7.1.3",
"engines": {
"node": ">=18"
},
@@ -57,22 +57,22 @@
"license": "MIT",
"homepage": "https://github.com/SBoudrias/Inquirer.js/blob/master/packages/core/README.md",
"dependencies": {
"@inquirer/type": "^1.2.1",
"@inquirer/figures": "^1.0.0",
"@inquirer/type": "^1.2.2",
"@types/mute-stream": "^0.0.4",
"@types/node": "^20.11.30",
"@types/node": "^20.12.4",
"@types/wrap-ansi": "^3.0.0",
"ansi-escapes": "^4.3.2",
"chalk": "^4.1.2",
"cli-spinners": "^2.9.2",
"cli-width": "^4.1.0",
"figures": "^3.2.0",
"mute-stream": "^1.0.0",
"signal-exit": "^4.1.0",
"strip-ansi": "^6.0.1",
"wrap-ansi": "^6.2.0"
},
"devDependencies": {
"@inquirer/testing": "^2.1.14"
"@inquirer/testing": "^2.1.16"
},
"scripts": {
"tsc": "yarn run tsc:esm && yarn run tsc:cjs",
2 changes: 1 addition & 1 deletion packages/core/src/lib/Separator.mts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import chalk from 'chalk';
import figures from 'figures';
import figures from '@inquirer/figures';

/**
* Separator object
6 changes: 3 additions & 3 deletions packages/core/src/lib/screen-manager.mts
Original file line number Diff line number Diff line change
@@ -19,9 +19,6 @@ export default class ScreenManager {
}

render(content: string, bottomContent: string = '') {
this.clean();

this.rl.output.unmute();
/**
* Write message to screen and setPrompt to control backspace
*/
@@ -72,6 +69,9 @@ export default class ScreenManager {
// Return cursor to the initial left offset.
output += ansiEscapes.cursorTo(this.cursorPos.cols);

this.clean();
this.rl.output.unmute();

/**
* Set up state for next re-rendering
*/
2 changes: 1 addition & 1 deletion packages/core/tsconfig.cjs.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"lib": ["ES6"],
"lib": ["es2023"],
"target": "es6",
"module": "commonjs",
"moduleResolution": "node10",
2 changes: 1 addition & 1 deletion packages/core/tsconfig.json
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@
"include": ["./src"],
"exclude": ["**/*.test.mts"],
"compilerOptions": {
"lib": ["ESNext"],
"lib": ["es2023"],
"target": "es2022",
"module": "NodeNext",
"moduleResolution": "nodenext",
4 changes: 2 additions & 2 deletions packages/demo/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@inquirer/demo",
"version": "0.4.1",
"version": "0.4.3",
"engines": {
"node": ">=18"
},
@@ -61,7 +61,7 @@
"license": "MIT",
"homepage": "https://github.com/SBoudrias/Inquirer.js",
"dependencies": {
"@inquirer/prompts": "^4.3.1",
"@inquirer/prompts": "^4.3.3",
"chalk": "^4.1.2"
},
"publishConfig": {
8 changes: 4 additions & 4 deletions packages/editor/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@inquirer/editor",
"version": "2.1.1",
"version": "2.1.3",
"description": "Inquirer multiline editor prompt",
"main": "./dist/cjs/index.js",
"typings": "./dist/cjs/types/index.d.ts",
@@ -54,12 +54,12 @@
"license": "MIT",
"homepage": "https://github.com/SBoudrias/Inquirer.js/blob/master/packages/editor/README.md",
"dependencies": {
"@inquirer/core": "^7.1.1",
"@inquirer/type": "^1.2.1",
"@inquirer/core": "^7.1.3",
"@inquirer/type": "^1.2.2",
"external-editor": "^3.1.0"
},
"devDependencies": {
"@inquirer/testing": "^2.1.14"
"@inquirer/testing": "^2.1.16"
},
"scripts": {
"tsc": "yarn run tsc:esm && yarn run tsc:cjs",
2 changes: 1 addition & 1 deletion packages/editor/tsconfig.cjs.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"lib": ["ES6"],
"lib": ["es2023"],
"target": "es6",
"module": "commonjs",
"moduleResolution": "node10",
2 changes: 1 addition & 1 deletion packages/editor/tsconfig.json
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@
"include": ["./src"],
"exclude": ["**/*.test.mts"],
"compilerOptions": {
"lib": ["ESNext"],
"lib": ["es2023"],
"target": "es2022",
"module": "NodeNext",
"moduleResolution": "nodenext",
8 changes: 4 additions & 4 deletions packages/expand/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@inquirer/expand",
"version": "2.1.1",
"version": "2.1.3",
"description": "Inquirer checkbox prompt",
"main": "./dist/cjs/index.js",
"typings": "./dist/cjs/types/index.d.ts",
@@ -54,12 +54,12 @@
"license": "MIT",
"homepage": "https://github.com/SBoudrias/Inquirer.js/blob/master/packages/expand/README.md",
"dependencies": {
"@inquirer/core": "^7.1.1",
"@inquirer/type": "^1.2.1",
"@inquirer/core": "^7.1.3",
"@inquirer/type": "^1.2.2",
"chalk": "^4.1.2"
},
"devDependencies": {
"@inquirer/testing": "^2.1.14"
"@inquirer/testing": "^2.1.16"
},
"scripts": {
"tsc": "yarn run tsc:esm && yarn run tsc:cjs",
2 changes: 1 addition & 1 deletion packages/expand/tsconfig.cjs.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"lib": ["ES6"],
"lib": ["es2023"],
"target": "es6",
"module": "commonjs",
"moduleResolution": "node10",
2 changes: 1 addition & 1 deletion packages/expand/tsconfig.json
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@
"include": ["./src"],
"exclude": ["**/*.test.mts"],
"compilerOptions": {
"lib": ["ESNext"],
"lib": ["es2023"],
"target": "es2022",
"module": "NodeNext",
"moduleResolution": "nodenext",
78 changes: 78 additions & 0 deletions packages/figures/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
{
"name": "@inquirer/figures",
"version": "1.0.0",
"description": "Vendored version of figures, for CJS compatibility",
"main": "./dist/cjs/index.js",
"typings": "./dist/cjs/types/index.d.ts",
"files": [
"dist/**/*"
],
"repository": {
"type": "git",
"url": "https://github.com/SBoudrias/Inquirer.js.git"
},
"keywords": [
"answer",
"answers",
"ask",
"base",
"cli",
"command",
"command-line",
"confirm",
"enquirer",
"generate",
"generator",
"hyper",
"input",
"inquire",
"inquirer",
"interface",
"iterm",
"javascript",
"menu",
"node",
"nodejs",
"prompt",
"promptly",
"prompts",
"question",
"readline",
"scaffold",
"scaffolder",
"scaffolding",
"stdin",
"stdout",
"terminal",
"tty",
"ui",
"yeoman",
"yo",
"zsh",
"types",
"typescript"
],
"author": "Simon Boudrias <admin@simonboudrias.com>",
"license": "MIT",
"scripts": {
"tsc": "yarn run tsc:esm && yarn run tsc:cjs",
"tsc:esm": "rm -rf dist/esm && tsc -p ./tsconfig.json",
"tsc:cjs": "rm -rf dist/cjs && tsc -p ./tsconfig.cjs.json && node ../../tools/fix-ext.mjs",
"attw": "attw --pack"
},
"engines": {
"node": ">=18"
},
"exports": {
".": {
"import": {
"types": "./dist/esm/types/index.d.mts",
"default": "./dist/esm/index.mjs"
},
"require": {
"types": "./dist/cjs/types/index.d.ts",
"default": "./dist/cjs/index.js"
}
}
}
}
Loading