Compare commits

...

6 Commits

Author SHA1 Message Date
7a66f97700 2.0.1 2022-08-07 19:27:43 +02:00
9905785ef3 fix(core): update 2022-08-07 19:27:42 +02:00
63f515b801 2.0.0 2022-08-07 19:07:15 +02:00
c85c8d64fd BREAKING CHANGE(core): switch to esm 2022-08-07 19:07:15 +02:00
7189d465db 1.0.32 2022-08-07 19:07:02 +02:00
9350df0565 fix(core): update 2022-08-07 19:07:01 +02:00
6 changed files with 1811 additions and 2613 deletions

View File

@ -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

View File

@ -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

File diff suppressed because it is too large Load Diff

View File

@ -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": [

View File

@ -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);
});

View File

@ -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'
}