We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c4ce4c9 commit e131671Copy full SHA for e131671
1 file changed
src/publish/index.js
@@ -395,8 +395,13 @@ export const publish = async (options) => {
395
)
396
}
397
if (existsSync(path.resolve(rootDir, 'pnpm-lock.yaml'))) {
398
- console.info('Updating examples to use new package versions...')
399
- execSync('pnpm install')
+ console.info(' Updating pnpm-lock.yaml...')
+ try {
400
+ execSync('pnpm install')
401
+ } catch (/** @type {any} */ err) {
402
+ console.error(err.stdout.toString())
403
+ process.exit(1)
404
+ }
405
406
407
0 commit comments