Compare commits
6 Commits
Author | SHA1 | Date | |
---|---|---|---|
7a66f97700 | |||
9905785ef3 | |||
63f515b801 | |||
c85c8d64fd | |||
7189d465db | |||
9350df0565 |
@ -12,20 +12,12 @@ stages:
|
||||
- release
|
||||
- metadata
|
||||
|
||||
before_script:
|
||||
- npm install -g @shipzone/npmci
|
||||
|
||||
# ====================
|
||||
# security stage
|
||||
# ====================
|
||||
mirror:
|
||||
stage: security
|
||||
script:
|
||||
- npmci git mirror
|
||||
only:
|
||||
- tags
|
||||
tags:
|
||||
- lossless
|
||||
- docker
|
||||
- notpriv
|
||||
|
||||
auditProductionDependencies:
|
||||
image: registry.gitlab.com/hosttoday/ht-docker-node:npmci
|
||||
stage: security
|
||||
@ -36,6 +28,7 @@ auditProductionDependencies:
|
||||
- npmci command npm audit --audit-level=high --only=prod --production
|
||||
tags:
|
||||
- docker
|
||||
allow_failure: true
|
||||
|
||||
auditDevDependencies:
|
||||
image: registry.gitlab.com/hosttoday/ht-docker-node:npmci
|
||||
@ -96,10 +89,9 @@ codequality:
|
||||
only:
|
||||
- tags
|
||||
script:
|
||||
- npmci command npm install -g tslint typescript
|
||||
- npmci command npm install -g typescript
|
||||
- npmci npm prepare
|
||||
- npmci npm install
|
||||
- npmci command "tslint -c tslint.json ./ts/**/*.ts"
|
||||
tags:
|
||||
- lossless
|
||||
- docker
|
||||
@ -119,11 +111,10 @@ trigger:
|
||||
pages:
|
||||
stage: metadata
|
||||
script:
|
||||
- npmci node install lts
|
||||
- npmci command npm install -g @gitzone/tsdoc
|
||||
- npmci node install stable
|
||||
- npmci npm prepare
|
||||
- npmci npm install
|
||||
- npmci command tsdoc
|
||||
- npmci command npm run buildDocs
|
||||
tags:
|
||||
- lossless
|
||||
- docker
|
||||
|
@ -5,7 +5,7 @@
|
||||
"githost": "gitlab.com",
|
||||
"gitscope": "mojoio",
|
||||
"gitrepo": "mailgun",
|
||||
"shortDescription": "an api abstraction package for mailgun",
|
||||
"description": "an api abstraction package for mailgun",
|
||||
"npmPackagename": "@mojoio/mailgun",
|
||||
"license": "MIT",
|
||||
"projectDomain": "mojo.io"
|
||||
|
4380
package-lock.json
generated
4380
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
11
package.json
11
package.json
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@mojoio/mailgun",
|
||||
"version": "1.0.31",
|
||||
"version": "2.0.1",
|
||||
"private": false,
|
||||
"description": "an api abstraction package for mailgun",
|
||||
"main": "dist_ts/index.js",
|
||||
@ -10,8 +10,9 @@
|
||||
"license": "MIT",
|
||||
"scripts": {
|
||||
"test": "(tstest test/)",
|
||||
"build": "(tsbuild --web)",
|
||||
"format": "(gitzone format)"
|
||||
"build": "(tsbuild --web --allowimplicitany)",
|
||||
"format": "(gitzone format)",
|
||||
"buildDocs": "tsdoc"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@gitzone/tsbuild": "^2.1.65",
|
||||
@ -22,9 +23,9 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@pushrocks/smartfile": "^10.0.4",
|
||||
"@pushrocks/smartmail": "^1.0.18",
|
||||
"@pushrocks/smartmail": "^1.0.22",
|
||||
"@pushrocks/smartrequest": "^2.0.10",
|
||||
"@pushrocks/smartsmtp": "^2.0.0",
|
||||
"@pushrocks/smartsmtp": "^3.0.3",
|
||||
"@pushrocks/smartstring": "^4.0.2"
|
||||
},
|
||||
"files": [
|
||||
|
@ -13,9 +13,11 @@ let testSmartmail: smartmail.Smartmail<IMailgunMessage>;
|
||||
tap.test('should create a mailgun account', async () => {
|
||||
testMailgunAccount = new mailgun.MailgunAccount({
|
||||
apiToken: testQenv.getEnvVarOnDemand('MAILGUN_API_TOKEN'),
|
||||
region: 'eu'
|
||||
region: 'eu',
|
||||
});
|
||||
await testMailgunAccount.addSmtpCredentials(testQenv.getEnvVarOnDemand('MAILGUN_SMTP_CREDENTIALS'));
|
||||
await testMailgunAccount.addSmtpCredentials(
|
||||
testQenv.getEnvVarOnDemand('MAILGUN_SMTP_CREDENTIALS')
|
||||
);
|
||||
expect(testMailgunAccount).toBeInstanceOf(mailgun.MailgunAccount);
|
||||
});
|
||||
|
||||
|
@ -3,6 +3,6 @@
|
||||
*/
|
||||
export const commitinfo = {
|
||||
name: '@mojoio/mailgun',
|
||||
version: '1.0.31',
|
||||
version: '2.0.1',
|
||||
description: 'an api abstraction package for mailgun'
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user