@inquirer/prompts 5.2.1 → 5.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -93,6 +93,16 @@ import { confirm } from '@inquirer/prompts';
93
93
 
94
94
  [See documentation](https://github.com/SBoudrias/Inquirer.js/tree/main/packages/confirm) for usage example and options documentation.
95
95
 
96
+ ## [Search](https://github.com/SBoudrias/Inquirer.js/tree/main/packages/search)
97
+
98
+ ![search prompt](https://raw.githubusercontent.com/SBoudrias/Inquirer.js/f459199e679aec7676cecc0fc12ef8a4cd3dda0b/assets/screenshots/search.png)
99
+
100
+ ```js
101
+ import { search } from '@inquirer/prompts';
102
+ ```
103
+
104
+ [See documentation](https://github.com/SBoudrias/Inquirer.js/tree/main/packages/search) for usage example and options documentation.
105
+
96
106
  ## [Password](https://github.com/SBoudrias/Inquirer.js/tree/main/packages/password)
97
107
 
98
108
  ![Password prompt](https://cdn.rawgit.com/SBoudrias/Inquirer.js/28ae8337ba51d93e359ef4f7ee24e79b69898962/assets/screenshots/password.svg)
package/dist/cjs/index.js CHANGED
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.select = exports.password = exports.rawlist = exports.expand = exports.number = exports.input = exports.confirm = exports.editor = exports.Separator = exports.checkbox = void 0;
6
+ exports.select = exports.search = exports.password = exports.rawlist = exports.expand = exports.number = exports.input = exports.confirm = exports.editor = exports.Separator = exports.checkbox = void 0;
7
7
  var checkbox_1 = require("@inquirer/checkbox");
8
8
  Object.defineProperty(exports, "checkbox", { enumerable: true, get: function () { return __importDefault(checkbox_1).default; } });
9
9
  Object.defineProperty(exports, "Separator", { enumerable: true, get: function () { return checkbox_1.Separator; } });
@@ -21,5 +21,7 @@ var rawlist_1 = require("@inquirer/rawlist");
21
21
  Object.defineProperty(exports, "rawlist", { enumerable: true, get: function () { return __importDefault(rawlist_1).default; } });
22
22
  var password_1 = require("@inquirer/password");
23
23
  Object.defineProperty(exports, "password", { enumerable: true, get: function () { return __importDefault(password_1).default; } });
24
+ var search_1 = require("@inquirer/search");
25
+ Object.defineProperty(exports, "search", { enumerable: true, get: function () { return __importDefault(search_1).default; } });
24
26
  var select_1 = require("@inquirer/select");
25
27
  Object.defineProperty(exports, "select", { enumerable: true, get: function () { return __importDefault(select_1).default; } });
@@ -6,4 +6,5 @@ export { default as number } from '@inquirer/number';
6
6
  export { default as expand } from '@inquirer/expand';
7
7
  export { default as rawlist } from '@inquirer/rawlist';
8
8
  export { default as password } from '@inquirer/password';
9
+ export { default as search } from '@inquirer/search';
9
10
  export { default as select } from '@inquirer/select';
@@ -6,4 +6,5 @@ export { default as number } from '@inquirer/number';
6
6
  export { default as expand } from '@inquirer/expand';
7
7
  export { default as rawlist } from '@inquirer/rawlist';
8
8
  export { default as password } from '@inquirer/password';
9
+ export { default as search } from '@inquirer/search';
9
10
  export { default as select } from '@inquirer/select';
@@ -6,4 +6,5 @@ export { default as number } from '@inquirer/number';
6
6
  export { default as expand } from '@inquirer/expand';
7
7
  export { default as rawlist } from '@inquirer/rawlist';
8
8
  export { default as password } from '@inquirer/password';
9
+ export { default as search } from '@inquirer/search';
9
10
  export { default as select } from '@inquirer/select';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inquirer/prompts",
3
- "version": "5.2.1",
3
+ "version": "5.3.0",
4
4
  "description": "Inquirer prompts, combined in a single package",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "typings": "./dist/cjs/types/index.d.ts",
@@ -58,7 +58,6 @@
58
58
  "tsc": "yarn run tsc:esm && yarn run tsc:cjs",
59
59
  "tsc:esm": "rm -rf dist/esm && tsc -p ./tsconfig.json",
60
60
  "tsc:cjs": "rm -rf dist/cjs && tsc -p ./tsconfig.cjs.json && node ../../tools/fix-ext.mjs",
61
- "tsc:watch": "tsc -p ./tsconfig.json --watch",
62
61
  "attw": "attw --pack"
63
62
  },
64
63
  "engines": {
@@ -77,20 +76,21 @@
77
76
  }
78
77
  },
79
78
  "dependencies": {
80
- "@inquirer/checkbox": "^2.4.1",
81
- "@inquirer/confirm": "^3.1.16",
82
- "@inquirer/editor": "^2.1.16",
83
- "@inquirer/expand": "^2.1.16",
84
- "@inquirer/input": "^2.2.3",
85
- "@inquirer/number": "^1.0.4",
86
- "@inquirer/password": "^2.1.16",
87
- "@inquirer/rawlist": "^2.1.16",
88
- "@inquirer/select": "^2.4.1"
79
+ "@inquirer/checkbox": "^2.4.2",
80
+ "@inquirer/confirm": "^3.1.17",
81
+ "@inquirer/editor": "^2.1.17",
82
+ "@inquirer/expand": "^2.1.17",
83
+ "@inquirer/input": "^2.2.4",
84
+ "@inquirer/number": "^1.0.5",
85
+ "@inquirer/password": "^2.1.17",
86
+ "@inquirer/rawlist": "^2.1.17",
87
+ "@inquirer/search": "^1.0.0",
88
+ "@inquirer/select": "^2.4.2"
89
89
  },
90
90
  "devDependencies": {
91
- "@inquirer/type": "^1.5.0"
91
+ "@inquirer/type": "^1.5.1"
92
92
  },
93
93
  "homepage": "https://github.com/SBoudrias/Inquirer.js/blob/main/packages/prompts/README.md",
94
94
  "sideEffects": false,
95
- "gitHead": "f2c4983dd390c6244fb4668a8e87c9e786e4326f"
95
+ "gitHead": "92eb67edb388404a6d737c0605648ac797c84fb6"
96
96
  }