This repo contains two scripts 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.
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 && pyenv local 2.7.15 && pyenv exec pip install -r requirements.txt && pyenv local --unset && cd -
- PHP:
cd "$(bundle show dependabot-core)/helpers/php" && composer install && cd -
- Elixir:
cd "$(bundle show dependabot-core)/helpers/elixir" && mix deps.get && cd -
- Java (Gradle):
cd "$(bundle show dependabot-core)/helpers/gradle/buildfile_parser" && gradle jar && mv build/libs/buildfile_parser.jar ../ && cd - && cd "$(bundle show dependabot-core)/helpers/gradle/settings_file_parser" && gradle jar && mv build/libs/settings_file_parser.jar ../ && cd -
- JS (Yarn):
bundle exec irb
- Edit the variables at the top of the script you're using, or set the corresponding environment variables.
- 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!