Compare commits

...

2 Commits

Author SHA1 Message Date
da4f497e88
🚀Bumped version to v0.2.1
All checks were successful
continuous-integration/drone/push Build is passing
2023-02-02 15:57:44 +01:00
68bd293acb
Moved Release management to releaseit 2023-02-02 15:57:02 +01:00
5 changed files with 141 additions and 137 deletions

View File

@ -70,40 +70,6 @@ steps:
- dev - dev
cache: true cache: true
registry: registry.odit.services registry: registry.odit.services
- name: run changelog export
depends_on: ["clone"]
image: registry.odit.services/hub/library/node:19.0.1-alpine3.16
commands:
- npx auto-changelog --commit-limit false -p -u --hide-credit
- name: push new changelog to repo
depends_on: ["run changelog export"]
image: appleboy/drone-git-push
settings:
branch: dev
commit: true
commit_message: 🧾New changelog file version [CI SKIP] [skip ci]
author_email: bot@odit.services
remote: git@git.odit.services:lfk/mailer.git
ssh_key:
from_secret: git_ssh
- name: run full license export
depends_on: ["clone"]
image: registry.odit.services/hub/library/node:19.0.1-alpine3.16
commands:
- yarn
- yarn licenses:export
- name: push new licenses file to repo
depends_on: ["run full license export"]
image: appleboy/drone-git-push
settings:
branch: dev
commit: true
commit_message: 📖New license file version [CI SKIP] [skip ci]
author_email: bot@odit.services
remote: git@git.odit.services:lfk/mailer.git
skip_verify: true
ssh_key:
from_secret: git_ssh
trigger: trigger:
branch: branch:
- dev - dev
@ -142,15 +108,6 @@ steps:
- latest - latest
cache: true cache: true
registry: registry.odit.services registry: registry.odit.services
- name: push merge to repo
depends_on: ["clone"]
image: appleboy/drone-git-push
settings:
branch: dev
commit: false
remote: git@git.odit.services:lfk/mailer.git
ssh_key:
from_secret: git_ssh
trigger: trigger:
branch: branch:
- main - main

1
.gitignore vendored
View File

@ -138,3 +138,4 @@ build
lib lib
/oss-attribution /oss-attribution
*.tmp *.tmp
pnpm-lock.yaml

View File

