Skip to content

Commit

Permalink
Fix(Version): Missed the isDefault option
Browse files Browse the repository at this point in the history
  • Loading branch information
1aron committed Jun 7, 2023
1 parent 4a1e06a commit be0e58c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/version/src/bin/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { readFileAsJSON, writeToFile } from '@techor/fs'

const pkg = readFileAsJSON('./package.json')

program.command('version <version>')
program.command('version <version>', { isDefault: true })
.description('Bump to specific version for workspace\'s packages')
.option('-p, --prefix <symbol>', 'Version prefix `^`, `~`, `>`, `>=`, `<`, `<=` ', '^')
.option('-w, --workspaces <paths>', 'Specific your workspaces', pkg.workspaces)
Expand Down

0 comments on commit be0e58c

Please sign in to comment.