Skip to content

Commit 2fdb502

Browse files
committed
more update shipjs config for pnpm
1 parent b5611f9 commit 2fdb502

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

ship.config.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,11 +69,12 @@ export default {
6969
]
7070
},
7171
updateChangelog: false,
72-
buildCommand: ({ isYarn, version }) => 'npm run build:type',
72+
installCommand: () => 'pnpm install --silent',
73+
buildCommand: ({ isYarn, version }) => 'pnpm build:type',
7374
beforeCommitChanges: async ({ nextVersion, exec, dir }) => {
7475
const pkg = await readJson(path.resolve(dirname, './package.json'))
7576
await commitChangelog(pkg.version, nextVersion)
76-
await exec('npm run format:package')
77+
await exec('pnpm format:package')
7778
},
7879
formatCommitMessage: ({ version, releaseType, mergeStrategy, baseBranch }) =>
7980
`${releaseType} release v${version}`,

0 commit comments

Comments
 (0)