Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: export inquirer Separator #443

Merged
merged 10 commits into from
Nov 9, 2023
Merged
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down Expand Up @@ -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"
},
Expand All @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion src/exported.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down
2 changes: 1 addition & 1 deletion src/ux/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';
2 changes: 2 additions & 0 deletions src/ux/prompter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,3 +128,5 @@ export function generateTableChoices<T>(

return choicesOptions;
}

export { Separator };
Loading