diff --git a/package.json b/package.json index 74463dc1..3ae93d3d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@salesforce/sf-plugins-core", - "version": "4.0.0", + "version": "4.0.1-dev.6", "description": "Utils for writing Salesforce CLI plugins", "main": "lib/exported", "types": "lib/exported.d.ts", @@ -39,6 +39,7 @@ "@salesforce/core": "^5.3.1", "@salesforce/kit": "^3.0.13", "@salesforce/ts-types": "^2.0.7", + "@types/inquirer": "^8.2.3", "chalk": "^4", "inquirer": "^8.2.5" }, @@ -48,7 +49,6 @@ "@salesforce/dev-scripts": "^5.10.0", "@salesforce/prettier-config": "^0.0.3", "@salesforce/ts-sinon": "^1.4.15", - "@types/inquirer": "^8.2.3", "@typescript-eslint/eslint-plugin": "^5.62.0", "@typescript-eslint/parser": "^5.62.0", "chai": "^4.3.8", diff --git a/src/exported.ts b/src/exported.ts index c0def1c7..6b906215 100644 --- a/src/exported.ts +++ b/src/exported.ts @@ -10,7 +10,7 @@ import { Flags as OclifFlags } from '@oclif/core'; export { toHelpSection, parseVarArgs } from './util'; export { Deployable, Deployer, DeployerResult } from './deployer'; export { Deauthorizer } from './deauthorizer'; -export { Progress, Prompter, generateTableChoices, Ux, Spinner } from './ux'; +export { Progress, Prompter, generateTableChoices, Ux, Spinner, Separator } from './ux'; export { SfHook } from './hooks'; export * from './types'; export { SfCommand, SfCommandInterface, StandardColors } from './sfCommand'; diff --git a/src/ux/index.ts b/src/ux/index.ts index d0943073..a8e0e81f 100644 --- a/src/ux/index.ts +++ b/src/ux/index.ts @@ -8,5 +8,5 @@ export { UxBase } from './base'; export { Ux } from './ux'; export { Progress } from './progress'; -export { Prompter, generateTableChoices } from './prompter'; +export { Prompter, generateTableChoices, Separator } from './prompter'; export { Spinner } from './spinner'; diff --git a/src/ux/prompter.ts b/src/ux/prompter.ts index 3801bb0a..3bfd2def 100644 --- a/src/ux/prompter.ts +++ b/src/ux/prompter.ts @@ -128,3 +128,5 @@ export function generateTableChoices( return choicesOptions; } + +export { Separator };