Jelajahi Sumber

Let lerna ask for OTP

Renée Kooi 5 tahun lalu
induk
melakukan
b501b7fce2
3 mengubah file dengan 325 tambahan dan 366 penghapusan
  1. 0 16
      bin/release
  2. 324 349
      package-lock.json
  3. 1 1
      package.json

+ 0 - 16
bin/release

@@ -35,22 +35,6 @@ if ! npm whoami > /dev/null; then
   exit 1
 fi
 
-if ! which jq; then
-  echo "https://stedolan.github.io/jq/ needs to be installed and available in PATH to do a release."
-  exit 1
-fi
-
-perm="$(npm profile get --json | jq .tfa.mode? -r)"
-if [ "$perm" == "auth-and-writes" ]; then
-  echo "Two-factor auth is enabled for publishing. This doesn't work well with lerna."
-  echo "Temporarily switch to authentication-only 2FA using the link below:"
-  echo ""
-  echo "https://www.npmjs.com/settings/$(npm whoami)/tfa"
-  echo ""
-  echo "You can re-enable 2FA for publishing using the same link after this release is complete."
-  exit 1
-fi
-
 set -o xtrace
 
 # Update README before publishing `uppy`

File diff ditekan karena terlalu besar
+ 324 - 349
package-lock.json


+ 1 - 1
package.json

@@ -145,7 +145,7 @@
     "jest": "^24.9.0",
     "json3": "^3.3.2",
     "last-commit-message": "^1.0.0",
-    "lerna": "^3.14.1",
+    "lerna": "^3.17.0",
     "lint-staged": "^9.4.1",
     "mime-types": "2.1.24",
     "minify-stream": "^1.2.0",

Beberapa file tidak ditampilkan karena terlalu banyak file yang berubah dalam diff ini