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:
renovate[bot]
2022-12-01 07:20:55 +00:00
committed by GitHub
parent 19351d766d
commit f4bf425148
13 changed files with 71 additions and 70 deletions

View File

@@ -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);
}

View File

@@ -51,7 +51,7 @@ const HAKSCRIPTS = [
'build',
];
async function main() {
async function main(): Promise<void> {
const prefix = await findNpmPrefix(process.cwd());
let packageJson;
try {