Skip to content

Commit

Permalink
ci: add localhost to unsafeHttpWhitelist in Yarn config
Browse files Browse the repository at this point in the history
  • Loading branch information
szymonrybczak committed Jan 23, 2024
1 parent 1377330 commit 82670fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/template/initialize.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ async function install() {
process.stdout.write('Published every package \u2705\n');

execSync(
`node cli.js init ${templateName} --directory ${directory} --template ${templateConfigPath} --verbose --skip-install --yarn-config-options npmRegistryServer="${NPM_REGISTRY_SERVER}"`,
`node cli.js init ${templateName} --directory ${directory} --template ${templateConfigPath} --verbose --skip-install --yarn-config-options npmRegistryServer="${NPM_REGISTRY_SERVER}",unsafeHttpWhitelist="--json '[\"localhost\"]'"`,
{
cwd: `${reactNativeRootPath}/packages/react-native`,
stdio: [process.stdin, process.stdout, process.stderr],
Expand Down

0 comments on commit 82670fb

Please sign in to comment.