Skip to content

Commit f1d7373

Browse files
committed
try another method of forcing the registry
1 parent 02e2266 commit f1d7373

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

scripts/verdaccio-build-icon-builder.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ yarn config set npmAlwaysAuth --home false
2828
yarn config set npmAuthToken --home abc
2929
yarn config set unsafeHttpWhitelist --home localhost
3030
npm set registry $registry
31-
echo "@react-spectrum:registry=$registry" >> ~/.npmrc
3231

3332
# Rename the dist folder from dist/production/docs to verdaccio_dist/COMMIT_HASH_BEFORE_PUBLISH/verdaccio/docs
3433
# This is so we can have verdaccio build in a separate stream from deploy and deploy_prod
@@ -41,9 +40,9 @@ mkdir icon-test
4140

4241
npm cache clean --force
4342
cp ../../packages/@react-spectrum/s2/s2wf-icons/S2_Icon_3D_20_N.svg icon-test/S2_Icon_3D_20_N.svg
44-
npx @react-spectrum/s2-icon-builder -i ./icon-test/S2_Icon_3D_20_N.svg -o ./icon-dist
43+
npm_config_registry=$registry npx @react-spectrum/s2-icon-builder -i ./icon-test/S2_Icon_3D_20_N.svg -o ./icon-dist
4544
cp ../../packages/@react-spectrum/s2/spectrum-illustrations/linear/S2_lin_3D_48.svg icon-test/S2_lin_3D_48.svg
46-
npx @react-spectrum/s2-icon-builder --type illustration -i ./icon-test/S2_lin_3D_48.svg -o ./icon-dist
45+
npm_config_registry=$registry npx @react-spectrum/s2-icon-builder --type illustration -i ./icon-test/S2_lin_3D_48.svg -o ./icon-dist
4746
echo 'concluded icon builder'
4847

4948
echo 'testing icon builder library'

0 commit comments

Comments
 (0)