Skip to content

Conversation

@xenoterracide
Copy link
Owner

No description provided.

Copilot AI review requested due to automatic review settings September 27, 2025 13:29
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR updates the project to use Yarn as the package manager instead of npm, updates copyright years to include 2025, and modernizes various dependency versions. The changes also include configuration file format conversions and cleanup of package management scripts.

  • Switched from npm to Yarn for package management and git hooks
  • Updated copyright years from 2024 to 2024-2025 across git hooks
  • Updated dependency versions and converted Prettier configuration from YAML to JavaScript

Reviewed Changes

Copilot reviewed 9 out of 12 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
package.json Added Yarn package manager specification, updated dependencies, removed publish-related scripts
gradle/wrapper/gradle-wrapper.jar.license Removed license file for Gradle wrapper
REUSE.toml Added license annotation for Gradle wrapper jar file
.prettierrc.yml Removed YAML Prettier configuration file
.prettierrc.js Added JavaScript Prettier configuration with proper module exports
.lintstagedrc.yml Updated lint-staged configuration with new patterns and simplified reuse commands
.github/workflows/pre-commit.yml Updated CI workflow to use Yarn instead of npm
.config/git/hooks/pre-commit Updated copyright year and switched from npx to yarn
.config/git/hooks/commit-msg Updated copyright year and switched from npx to yarn

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

},
"peerDependencies": {
"husky": "^9.1.6"
"husky": "^9"
Copy link

Copilot AI Sep 27, 2025

Choose a reason for hiding this comment

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

The husky peer dependency uses a loose version range (^9) which could allow breaking changes within major version 9. Consider using a more specific range like '^9.1.0' to avoid potential compatibility issues with newer minor versions.

Suggested change
"husky": "^9"
"husky": "^9.1.0"

Copilot uses AI. Check for mistakes.
- run: npm ci
- run: npx prettier --ignore-unknown --check '**'
cache: "yarn"
- run: corepack enable
Copy link

Copilot AI Sep 27, 2025

Choose a reason for hiding this comment

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

Missing yarn install step before running yarn prettier. The workflow needs to install dependencies first or the prettier command will fail.

Suggested change
- run: corepack enable
- run: corepack enable
- run: yarn install

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants