Skip to content

Commit

Permalink
Fix type inferrence in the monorepo
Browse files Browse the repository at this point in the history
  • Loading branch information
SBoudrias committed Jan 20, 2023
1 parent de478bf commit 86f77c8
Show file tree
Hide file tree
Showing 14 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/checkbox/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@
"homepage": "https://github.com/SBoudrias/Inquirer.js/blob/master/packages/checkbox/README.md",
"dependencies": {
"@inquirer/core": "^0.0.30-alpha.0",
"@inquirer/type": "^0.0.4-alpha.0",
"ansi-escapes": "^6.0.0",
"chalk": "^5.2.0",
"figures": "^5.0.0"
Expand Down
1 change: 1 addition & 0 deletions packages/checkbox/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import {
isEnterKey,
Paginator,
} from '@inquirer/core';
import type {} from '@inquirer/type';
import chalk from 'chalk';
import figures from 'figures';
import ansiEscapes from 'ansi-escapes';
Expand Down
1 change: 1 addition & 0 deletions packages/confirm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
"dependencies": {
"@inquirer/core": "^0.0.30-alpha.0",
"@inquirer/input": "^0.0.28-alpha.0",
"@inquirer/type": "^0.0.4-alpha.0",
"chalk": "^5.2.0"
},
"scripts": {
Expand Down
1 change: 1 addition & 0 deletions packages/confirm/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import {
isEnterKey,
usePrefix,
} from '@inquirer/core';
import type {} from '@inquirer/type';

export default createPrompt<boolean, { message: string; default?: boolean }>(
(config, done) => {
Expand Down
1 change: 1 addition & 0 deletions packages/editor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@
"homepage": "https://github.com/SBoudrias/Inquirer.js/blob/master/packages/editor/README.md",
"dependencies": {
"@inquirer/core": "^0.0.30-alpha.0",
"@inquirer/type": "^0.0.4-alpha.0",
"chalk": "^5.2.0",
"external-editor": "^3.0.3"
},
Expand Down
1 change: 1 addition & 0 deletions packages/editor/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import {
isEnterKey,
AsyncPromptConfig,
} from '@inquirer/core';
import type {} from '@inquirer/type';

type EditorConfig = AsyncPromptConfig & {
default?: string;
Expand Down
1 change: 1 addition & 0 deletions packages/expand/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@
"homepage": "https://github.com/SBoudrias/Inquirer.js/blob/master/packages/expand/README.md",
"dependencies": {
"@inquirer/core": "^0.0.30-alpha.0",
"@inquirer/type": "^0.0.4-alpha.0",
"chalk": "^5.2.0",
"figures": "^5.0.0"
},
Expand Down
1 change: 1 addition & 0 deletions packages/expand/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import {
isEnterKey,
AsyncPromptConfig,
} from '@inquirer/core';
import type {} from '@inquirer/type';
import chalk from 'chalk';

type ExpandConfig = AsyncPromptConfig & {
Expand Down
1 change: 1 addition & 0 deletions packages/input/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@
"homepage": "https://github.com/SBoudrias/Inquirer.js/blob/master/packages/input/README.md",
"dependencies": {
"@inquirer/core": "^0.0.30-alpha.0",
"@inquirer/type": "^0.0.4-alpha.0",
"chalk": "^5.2.0"
},
"scripts": {
Expand Down
1 change: 1 addition & 0 deletions packages/input/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import {
isBackspaceKey,
AsyncPromptConfig,
} from '@inquirer/core';
import type {} from '@inquirer/type';
import chalk from 'chalk';

type InputConfig = AsyncPromptConfig & {
Expand Down
1 change: 1 addition & 0 deletions packages/rawlist/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@
"homepage": "https://github.com/SBoudrias/Inquirer.js/blob/master/packages/rawlist/README.md",
"dependencies": {
"@inquirer/core": "^0.0.30-alpha.0",
"@inquirer/type": "^0.0.4-alpha.0",
"chalk": "^5.2.0"
},
"scripts": {
Expand Down
1 change: 1 addition & 0 deletions packages/rawlist/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import {
isEnterKey,
AsyncPromptConfig,
} from '@inquirer/core';
import type {} from '@inquirer/type';
import chalk from 'chalk';

const numberRegex = /[0-9]+/;
Expand Down
1 change: 1 addition & 0 deletions packages/select/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@
"homepage": "https://github.com/SBoudrias/Inquirer.js/blob/master/packages/select/README.md",
"dependencies": {
"@inquirer/core": "^0.0.30-alpha.0",
"@inquirer/type": "^0.0.4-alpha.0",
"ansi-escapes": "^6.0.0",
"chalk": "^5.2.0",
"figures": "^5.0.0"
Expand Down
1 change: 1 addition & 0 deletions packages/select/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import {
Paginator,
AsyncPromptConfig,
} from '@inquirer/core';
import type {} from '@inquirer/type';
import chalk from 'chalk';
import figures from 'figures';
import ansiEscapes from 'ansi-escapes';
Expand Down

0 comments on commit 86f77c8

Please sign in to comment.