import { BumperService } from "https://deno.land/x/dmm@v2.1.0/deps.ts";
Used to update version strings as part of the bumper CI process when new Deno, Deno Std, and Drash Land module version are released.
Properties
Methods
private
replaceVersionVariables(files: File[]): File[]Replaces template variables with what values they should have
bumpForPreRelease(files: File[], write?): string[]
Bump all occurances of this module's version for pre-release purposes. This method should bump all files that has this module's version. For example, this should bump eggs.json, README.md, etc.
getLatestVersions(): Promise<{ [key: string]: string; }>
Get the latest versions for this module, deno, and deno std.
getModulesLatestVersion(moduleName: string): Promise<string>
Get the latest version of the module using this class from Deno's CDN. Deno's CDN responses look like the following:
{
"latest":"v1.1.5",
"versions":[
"v1.1.5",
"v1.1.4",
"v1.1.2",
"v1.1.1",
"v1.1.0",
"v1.0.5",
"v1.0.4",
"v1.0.3",
"v1.0.2",
"v1.0.1",
"v1.0.0"
]
}