Skip to content

Commit

Permalink
fix: run oclif lock during prepack
Browse files Browse the repository at this point in the history
  • Loading branch information
mdonnalley committed Aug 30, 2023
1 parent ff06259 commit 6822dd9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bin/sf-prepack.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@ shell.exec('yarn build');
if (isPlugin(packageRoot)) {
if (shell.which('oclif')) {
shell.exec('oclif manifest .');
shell.exec('oclif lock');
} else if (shell.which('oclif-dev')) {
// eslint-disable-next-line no-console
console.log(chalk.yellow('Warning:'), 'oclif-dev is deprecated. Please use oclif instead.');
shell.exec('oclif-dev manifest');
} else {
// eslint-disable-next-line no-console
Expand Down

0 comments on commit 6822dd9

Please sign in to comment.