Skip to content
forked from siketyan/loxcan

๐Ÿ” Universal Lock File Scanner for Git. (Lock + Scan = LoXcan!)

License

Notifications You must be signed in to change notification settings

luco-inc/loxcan

ย 
ย 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

loxcan

Latest Stable Version Total Downloads License Codecov PHP Action

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.

Load diff screen

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.

Report of the changed packages

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@master

๐Ÿ“ฆ 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

About

๐Ÿ” Universal Lock File Scanner for Git. (Lock + Scan = LoXcan!)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 99.4%
  • Other 0.6%