ptrpovtyu / dependabot-script

A simple script that demonstrates how to use Dependabot Core

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dependabot Update Script

This repo contains a script that demonstrates Dependabot Core. It is intended to give you a feel for how Dependabot Core works so that you can use it in your own project.

If you're looking for a hosted, feature-rich dependency updater then you probably want Dependabot itself.

Usage

  • bundle install
  • Optional step for some langauges:
    • JS (Yarn): cd "$(bundle show dependabot-core)/helpers/yarn" && yarn install && cd -
    • JS (npm): cd "$(bundle show dependabot-core)/helpers/npm" && yarn install && cd -
    • Python: cd "$(bundle show dependabot-core)/helpers/python" && pyenv exec pip install -r requirements.txt && cd -
    • PHP: cd "$(bundle show dependabot-core)/helpers/php" && composer install && cd -
    • Elixir: cd "$(bundle show dependabot-core)/helpers/elixir" && mix deps.get && cd -
  • bundle exec irb
  • Copy and paste the script into the Ruby session to see how Dependabot works

If you run into any trouble with the above please create an issue!

About

A simple script that demonstrates how to use Dependabot Core


Languages

Language:Ruby 100.0%