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
28 changes: 14 additions & 14 deletions pr-review/package-lock.json

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

6 changes: 3 additions & 3 deletions pr-review/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@
"mollitia": "0.2.0",
"octokit": "5.0.3",
"parse-diff": "0.11.1",
Comment on lines 27 to 29

Choose a reason for hiding this comment

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

To improve readability and ease future maintenance, sort the dependencies keys alphabetically. For example:

"dependencies": {
  "mollitia": "0.2.0",
  "octokit": "5.0.3",
  "parse-diff": "0.11.1",
  "zod": "^4.0.10"
}

"zod": "4.0.5"
"zod": "4.0.10"

Choose a reason for hiding this comment

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

Use a caret range for the zod dependency to automatically receive backward-compatible patch updates instead of locking to an exact version. For example:

"zod": "^4.0.10"

},
"devDependencies": {
"@eslint/js": "9.31.0",
"@eslint/js": "9.32.0",

Choose a reason for hiding this comment

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

Apply the same caret-range strategy to your ESLint packages so you can pick up non-breaking fixes without manual bumps:

"@eslint/js": "^9.32.0"

"@types/node": "22.16.5",
"@vercel/ncc": "0.38.3",
"eslint": "9.31.0",
"eslint": "9.32.0",

Choose a reason for hiding this comment

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

Consistently use caret ranges for eslint as well. This will bring in minor and patch updates automatically:

"eslint": "^9.32.0"

"eslint-plugin-import": "2.32.0",
"eslint-plugin-sonarjs": "3.0.4",
"eslint-plugin-unicorn": "60.0.0",
Expand Down
28 changes: 14 additions & 14 deletions pr-summary/package-lock.json

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

6 changes: 3 additions & 3 deletions pr-summary/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@
"mollitia": "0.2.0",
"octokit": "5.0.3",
"parse-diff": "0.11.1",
Comment on lines 26 to 28

Choose a reason for hiding this comment

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

As with the other package, alphabetizing dependencies improves clarity across the repo. Example:

"dependencies": {
  "mollitia": "0.2.0",
  "octokit": "5.0.3",
  "parse-diff": "0.11.1",
  "zod": "^4.0.10"
}

"zod": "4.0.5"
"zod": "4.0.10"

Choose a reason for hiding this comment

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

Locking to an exact zod version forces manual updates for every patch. Switching to a caret range ensures you get compatible fixes automatically:

"zod": "^4.0.10"

},
"devDependencies": {
"@eslint/js": "9.31.0",
"@eslint/js": "9.32.0",

Choose a reason for hiding this comment

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

Use caret ranges for ESLint packages here too, so patch releases and minor updates flow in without manual bumps:

"@eslint/js": "^9.32.0"

"@types/node": "22.16.5",
"@vercel/ncc": "0.38.3",
"eslint": "9.31.0",
"eslint": "9.32.0",

Choose a reason for hiding this comment

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

Align with the rest of your devDependencies by using a caret range for eslint. This will reduce future version pinning work:

"eslint": "^9.32.0"

"eslint-plugin-import": "2.32.0",
"eslint-plugin-sonarjs": "3.0.4",
"eslint-plugin-unicorn": "60.0.0",
Expand Down