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 - release
- metadata - metadata
before_script:
- npm install -g @shipzone/npmci
# ==================== # ====================
# security stage # security stage
# ==================== # ====================
mirror:
stage: security
script:
- npmci git mirror
only:
- tags
tags:
- lossless
- docker
- notpriv
auditProductionDependencies: auditProductionDependencies:
image: registry.gitlab.com/hosttoday/ht-docker-node:npmci image: registry.gitlab.com/hosttoday/ht-docker-node:npmci
stage: security stage: security
@ -36,6 +28,7 @@ auditProductionDependencies:
- npmci command npm audit --audit-level=high --only=prod --production - npmci command npm audit --audit-level=high --only=prod --production
tags: tags:
- docker - docker
allow_failure: true
auditDevDependencies: auditDevDependencies:
image: registry.gitlab.com/hosttoday/ht-docker-node:npmci image: registry.gitlab.com/hosttoday/ht-docker-node:npmci
@ -96,10 +89,9 @@ codequality:
only: only:
- tags - tags
script: script:
- npmci command npm install -g tslint typescript - npmci command npm install -g typescript
- npmci npm prepare - npmci npm prepare
- npmci npm install - npmci npm install
- npmci command "tslint -c tslint.json ./ts/**/*.ts"
tags: tags:
- lossless - lossless
- docker - docker
@ -119,11 +111,10 @@ trigger:
pages: pages:
stage: metadata stage: metadata
script: script:
- npmci node install lts - npmci node install stable
- npmci command npm install -g @gitzone/tsdoc
- npmci npm prepare - npmci npm prepare
- npmci npm install - npmci npm install
- npmci command tsdoc - npmci command npm run buildDocs
tags: tags:
- lossless - lossless
- docker - docker

View File

@ -5,7 +5,7 @@
"githost": "gitlab.com", "githost": "gitlab.com",
"gitscope": "mojoio", "gitscope": "mojoio",
"gitrepo": "mailgun", "gitrepo": "mailgun",
"shortDescription": "an api abstraction package for mailgun", "description": "an api abstraction package for mailgun",
"npmPackagename": "@mojoio/mailgun", "npmPackagename": "@mojoio/mailgun",
"license": "MIT", "license": "MIT",
"projectDomain": "mojo.io" "projectDomain": "mojo.io"

4348
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
{ {
"name": "@mojoio/mailgun", "name": "@mojoio/mailgun",
"version": "1.0.31", "version": "2.0.1",
"private": false, "private": false,
"description": "an api abstraction package for mailgun", "description": "an api abstraction package for mailgun",
"main": "dist_ts/index.js", "main": "dist_ts/index.js",
@ -10,8 +10,9 @@
"license": "MIT", "license": "MIT",
"scripts": { "scripts": {
"test": "(tstest test/)", "test": "(tstest test/)",
"build": "(tsbuild --web)", "build": "(tsbuild --web --allowimplicitany)",
"format": "(gitzone format)" "format": "(gitzone format)",
"buildDocs": "tsdoc"
}, },
"devDependencies": { "devDependencies": {
"@gitzone/tsbuild": "^2.1.65", "@gitzone/tsbuild": "^2.1.65",
@ -22,9 +23,9 @@
}, },
"dependencies": { "dependencies": {
"@pushrocks/smartfile": "^10.0.4", "@pushrocks/smartfile": "^10.0.4",
"@pushrocks/smartmail": "^1.0.18", "@pushrocks/smartmail": "^1.0.22",
"@pushrocks/smartrequest": "^2.0.10", "@pushrocks/smartrequest": "^2.0.10",
"@pushrocks/smartsmtp": "^2.0.0", "@pushrocks/smartsmtp": "^3.0.3",
"@pushrocks/smartstring": "^4.0.2" "@pushrocks/smartstring": "^4.0.2"
}, },
"files": [ "files": [

View File

@ -13,9 +13,11 @@ let testSmartmail: smartmail.Smartmail<IMailgunMessage>;
tap.test('should create a mailgun account', async () => { tap.test('should create a mailgun account', async () => {
testMailgunAccount = new mailgun.MailgunAccount({ testMailgunAccount = new mailgun.MailgunAccount({
apiToken: testQenv.getEnvVarOnDemand('MAILGUN_API_TOKEN'), 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); expect(testMailgunAccount).toBeInstanceOf(mailgun.MailgunAccount);
}); });

View File

@ -3,6 +3,6 @@
*/ */
export const commitinfo = { export const commitinfo = {
name: '@mojoio/mailgun', name: '@mojoio/mailgun',
version: '1.0.31', version: '2.0.1',
description: 'an api abstraction package for mailgun' description: 'an api abstraction package for mailgun'
} }