Attributes
Includes Deno configuration
Repository
Current version released
9 months ago
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 requestallowBreaking
: allow breaking updates (major releases)allowUnstable
: allow unstable updates (prereleases)
GitHub Workflow
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
-
npm imports are treated slightly different. If you want to pin a dependency, you must specify an exact version, e.g.
npm:example@1.0.0
, and if you want to make a dependency updatable, you must add a preceding^
, e.g.npm:example@^1.0.0
. jsr (coming soon)