Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

auto-changelog #6

Merged
merged 6 commits into from
Apr 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions .github/workflows/auto-changelog.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Update Changelog

on:
# release:
# types: [published]
push:
branches:
- dev
# paths:
# - "CHANGELOG.md"

jobs:
update-changelog:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2
with:
fetch-depth: 0 # fetch complete history so auto-changelog can see it

- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '14'

- name: Install auto-changelog
run: npm install -g auto-changelog

- name: Generate changelog
run: auto-changelog

- name: Commit and push if it changed
run: |
git diff
git config --global user.email "[email protected]"
git config --global user.name "GitHub Action"
git commit -am "Update Changelog" || exit 0
git push
18 changes: 0 additions & 18 deletions .github/workflows/changelog.yml

This file was deleted.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"name": "express-typed-repo",
"private": true,
"version": "1.0.1",
"description": "",
"main": "index.js",
"scripts": {
Expand All @@ -22,7 +21,8 @@
"concurrently": "^8.2.2",
"typescript": "^5.4.5",
"vite": "^5.2.0",
"vitest": "^1.5.2"
"vitest": "^1.5.2",
"auto-changelog": "*"
},
"engines": {
"node": ">=20",
Expand Down
52 changes: 52 additions & 0 deletions packages/express-typed/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
### Changelog

All notable changes to this project will be documented in this file. Dates are displayed in UTC.

Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).

#### [v0.1.4](https://github.com/Eliav2/express-typed/compare/v0.1.3...v0.1.4)

> 28 April 2024

- Dev 0.1.4 [`#5`](https://github.com/Eliav2/express-typed/pull/5)
- Ft/better-typing [`#3`](https://github.com/Eliav2/express-typed/pull/3)
- progress [`c6b71c5`](https://github.com/Eliav2/express-typed/commit/c6b71c52fa04fd01d2d372b5ad5e5bd242034d19)
- preformance improvement [`e2e2805`](https://github.com/Eliav2/express-typed/commit/e2e28059a9300737a61b33475cd0c0fc8e8af800)
- include licence, readme, and src in dist package [`24d74ac`](https://github.com/Eliav2/express-typed/commit/24d74acbaf15bbd3c9819671bf3560edfd0c154f)

#### [v0.1.3](https://github.com/Eliav2/express-typed/compare/v0.1.2...v0.1.3)

> 28 April 2024

- 0.1.3 [`#4`](https://github.com/Eliav2/express-typed/pull/4)

#### [v0.1.2](https://github.com/Eliav2/express-typed/compare/v0.1.1-alpha.7...v0.1.2)

> 27 April 2024

- automatic npm and github releases [`1e0f396`](https://github.com/Eliav2/express-typed/commit/1e0f396f0105adeb246623238cfbdb1bad31b9fa)

#### [v0.1.1-alpha.7](https://github.com/Eliav2/express-typed/compare/v0.1.0...v0.1.1-alpha.7)

> 27 April 2024

- . [`851354b`](https://github.com/Eliav2/express-typed/commit/851354b3f718da953bbeb5e8aa919a56dbd05fc3)
- . [`a212066`](https://github.com/Eliav2/express-typed/commit/a212066044479d79449606b80a419fdc6ad0fa18)
- fixed missing dist from cicd [`092168d`](https://github.com/Eliav2/express-typed/commit/092168d74ba78c1fce4a983a290b8598f527b82a)

#### [v0.1.0](https://github.com/Eliav2/express-typed/compare/v0.0.3...v0.1.0)

> 27 April 2024

- Dev [`#2`](https://github.com/Eliav2/express-typed/pull/2)
- update [`0e2473a`](https://github.com/Eliav2/express-typed/commit/0e2473ace0851be888d2c39a514586b9582abb46)
- Merge pull request #1 from Eliav2/ft/better-demo [`16eaab1`](https://github.com/Eliav2/express-typed/commit/16eaab1eb91d19c0e98474a95d0e0b9cf56075bd)
- . [`074202d`](https://github.com/Eliav2/express-typed/commit/074202d081d99ad65a2e299997c9d427d43c9353)

#### v0.0.3

> 27 April 2024

- init [`916a13e`](https://github.com/Eliav2/express-typed/commit/916a13efe1c8ed554815dbab394f701109031ae3)
- progress [`7a05f4d`](https://github.com/Eliav2/express-typed/commit/7a05f4df420adf2e0dbe959867b7e2eb02e9902f)
- progress [`4318b47`](https://github.com/Eliav2/express-typed/commit/4318b472b9b92ee8bf3c4d2df1be757d470a2dd0)
21 changes: 21 additions & 0 deletions packages/express-typed/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2024 Eliav2

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.
5 changes: 5 additions & 0 deletions packages/express-typed/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# express-typed

end-to-end typesafe TypeScript wrapper for Express.js

for more info, checkout [github repo](https://github.com/Eliav2/express-typed)
3 changes: 2 additions & 1 deletion packages/express-typed/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"build": "tsc",
"dev": "tsc -w",
"prepublishOnly": "pnpm build",
"test": "vitest"
"test": "vitest",
"version": "auto-changelog -p && git add CHANGELOG.md"
},
"keywords": [],
"author": "",
Expand Down
Loading