Skip to content

feat: detect pnpm version from lockfile#126

Open
benmccann wants to merge 2 commits intopnpm:masterfrom
benmccann:version-from-lockfile
Open

feat: detect pnpm version from lockfile#126
benmccann wants to merge 2 commits intopnpm:masterfrom
benmccann:version-from-lockfile

Conversation

@benmccann
Copy link
Copy Markdown
Contributor

closes #124

Comment on lines +85 to +86
const version = getPnpmVersionFromLockfile(lockfileVersion);
return `${ standalone ? '@pnpm/exe' : 'pnpm' }@${version}`
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what if version will be undefined?

@ssbarnea
Copy link
Copy Markdown

ssbarnea commented Jul 7, 2025

Any chance this can be revived?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Automatically install compatible version of pnpm

3 participants