Skip to content

Commit

Permalink
fix(npm): only pin NPM related deps
Browse files Browse the repository at this point in the history
  • Loading branch information
tagoro9 committed Feb 27, 2024
1 parent ea02549 commit 52f144e
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
14 changes: 13 additions & 1 deletion npm-app.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
{
"extends": [":npm", ":pinAllExceptPeerDependencies"]
"extends": [":npm"],
"packageRules": [
{
"matchDatasources": ["npm"],
"matchPackagePatterns": ["*"],
"rangeStrategy": "pin"
},
{
"matchDatasources": ["npm"],
"matchDepTypes": ["engines", "peerDependencies"],
"rangeStrategy": "auto"
}
]
}
1 change: 1 addition & 0 deletions npm-lib.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"extends": [":npm", ":pinOnlyDevDependencies"],
"packageRules": [
{
"matchDatasources": ["npm"],
"matchDepTypes": ["engines", "peerDependencies"],
"semanticCommitType": "fix"
}
Expand Down

0 comments on commit 52f144e

Please sign in to comment.