We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e3a093 commit 9f0f794Copy full SHA for 9f0f794
scripts/verdaccio-build-icon-builder.sh
@@ -40,6 +40,7 @@ mkdir icon-test
40
41
npm cache clean --force
42
cp ../../packages/@react-spectrum/s2/s2wf-icons/S2_Icon_3D_20_N.svg icon-test/S2_Icon_3D_20_N.svg
43
+echo "Available versions of @react-spectrum/s2-icon-builder:" && curl -s "$registry/@react-spectrum/s2-icon-builder" | jq -r '.versions | keys[]' 2>/dev/null || curl -s "$registry/@react-spectrum/s2-icon-builder" | grep -o '"version":"[^"]*"' | sed 's/"version":"//g' | sed 's/"//g' | sort -V
44
npm_config_registry=$registry npx @react-spectrum/s2-icon-builder@latest -i ./icon-test/S2_Icon_3D_20_N.svg -o ./icon-dist
45
cp ../../packages/@react-spectrum/s2/spectrum-illustrations/linear/S2_lin_3D_48.svg icon-test/S2_lin_3D_48.svg
46
npm_config_registry=$registry npx @react-spectrum/s2-icon-builder@latest --type illustration -i ./icon-test/S2_lin_3D_48.svg -o ./icon-dist
0 commit comments