Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 7 additions & 19 deletions pr-review/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pr-review/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"eslint": "9.39.2",
"eslint-plugin-import": "2.32.0",
"eslint-plugin-sonarjs": "3.0.6",
"eslint-plugin-unicorn": "62.0.0",
"eslint-plugin-unicorn": "63.0.0",

Choose a reason for hiding this comment

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

I see you’ve bumped eslint-plugin-unicorn from 62.0.0 to 63.0.0 here. Since this upgrade appears in multiple packages, consider centralizing shared devDependencies in your monorepo’s root package.json to avoid duplication and ensure consistency:

// root package.json
{
  "devDependencies": {
    "eslint": "9.39.2",
    "eslint-plugin-import": "2.32.0",
    "eslint-plugin-sonarjs": "3.0.6",
    "eslint-plugin-unicorn": "^63.0.0",
    "prettier": "3.8.1",
    "tsx": "4.21.0",
    "typescript": "5.9.3"
  }
}

Then you can remove these entries from individual packages (pr-review in this case). Additionally, switching to a caret (^63.0.0) allows automatic patch updates without manual bumps:

- "eslint-plugin-unicorn": "63.0.0",
+ "eslint-plugin-unicorn": "^63.0.0",

This reduces maintenance overhead and keeps all packages in sync.

"prettier": "3.8.1",
"tsx": "4.21.0",
"typescript": "5.9.3",
Expand Down
25 changes: 7 additions & 18 deletions pr-summary/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pr-summary/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"eslint": "9.39.2",
"eslint-plugin-import": "2.32.0",
"eslint-plugin-sonarjs": "3.0.6",
"eslint-plugin-unicorn": "62.0.0",
"eslint-plugin-unicorn": "63.0.0",

Choose a reason for hiding this comment

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

This dependency bump is identical to the one in pr-review/package.json. To improve maintainability, extract common devDependencies into your root package.json so you only update in one place. For instance:

// root package.json
{
  "devDependencies": {
    "eslint-plugin-unicorn": "^63.0.0",
    // other shared devDependencies...
  }
}

Then remove it here. Also, using the caret range (^63.0.0) helps automatically pick up future patch releases:

- "eslint-plugin-unicorn": "63.0.0",
+ "eslint-plugin-unicorn": "^63.0.0",

"prettier": "3.8.1",
"tsx": "4.21.0",
"typescript": "5.9.3",
Expand Down