-
Notifications
You must be signed in to change notification settings - Fork 0
chore: update copyright years and switch from npx to yarn for hooks #257
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Conversation
There was a problem hiding this 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" |
Copilot
AI
Sep 27, 2025
There was a problem hiding this comment.
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.
| "husky": "^9" | |
| "husky": "^9.1.0" |
| - run: npm ci | ||
| - run: npx prettier --ignore-unknown --check '**' | ||
| cache: "yarn" | ||
| - run: corepack enable |
Copilot
AI
Sep 27, 2025
There was a problem hiding this comment.
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.
| - run: corepack enable | |
| - run: corepack enable | |
| - run: yarn install |
No description provided.