Skip to content

Keep the dependencies of your Deno project up-to-date.

License

Notifications You must be signed in to change notification settings

boywithkeyboard/updater

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

90 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

boywithkeyboard's updater

Usage

CLI

The entry point can be either a directory or file. You can also specify multiple files and/or directories.

deno run -Ar https://den.ooo/gh/boywithkeyboard/updater@v0.15.0/mod.ts ./deno.json

Options:

  • --breaking / -b : allow breaking updates (major releases)
  • --unstable / -u : allow unstable updates (prereleases)
  • --changelog / -c : create changelog (updates_changelog.md)
  • --dry-run / --readonly : don't apply updates

GitHub Action

Options:

  • commitMessage : commit message/title for the pull request
  • allowBreaking : allow breaking updates (major releases)
  • allowUnstable : allow unstable updates (prereleases)

View example

GitHub Workflow

View example

Stages

⚠️ breaking

"This update might break your code."

🚧 unstable

"This is a prerelease and might therefore come with unwanted issues."

🤞 early

"This module doesn't strictly adhere to semver yet, so this version might break your code."

Advanced Usage

  • Pin a dependency

    To ignore a particular import, you can append #pin to the url.

    import * as semver from 'https://deno.land/std@0.200.0/semver/mod.ts#pin'
  • Specify a version range

    To override the default behavior, you can append a SemVer range to the url.

    import cheetah from 'https://deno.land/x/cheetah@v1.5.2/mod.ts#~v1.5'

Supported Registries