File tree Expand file tree Collapse file tree 4 files changed +58
-7
lines changed Expand file tree Collapse file tree 4 files changed +58
-7
lines changed Original file line number Diff line number Diff line change 1
1
approvers:
2
- - amitbishtOH
2
+ - developers
3
3
reviewers:
4
- - amitbishtOH
4
+ - developers
Original file line number Diff line number Diff line change 1
1
aliases:
2
- - amitbishtOH
3
- best-approvers:
4
- - amitbishtOH
5
- best-reviewers:
6
- - amitbishtOH
2
+ developers:
3
+ - so-nagender
4
+ - so-ravindra
5
+ - somanwal
6
+ - avik-so
7
+ - mderazon
8
+ - so-abahadur
9
+ - amanpreetSO
10
+ - AmitPandeyScheduleonce
11
+ - ashishsatiSO
12
+ - SO-ashusrivastava
13
+ - bharatsinghoh
14
+ - giladgoraly
15
+ - sohimanshu
16
+ - so-kaushal
17
+ - nalingarg
18
+ - so-sdhawan
19
+ - so-shekhar
20
+ - ShivamKe
21
+ - umeshchaudhary
22
+ - ushankar208
23
+ - vaibhavso
24
+ - vinaykumar01
25
+ - yoramwso
26
+ - piyush-so
27
+ - sumitsharma22
28
+ - yuktiarora
29
+ - aakash-ravi
30
+ - rameshwarverma
31
+ - so-hvats
Original file line number Diff line number Diff line change
1
+ set -e
2
+
3
+ node package-deploy/npm-login.js $( cat " /etc/npm-cred/NPM_AUTH_TOKEN" )
4
+
5
+ npm i
6
+ npm run package
7
+
8
+ filename=" $( npm pack --dry-run | tail -n 1) "
9
+ npm publish $filename --registry=https://registry.npmjs.org/
10
+
11
+ echo " $filename package pushed to myGet successfully"
Original file line number Diff line number Diff line change
1
+ let fs = require ( 'fs' ) ;
2
+ let path = require ( 'path' ) ;
3
+
4
+ let token = '' ;
5
+
6
+ process . argv . forEach ( function ( val , index , array ) {
7
+ if ( index == 2 ) token = val ;
8
+ } ) ;
9
+
10
+ let registry = 'https://registry.npmjs.org/' ;
11
+
12
+ var homePath = process . env . HOME ? process . env . HOME : process . env . USERPROFILE ;
13
+ var configPath = configPath ? configPath : path . join ( homePath , '.npmrc' ) ;
14
+
15
+ fs . writeFile ( configPath , `${ registry } :_authToken=${ token } ` + '\n' , ( ) => { } ) ;
You can’t perform that action at this time.
0 commit comments