siketyan / loxcan
Universal Lock File Scanner for Git.
Installs: 23
Dependents: 0
Suggesters: 0
Security: 0
Stars: 60
Watchers: 3
Forks: 4
Open Issues: 4
Type:project
Requires
- php: ^8.1
- ext-json: *
- guzzlehttp/guzzle: ^7.7
- jetbrains/phpstorm-attributes: ^1.0
- mschop/pathogen: ^0.7.1
- siketyan/yarn-lock: ^1.1
- symfony/config: ^6.4|^7.0
- symfony/console: ^6.4|^7.0
- symfony/dependency-injection: ^6.4|^7.0
- symfony/process: ^6.4|^7.0
- symfony/yaml: ^6.4|^7.0
- yosymfony/toml: ^1.0
Requires (Dev)
- phpunit/php-code-coverage: ^10.1
- phpunit/phpunit: ^10.5
- psr/cache: ^3
- psr/log: ^3
- quartetcom/static-analysis-kit: ~8.1.19
- dev-main
- v0.10.1
- v0.10.0
- v0.9.1
- v0.9.0
- v0.8.2
- v0.8.1
- v0.8.0
- v0.7.2
- v0.7.1
- v0.7.0
- v0.6.3
- v0.6.2
- v0.6.1
- v0.6.0
- v0.5.3
- v0.5.2
- v0.5.1
- v0.5.0
- v0.4.2
- v0.4.1
- v0.4.0
- v0.3.1
- v0.3.0
- v0.2.1
- v0.2.0
- v0.1.2
- v0.1.1
- v0.1.0
- dev-dependabot/composer/symfony-85309b6628
- dev-dependabot/composer/symfony-d7d6526bad
- dev-dependabot/composer/quartetcom/static-analysis-kit-8.3.4
This package is auto-updated.
Last update: 2024-12-02 22:55:21 UTC
README
Universal Lock File Scanner for Git.
🚀 Motivation
Today, most languages have a package manager, and some language have two. Dependency management is very important and difficult in software development.
In cases of code review, we check entire of the changed codes. However, we often ignore lock files in the review, which controls dependencies of the project or the library.
On GitHub Pull Request, most lock files are hidden by default.
Actually, they are very long and not human-readable.
I tried to notify the diff of the lock files to the author of PR and/or the reviewer(s). Using this action, the added, upgraded, downgraded, and removed packages are reported to the PR, in user-friendly format.
So we can check what packages will be changed by the PR, in the review.
✨ Usage
Via Composer
$ composer require --dev siketyan/loxcan
Then you can use this tool in CLI.
(In some IDEs, you can access to the executable as just loxcan
!)
$ ./vendor/bin/loxcan [base] [head]
In GitHub Actions
Use pull_request
events to trigger the action.
steps: - uses: actions/checkout@v3 with: fetch-depth: 0 - uses: siketyan/loxcan@main
📦 Supported Package Managers
(✅ = Supported, ⬜️ = Scheduled)
- Composer (PHP)
- Cargo (Rust)
- Pub (Dart)
- npm (JavaScript, Node.js)
- pnpm (JavaScript, Node.js)
- Yarn (JavaScript, Node.js)
📋 Supported Reporters
(✅ = Supported, ⬜️ = Scheduled)
- GitHub
- GitLab