There was an error while loading. Please reload this page.
1 parent 6513c2d commit bf0b5e2Copy full SHA for bf0b5e2
tasks/publish.sh
@@ -35,5 +35,10 @@ fi
35
cd packages/react-error-overlay/
36
npm run build:prod
37
cd ../..
38
+
39
+# Get 2FA
40
+echo "Please enter npm two-factor auth code: "
41
+read otp
42
43
# Go!
-./node_modules/.bin/lerna publish --independent --npm-client=npm "$@"
44
+NPM_CONFIG_OTP=$otp ./node_modules/.bin/lerna publish --independent --npm-client=npm "$@"
0 commit comments