@tomei/mailer 0.0.1 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/Jenkinsfile CHANGED
@@ -14,13 +14,17 @@ pipeline {
14
14
  sh 'npm run build'
15
15
  }
16
16
  }
17
- // stage('Publish') {
18
- // steps {
19
- // echo 'Publish..'
20
- // sh "npm set //registry.npmjs.org/:_authToken=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"
21
- // sh "npm publish"
22
- // }
23
- // }
17
+ stage('Publish') {
18
+ steps {
19
+ echo 'Publish..'
20
+ withCredentials([
21
+ usernamePassword(credentialsId: 'npm-auth-token', usernameVariable: 'NPM_USERNAME', passwordVariable: 'AUTH_TOKEN')
22
+ ]) {
23
+ sh "npm set //registry.npmjs.org/:_authToken=$AUTH_TOKEN"
24
+ sh "npm publish"
25
+ }
26
+ }
27
+ }
24
28
  }
25
29
 
26
30
  post {
@@ -39,3 +43,5 @@ pipeline {
39
43
  }
40
44
  }
41
45
  }
46
+
47
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tomei/mailer",
3
- "version": "0.0.1",
3
+ "version": "0.0.2",
4
4
  "description": "Tomei Mailer Package",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -1,2 +1 @@
1
- export * from './mailer'
2
- //
1
+ export * from './mailer'