Update all non-major dependencies (#468)
* Update all non-major dependencies * Iterate PR Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
@@ -29,7 +29,7 @@ const client = new S3Client({
|
||||
},
|
||||
});
|
||||
|
||||
const templateLayout = (content: string) => `
|
||||
const templateLayout = (content: string): string => `
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
@@ -80,7 +80,7 @@ const templateLayout = (content: string) => `
|
||||
*
|
||||
* @return Formatted string.
|
||||
*/
|
||||
function humanFileSize(bytes: number, si = false, dp = 1) {
|
||||
function humanFileSize(bytes: number, si = false, dp = 1): string {
|
||||
const thresh = si ? 1000 : 1024;
|
||||
|
||||
if (Math.abs(bytes) < thresh) {
|
||||
|
||||
@@ -41,7 +41,7 @@ export default class HakEnv {
|
||||
public runtimeVersion: string;
|
||||
public dotHakDir: string;
|
||||
|
||||
constructor(public readonly projectRoot: string, targetId: TargetId | null) {
|
||||
public constructor(public readonly projectRoot: string, targetId: TargetId | null) {
|
||||
if (targetId) {
|
||||
this.target = TARGETS[targetId];
|
||||
} else {
|
||||
@@ -54,7 +54,7 @@ export default class HakEnv {
|
||||
this.dotHakDir = path.join(this.projectRoot, '.hak');
|
||||
}
|
||||
|
||||
public async init() {
|
||||
public async init(): Promise<void> {
|
||||
this.runtime = await getRuntime(this.projectRoot);
|
||||
this.runtimeVersion = await getRuntimeVersion(this.projectRoot);
|
||||
}
|
||||
|
||||
@@ -51,7 +51,7 @@ const HAKSCRIPTS = [
|
||||
'build',
|
||||
];
|
||||
|
||||
async function main() {
|
||||
async function main(): Promise<void> {
|
||||
const prefix = await findNpmPrefix(process.cwd());
|
||||
let packageJson;
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user