|
@ -8,6 +8,6 @@ else |
|
|
echo "registry \"$NPM_CONFIG_REGISTRY\"" |
|
|
echo "registry \"$NPM_CONFIG_REGISTRY\"" |
|
|
echo "registry \"$NPM_CONFIG_REGISTRY\"" >> .npmrc |
|
|
echo "registry \"$NPM_CONFIG_REGISTRY\"" >> .npmrc |
|
|
echo "registry \"$NPM_CONFIG_REGISTRY\"" >> .yarnrc |
|
|
echo "registry \"$NPM_CONFIG_REGISTRY\"" >> .yarnrc |
|
|
echo "Replacing static yarn registry references in yarn.lock..." |
|
|
|
|
|
|
|
|
echo "Replacing static yarn registry references in yarn.lock... BUGFIX... revisit with yarn 2+... https://github.com/yarnpkg/yarn/issues/3330" |
|
|
find . -name yarn.lock -exec sed -i "s#https://registry.yarnpkg.com#`awk '$1 == "registry" { gsub(/"/,""); print $NF}' .yarnrc`#g" {} \; |
|
|
find . -name yarn.lock -exec sed -i "s#https://registry.yarnpkg.com#`awk '$1 == "registry" { gsub(/"/,""); print $NF}' .yarnrc`#g" {} \; |
|
|
fi |
|
|
fi |