Skip to content

Commit

Permalink
Add update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
richrace committed Apr 24, 2024
1 parent 90e7ad9 commit 77c7588
Show file tree
Hide file tree
Showing 3 changed files with 6,712 additions and 3,199 deletions.
24 changes: 24 additions & 0 deletions .ncurc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
const pinned = ['eslint'];
const ignored = [];
const skipped = [];

module.exports = {
target: (pkg) => {
if (pinned.some((pin) => pin === pkg)) {
const res = 'minor';
console.log(` ${pkg} is pinned to ${res} upgrades only (.ncurc.js)`);
return res;
}
return 'latest';
},

filterResults: (pkg, { upgradedVersion }) => {
if (ignored.some((ignore) => ignore.pkg === pkg)) {
return false;
}
if (skipped.some((skip) => skip.pkg === pkg && skip.version === upgradedVersion)) {
return false;
}
return true;
},
};
Loading

0 comments on commit 77c7588

Please sign in to comment.