File tree 1 file changed +20
-0
lines changed
1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -101,6 +101,26 @@ git tag 'vXX'
101
101
git push upstream && git push upstream --tags
102
102
```
103
103
104
+ ### Authenticating
105
+
106
+ ** This can ONLY be done by a Google employee.**
107
+
108
+ Log in to [ NPM] ( https://npmjs.com/ ) to the ` angular ` account in order to
109
+ publish. This account is protected by two factor authentication (2FA).
110
+
111
+ Run ` npm login ` :
112
+
113
+ 1 . For username, use ` angular ` .
114
+ 1 . For password, use the value stored [ here] ( http://go/ng-npm-pass ) .
115
+ 1 . For email, use ` devops+npm@angular.io ` .
116
+ 1 . For two-factor code, you'll need to set up the account.
117
+ * Use an authenticator app such as [ Google Authenticator] ( https://play.google.com/store/apps/details?id=com.google.android.apps.authenticator2 ) .
118
+ * Add a new account and enter the text key from [ here] ( http://go/ng-npm-2fa ) .
119
+ * The app will start showing two-factor codes, enter one into the
120
+ ` npm login ` prompt.
121
+
122
+ Once sucessfully logged in, it is time to publish.
123
+
104
124
### Publishing
105
125
106
126
** This can ONLY be done by a Google employee.**
You can’t perform that action at this time.
0 commit comments