Skip to content

Commit 147bfa2

Browse files
committed
install frameworks using --ignore-scripts
1 parent edb3897 commit 147bfa2

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

cli/rebuild-all-frameworks.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ function buildFramework(framework, useCi) {
8686

8787
deleteFrameworkFiles(frameworkPath, filesToDelete);
8888

89-
const installCmd = `npm ${useCi ? "ci" : "install"}`;
89+
const installCmd = `npm ${useCi ? "ci" : "install"} --ignore-scripts`;
9090
runCommand(installCmd, frameworkPath);
9191

9292
const buildCmd = "npm run build-prod";

cli/rebuild-build-single.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ export function rebuildFramework(framework, useCi) {
6464

6565
deleteFrameworkFiles(frameworkPath, filesToDelete);
6666

67-
const installCmd = `npm ${useCi ? "ci" : "install"}`;
67+
const installCmd = `npm ${useCi ? "ci" : "install"} --ignore-scripts`;
6868
runCommand(installCmd, frameworkPath);
6969
const buildCmd = "npm run build-prod";
7070
runCommand(buildCmd, frameworkPath);

cli/update-lockfiles.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import { getFrameworks } from "./helpers/frameworks.js";
1414
/** @param {string} frameworkPath */
1515
function runNpmInstall(frameworkPath) {
1616
try {
17-
execSync("npm install --package-lock-only", {
17+
execSync("npm install --package-lock-only --ignore-scripts", {
1818
cwd: frameworkPath,
1919
stdio: "inherit",
2020
});

0 commit comments

Comments
 (0)