|
|
@ -0,0 +1,10 @@ |
|
|
|
#!/usr/bin/env bash |
|
|
|
|
|
|
|
if [ -z "$NPM_CONFIG_REGISTRY" ] |
|
|
|
then |
|
|
|
echo "No custom registry defined." |
|
|
|
else |
|
|
|
echo "Creating custom registry configurations." |
|
|
|
echo "registry \"$NPM_CONFIG_REGISTRY\"" >> .npmrc |
|
|
|
echo "registry \"$NPM_CONFIG_REGISTRY\"" >> .yarnrc |
|
|
|
fi |
xxxxxxxxxx