Code Monkey home page Code Monkey logo

dependency-divergence's Introduction

About

This GitHub action will compare the various package managers. It can be used to see how safe swapping between package managers may be or compare performance at a glance between them.

Currently supported package managers for the action are listed in [./.github/workflows/compare.yml].

You can add it to your repository and run it on PRs with a specific label by adding the following GitHub Action:

# ./github/workflows/compare-on-pr-label.yml
name: Run On Label

on:
    pull_request:
        types: [labeled]

jobs:
    compare:
        if: ${{ github.event.label.name == 'compare' }}
        uses: "SocketDev/dependency-divergence/.github/workflows/compare.yml@main"
        with:
            managers: "bun,npm" # omit to use all possible options
            cwd: "." # change to your subdirectory in the repo as desired

This will produce a check that always passes but gives a summary of various information from Package managers.

Contributions

Enhancements and extensions within reason are welcome. Expanding to new languages are also welcome.

Contributors

FAQ

Why are you shipping build artifacts like dist/ in the repo?

This increases stability and improves performance at the cost of needing to manually update things.

Does this scan my source code?

No. It only runs the package managers and view the results of their installation using manifest files. GitHub lacks a simple way to filter what files it needs to read for actions/applications unfortunately. Workarounds require problematic levels of complexity to my knowledge.

dependency-divergence's People

Contributors

bmeck avatar

Stargazers

 avatar

Watchers

Feross Aboukhadijeh avatar John Hiesey avatar Alex avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.