@ -2,12 +2,22 @@
All notable changes to this project will be documented in this file. Dates are displayed in UTC. All notable changes to this project will be documented in this file. Dates are displayed in UTC.
#### [v0.1.2](https://git.odit.services/lfk/mailer/compare/v0.1.2...v0.1.2) #### [v0.2.1](https://git.odit.services/lfk/mailer/compare/v0.1.2...v0.2.1)
- update runner-welcome mail template [`#15`](https://git.odit.services/lfk/mailer/issues/15) - update runner-welcome mail template [`#15`](https://git.odit.services/lfk/mailer/issues/15)
- Merge pull request 'update runner-welcome mail template' (#17) from dev into main [`07306be`](https://git.odit.services/lfk/mailer/commit/07306be49722877dcce04660e452acedc6f77663) - Moved Release management to releaseit [`68bd293`](https://git.odit.services/lfk/mailer/commit/68bd293acb474fe8f201423ffd442d0ee186a482)
- 🚀Bumped version to v0.2.0 [`84e3778`](https://git.odit.services/lfk/mailer/commit/84e3778b8962834b57ee92ba01a0b02505bbc7e7)
- Merge pull request 'feature/kaniko' (#18) from feature/kaniko into dev [`4ca5f9d`](https://git.odit.services/lfk/mailer/commit/4ca5f9d38dc3300d0bcbf8448283b53b484a827d)
- Fresh licenses 4 yall [`c48a2ed`](https://git.odit.services/lfk/mailer/commit/c48a2ed01e65dc20c562d80099ca7448a8725446)
- Version pinning [`22470d6`](https://git.odit.services/lfk/mailer/commit/22470d6160b450515966e7e38c37c45085f8ceb2)
- Now building w/ kaniko [`f422f98`](https://git.odit.services/lfk/mailer/commit/f422f989c7d5c2fead70e37fc314b734034916f7)
- 📖New license file version [CI SKIP] [skip ci] [`247d4b6`](https://git.odit.services/lfk/mailer/commit/247d4b617678655845b5baf6ae5deba01e953a39) - 📖New license file version [CI SKIP] [skip ci] [`247d4b6`](https://git.odit.services/lfk/mailer/commit/247d4b617678655845b5baf6ae5deba01e953a39)
- Bumped used ci node images [`0692b72`](https://git.odit.services/lfk/mailer/commit/0692b72955974c2fdee6441d4e7838d41dde8ed6)
- 🧾New changelog file version [CI SKIP] [skip ci] [`00bb40d`](https://git.odit.services/lfk/mailer/commit/00bb40ddf999245d9fa0b005f000e670f4daf60c) - 🧾New changelog file version [CI SKIP] [skip ci] [`00bb40d`](https://git.odit.services/lfk/mailer/commit/00bb40ddf999245d9fa0b005f000e670f4daf60c)
- Bumped docker node [`af173dc`](https://git.odit.services/lfk/mailer/commit/af173dcec822f12d8233b717304ad82b7fac14db)
- 🧾New changelog file version [CI SKIP] [skip ci] [`e155454`](https://git.odit.services/lfk/mailer/commit/e155454013aa32e31db6afe5d6cb476c21d38aba)
- Shut up pnpm warnings [`acb013e`](https://git.odit.services/lfk/mailer/commit/acb013e8ae86f868aced40dbc2a68f8165627145)
- Merge pull request 'update runner-welcome mail template' (#17) from dev into main [`07306be`](https://git.odit.services/lfk/mailer/commit/07306be49722877dcce04660e452acedc6f77663)
- 🧾New changelog file version [CI SKIP] [skip ci] [`e713ef5`](https://git.odit.services/lfk/mailer/commit/e713ef54ef39d4759832ada073cea825b4ef26dc) - 🧾New changelog file version [CI SKIP] [skip ci] [`e713ef5`](https://git.odit.services/lfk/mailer/commit/e713ef54ef39d4759832ada073cea825b4ef26dc)
#### [v0.1.2](https://git.odit.services/lfk/mailer/compare/v0.1.1...v0.1.2) #### [v0.1.2](https://git.odit.services/lfk/mailer/compare/v0.1.1...v0.1.2)

View File

@ -515,6 +515,35 @@ OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
SOFTWARE SOFTWARE
# auto-changelog
**Author**: Pete Cook <pete@cookpete.com> (https://github.com/cookpete)
**Repo**: https://github.com/CookPete/auto-changelog.git
**License**: MIT
**Description**: Command line tool for generating a changelog from git tags and commit history
## License Text
The MIT License
Copyright (c) 2017 Pete Cook https://cookpete.com
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
# axios # axios
**Author**: Matt Zabriskie **Author**: Matt Zabriskie
**Repo**: https://github.com/axios/axios.git **Repo**: https://github.com/axios/axios.git

View File

@ -1,92 +1,99 @@
{ {
"name": "@odit/lfk-mailer", "name": "@odit/lfk-mailer",
"version": "0.2.0", "version": "0.2.1",
"description": "The document mailer for the LfK! runner system. This generates and sends mails (password reset, welcome, ...)", "description": "The document mailer for the LfK! runner system. This generates and sends mails (password reset, welcome, ...)",
"main": "src/app.ts", "main": "src/app.ts",
"scripts": { "scripts": {
"dev": "nodemon src/app.ts", "dev": "nodemon src/app.ts",
"build": "rimraf ./dist && tsc && cp-cli ./src/templates ./dist/templates && cp-cli ./src/locales ./dist/locales", "build": "rimraf ./dist && tsc && cp-cli ./src/templates ./dist/templates && cp-cli ./src/locales ./dist/locales",
"licenses:export": "license-exporter --markdown", "licenses:export": "license-exporter --markdown",
"release": "release-it --only-version", "changelog:export": "auto-changelog --commit-limit false -p -u --hide-credit",
"translations:sort": "node ./scripts/sort_translations.js", "release": "release-it --only-version",
"test": "jest", "translations:sort": "node ./scripts/sort_translations.js",
"test:watch": "jest --watchAll", "test": "jest",
"test:generate_env": "ts-node ./scripts/create_testenv.ts", "test:watch": "jest --watchAll",
"test:ci": "npm run test:generate_env && npm run test:ci:run", "test:generate_env": "ts-node ./scripts/create_testenv.ts",
"test:ci:run": "start-server-and-test dev http://localhost:4010/docs/openapi.json test" "test:ci": "npm run test:generate_env && npm run test:ci:run",
}, "test:ci:run": "start-server-and-test dev http://localhost:4010/docs/openapi.json test"
"repository": { },
"type": "git", "repository": {
"url": "git@git.odit.services:lfk/mailer.git" "type": "git",
}, "url": "git@git.odit.services:lfk/mailer.git"
"keywords": [ },
"odit", "keywords": [
"lfk", "odit",
"mail", "lfk",
"node" "mail",
], "node"
"author": { ],
"name": "ODIT.Services", "author": {
"email": "info@odit.services", "name": "ODIT.Services",
"url": "https://odit.services" "email": "info@odit.services",
}, "url": "https://odit.services"
"contributors": [ },
{ "contributors": [
"name": "Philipp Dormann", {
"email": "philipp@philippdormann.de", "name": "Philipp Dormann",
"url": "https://philippdormann.de" "email": "philipp@philippdormann.de",
}, "url": "https://philippdormann.de"
{ },
"name": "Nicolai Ort", {
"email": "info@nicolai-ort.com", "name": "Nicolai Ort",
"url": "https://nicolai-ort.com" "email": "info@nicolai-ort.com",
} "url": "https://nicolai-ort.com"
], }
"license": "CC-BY-NC-SA-4.0", ],
"dependencies": { "license": "CC-BY-NC-SA-4.0",
"@odit/class-validator-jsonschema": "2.1.1", "dependencies": {
"class-transformer": "0.3.1", "@odit/class-validator-jsonschema": "2.1.1",
"class-validator": "0.13.1", "class-transformer": "0.3.1",
"consola": "2.15.3", "class-validator": "0.13.1",
"cors": "2.8.5", "consola": "2.15.3",
"dotenv": "8.2.0", "cors": "2.8.5",
"express": "4.17.1", "dotenv": "8.2.0",
"handlebars": "4.7.6", "express": "4.17.1",
"i18next": "19.8.7", "handlebars": "4.7.6",
"i18next-fs-backend": "1.0.8", "i18next": "19.8.7",
"nodemailer": "6.5.0", "i18next-fs-backend": "1.0.8",
"reflect-metadata": "0.1.13", "nodemailer": "6.5.0",
"routing-controllers": "0.9.0-alpha.6", "reflect-metadata": "0.1.13",
"routing-controllers-openapi": "2.2.0" "routing-controllers": "0.9.0-alpha.6",
}, "routing-controllers-openapi": "2.2.0"
"devDependencies": { },
"@odit/license-exporter": "0.0.10", "devDependencies": {
"@types/express": "4.17.11", "@odit/license-exporter": "0.0.10",
"@types/jest": "26.0.20", "@types/express": "4.17.11",
"@types/node": "14.14.22", "@types/jest": "26.0.20",
"@types/nodemailer": "6.4.0", "@types/node": "14.14.22",
"axios": "0.21.1", "@types/nodemailer": "6.4.0",
"cp-cli": "2.0.0", "auto-changelog": "^2.4.0",
"jest": "26.6.3", "axios": "0.21.1",
"nodemon": "2.0.7", "cp-cli": "2.0.0",
"release-it": "14.2.2", "jest": "26.6.3",
"rimraf": "3.0.2", "nodemon": "2.0.7",
"start-server-and-test": "1.12.0", "release-it": "14.2.2",
"ts-jest": "26.5.2", "rimraf": "3.0.2",
"ts-node": "9.1.1", "start-server-and-test": "1.12.0",
"typescript": "4.1.3" "ts-jest": "26.5.2",
}, "ts-node": "9.1.1",
"release-it": { "typescript": "4.1.3"
"git": { },
"commit": true, "release-it": {
"requireCleanWorkingDir": false, "git": {
"commitMessage": "🚀Bumped version to v${version}", "commit": true,
"requireBranch": "dev", "requireCleanWorkingDir": false,
"push": false, "commitMessage": "🚀Bumped version to v${version}",
"tag": false "requireBranch": "dev",
}, "push": true,
"npm": { "tag": true,
"publish": false "tagName": "v${version}",
} "tagAnnotation": "v${version}"
} },
} "npm": {
"publish": false
},
"hooks": {
"after:bump": "npm run changelog:export && npm run licenses:export && git add CHANGELOG.md && git add licenses.md"
}
}
}