Skip to content

Commit 868a53d

Browse files
Merge pull request #805 from contentstack/bugfix/inquirer-table-prompt-fix
Bugfix/inquirer table prompt fix
2 parents e3f3da8 + 0cf9393 commit 868a53d

6 files changed

Lines changed: 228 additions & 209 deletions

File tree

package-lock.json

Lines changed: 5 additions & 166 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/contentstack-utilities/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@
4040
"inquirer": "8.2.4",
4141
"inquirer-search-checkbox": "^1.0.0",
4242
"inquirer-search-list": "^1.2.6",
43-
"inquirer-table-prompt": "git@github.com:***REMOVED***/inquirer-table-prompt.git",
4443
"lodash": "^4.17.15",
4544
"open": "^8.4.2",
4645
"ora": "^5.4.0",

packages/contentstack-utilities/src/cli-ux.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { Ora, default as ora } from 'ora';
77
import messageHandler from './message-handler';
88
import { PrintOptions, InquirePayload, CliUXPromptOptions } from './interfaces';
99

10-
inquirer.registerPrompt('table', require('inquirer-table-prompt'));
10+
inquirer.registerPrompt('table', require('./inquirer-table-prompt'));
1111

1212
/**
1313
* CLI Interface

packages/contentstack-utilities/src/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,3 +47,5 @@ export {
4747
stdout,
4848
} from '@oclif/core';
4949
export { FlagInput } from '@oclif/core/lib/interfaces/parser';
50+
51+
export { default as TablePrompt } from './inquirer-table-prompt';

0 commit comments

Comments
 (0)