Skip to content

Commit 30f5c89

Browse files
authored
feat: support pnpm (#63)
* feat: support pnpm * chore: update build * fix: use correct lockfile
1 parent 7fb08e5 commit 30f5c89

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

dist/version/index.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/version/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/utils/package-manager.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import { spawnSync } from './process'
44

55
const lockfileCommands = {
66
'yarn.lock': { command: 'yarn', args: ['--no-immutable'] },
7+
'pnpm-lock.yaml': { command: 'pnpm', args: ['--frozen-lockfile', 'false'] },
78
'package-lock.json': { command: 'npm', args: ['install'] },
89
}
910

0 commit comments

Comments
 (0)