Skip to content

Commit

Permalink
hint
Browse files Browse the repository at this point in the history
  • Loading branch information
mmkal committed Mar 10, 2024
1 parent 8e5f5c0 commit 2df0250
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/publish.ts
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ const main = async () => {
const include = await task.prompt(ListrEnquirerPromptAdapter).run<string[]>({
type: 'MultiSelect',
message: 'Select packages',
hint: '(Press <space> to toggle, <a> to toggle all, <i> to invert selection)',
initial: changes.flatMap((c, i) => (c.changes ? [i] : [])),
choices: changes.map(c => ({
name: `${c.pkg.name} ${c.changes ? `(changes: ${[...c.changeTypes].join('/')})` : '(unchanged)'}`.trim(),
Expand Down

0 comments on commit 2df0250

Please sign in to comment.