Skip to content

Commit

Permalink
declare pnpm7 as engine (vercel#37303)
Browse files Browse the repository at this point in the history
Ensure to use npm v7, otherwise the lockfile will be messed with previous versions

Related: https://pnpm.io/npmrc#lockfile
  • Loading branch information
Kikobeats authored May 30, 2022
1 parent fafbea8 commit 6ebe0fa
Show file tree
Hide file tree
Showing 3 changed files with 169 additions and 109 deletions.
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ save-exact = true
tag-version-prefix=""
strict-peer-dependencies = false
auto-install-peers = true
lockfile = true
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@
"@babel/traverse": "7.15.0"
},
"engines": {
"node": ">=12.22.0"
"node": ">=12.22.0",
"pnpm": "7"
}
}
Loading

0 comments on commit 6ebe0fa

Please sign in to comment.