From 2e4a4db06c93b5fb8edd24b7ba0c97395cb2243a Mon Sep 17 00:00:00 2001 From: Drew Short Date: Sun, 26 Aug 2018 12:41:52 -0500 Subject: [PATCH] Add reference to yarn issue requiring the find + sed + awk patch --- administration_client/create_config_files.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/administration_client/create_config_files.sh b/administration_client/create_config_files.sh index 1a97217..b7ad54f 100755 --- a/administration_client/create_config_files.sh +++ b/administration_client/create_config_files.sh @@ -8,6 +8,6 @@ else echo "registry \"$NPM_CONFIG_REGISTRY\"" echo "registry \"$NPM_CONFIG_REGISTRY\"" >> .npmrc 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" {} \; fi \ No newline at end of file