Refactor/Fix release script (#13619)
This commit is contained in:
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());
|
||||
}
|
||||
Reference in new issue
Block a user