Refactor/Fix release script (#13619)

This commit is contained in:
fisker Cheung authored and GitHub committed 2022-10-14 17:17:47 +08:00
1 parent 8df3b5ee60
commit 76d0890142
23 files changed
+289 -202

No files matched your search

@@ -1,7 +1,7 @@
import { execa } from "execa";
import { runYarn, runGit, logPromise } from "../utils.js";
import { runYarn, runGit } from "../utils.js";
async function install() {
export default async function installDependencies() {
await execa("rm", ["-rf", "node_modules"]);
await runYarn(["install"]);
@@ -15,7 +15,3 @@ async function install() {
);
}
}
export default function installDependencies() {
return logPromise("Installing NPM dependencies", install());
}