ci(release-it): add release-it to auto-generate changelogs and release to github

This commit is contained in:
Amruth Pillai 2022-03-09 19:15:20 +01:00
parent 6255849822
commit 5d37dcb0ed
No known key found for this signature in database
GPG Key ID: E3C57DF9B80855AD
6 changed files with 1650 additions and 76 deletions

11
.release-it.json Normal file
View File

@ -0,0 +1,11 @@
{
"github": {
"release": true
},
"plugins": {
"@release-it/conventional-changelog": {
"preset": "angular",
"infile": "CHANGELOG.md"
}
}
}

View File

@ -1,19 +0,0 @@
## v3.0.0-beta.1 (2022-03-09)
### New feature:
- **client/landing**: add testimonials section to landing page([`6f02048`](https://github.com/AmruthPillai/Reactive-Resume/commit/6f02048ebd29b2a5b53aa291e0cdd10df93d032f)) (by Amruth Pillai)
- **client**: add language selector, language detector and privacy/tos pages([`a131bb3`](https://github.com/AmruthPillai/Reactive-Resume/commit/a131bb36525bf85eaee5cdb65542289cdfcff36e)) (by Amruth Pillai)
### Bugs fixed:
- **pnpm**: install deps to update pnpm-lock.yaml([`54fd97b`](https://github.com/AmruthPillai/Reactive-Resume/commit/54fd97b5ecce629456a0dd1848981658136bbaa9)) (by Amruth Pillai)
- **mail.service**: use sendgrid api instead of nodemailer for better deliverability([`9df1219`](https://github.com/AmruthPillai/Reactive-Resume/commit/9df12194bf465d2f9c040c642036e05edef8d945)) (by Amruth Pillai)
- **printer.service**: add --disable-dev-shm-usage flag to chromium headless playwright browser([`e96b090`](https://github.com/AmruthPillai/Reactive-Resume/commit/e96b09090485fefc044dfc8e3daa9f52e123d946)) (by Amruth Pillai)
- **playwright**: use playwright docker image due to runtime error([`2696a54`](https://github.com/AmruthPillai/Reactive-Resume/commit/2696a54d176dd8821be97881447e075c05f9e8fb)) (by Amruth Pillai)
- **databasemodule**: make ssl optional, pass ca cert as base64 env([`c738f31`](https://github.com/AmruthPillai/Reactive-Resume/commit/c738f311dabdbe77770bb3c33959ac121d60019e)) (by Amruth Pillai)
- **i18n**: load locales from file system, instead of http-backend([`a4983ac`](https://github.com/AmruthPillai/Reactive-Resume/commit/a4983ac6bc35efee5b10de0768203dec9110b866)) (by Amruth Pillai)
### Performance improves:
- **app**: working docker build stage, with github actions ci to push image([`5104ea6`](https://github.com/AmruthPillai/Reactive-Resume/commit/5104ea6438d5e37d6c591949d6b3861cef4295b7)) (by Amruth Pillai)

View File

@ -17,7 +17,7 @@
"@mui/lab": "^5.0.0-alpha.72",
"@mui/material": "^5.5.0",
"@reduxjs/toolkit": "^1.8.0",
"axios": "^0.26.0",
"axios": "^0.26.1",
"clsx": "^1.1.1",
"dayjs": "^1.10.8",
"downloadjs": "^1.4.7",

View File

@ -1,6 +1,6 @@
{
"name": "reactive-resume",
"version": "3.0.0-beta.1",
"version": "3.0.0-beta.2",
"private": true,
"workspaces": [
"schema",
@ -17,7 +17,7 @@
"lint": "eslint --fix --ext .js,.ts,.tsx .",
"format": "prettier --write \"./**/*.{js,ts,tsx,json}\"",
"dev:schema": "pnpm -F schema dev",
"dev:server": "pnpm -F server start:debugc",
"dev:server": "pnpm -F server start:debug",
"dev:client": "pnpm -F client dev",
"dev": "env-cmd --silent concurrently --kill-others \"pnpm run dev:*\"",
"build:schema": "pnpm -F schema build",
@ -26,15 +26,17 @@
"build": "env-cmd --silent concurrently \"pnpm run build:*\"",
"start:server": "pnpm -F server start:prod",
"start:client": "pnpm -F client start",
"start": "env-cmd --silent concurrently --kill-others \"pnpm run start:*\""
"start": "env-cmd --silent concurrently --kill-others \"pnpm run start:*\"",
"release": "release-it"
},
"dependencies": {
"concurrently": "^7.0.0",
"env-cmd": "^10.1.0"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^5.13.0",
"@typescript-eslint/parser": "^5.13.0",
"@release-it/conventional-changelog": "^4.2.1",
"@typescript-eslint/eslint-plugin": "^5.14.0",
"@typescript-eslint/parser": "^5.14.0",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^8.10.0",
"eslint-config-prettier": "^8.5.0",
@ -44,6 +46,7 @@
"eslint-plugin-unused-imports": "^2.0.0",
"husky": "^7.0.4",
"prettier": "^2.5.1",
"release-it": "^14.12.5",
"typescript": "^4.5.5"
}
}

File diff suppressed because it is too large Load Diff

View File

@ -7,7 +7,7 @@ import { join } from 'path';
import { PDFDocument } from 'pdf-lib';
import { Browser, chromium } from 'playwright-chromium';
export const DELETION_TIME = 10 * 1000 * 1000; // 10 seconds
export const DELETION_TIME = 10 * 1000; // 10 seconds
@Injectable()
export class PrinterService implements OnModuleInit, OnModuleDestroy {