Skip to content

Commit 0b0fb6e

Browse files
Bump typescript from 4.9.3 to 4.9.4 (#99)
1 parent 916bc83 commit 0b0fb6e

File tree

7 files changed

+227
-204
lines changed

7 files changed

+227
-204
lines changed

.github/workflows/create-release.yml

Lines changed: 4 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -14,35 +14,19 @@ jobs:
1414
- uses: actions/checkout@v3
1515
with:
1616
fetch-depth: 0
17-
- name: Get latest release tag
18-
id: latest_release
19-
run: |
20-
latest_tag=$(curl --silent "https://api.github.com/repos/${{ github.repository }}/releases/latest" | grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/')
21-
echo "tag=${latest_tag}" >> $GITHUB_OUTPUT
22-
shell: sh
23-
- name: Get current release tag
24-
id: current_release
25-
run: echo "tag=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_OUTPUT
26-
shell: bash
27-
- name: Build changelog
17+
- name: Get changelog
2818
id: changelog
29-
run: |
30-
body=$(git log --pretty=oneline ${{ steps.latest_release.outputs.tag }}..${{ steps.current_release.outputs.tag }})
31-
body="${body//'%'/'%25'}"
32-
body="${body//$'\n'/'%0A'}"
33-
body="${body//$'\r'/'%0D'}"
34-
echo "body=${body}" >> $GITHUB_OUTPUT
35-
shell: bash
19+
uses: simbo/changes-since-last-release-action@v1
3620
- name: Create release
3721
uses: softprops/action-gh-release@v1
3822
with:
3923
tag_name: ${{ github.ref }}
40-
name: ${{ steps.current_release.outputs.tag }}
24+
name: ${{ github.ref_name }}
4125
token: ${{ secrets.GITHUB_TOKEN }}
4226
body: |
4327
# Changelog
4428
45-
${{ steps.changelog.outputs.body }}
29+
${{ steps.changelog.outputs.log }}
4630
draft: false
4731
prerelease: false
4832
- name: Bump tags

.github/workflows/update-license.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
---
2+
name: Update license
3+
4+
on:
5+
schedule:
6+
- cron: '0 5 1 1 *'
7+
8+
jobs:
9+
run:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v3
13+
with:
14+
fetch-depth: 0
15+
- uses: FantasticFiasco/action-update-license-year@v2
16+
with:
17+
token: ${{ secrets.GITHUB_TOKEN }}
18+
assignees: ${{ github.repository_owner }}
19+
labels: enhancement
20+
prTitle: Update license copyright year to {{currentYear}}
21+
prBody: |
22+
## Changelog
23+
24+
- Update license copyright year to {{currentYear}}
25+
26+
---
27+
28+
Powered by [FantasticFiasco/action-update-license-year](https://github.com/FantasticFiasco/action-update-license-year)

.pre-commit-config.yaml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,13 @@ repos:
1212
language: system
1313
pass_filenames: false
1414
verbose: true
15+
- id: eslint
16+
name: Lint
17+
entry: yarn run lint
18+
language: system
19+
pass_filenames: false
20+
verbose: true
21+
stages: ["push"]
1522
- id: test
1623
name: Unit tests
1724
entry: yarn test
@@ -35,15 +42,6 @@ repos:
3542
hooks:
3643
- id: snyk-test
3744
stages: ["push"]
38-
# TypeScript
39-
- repo: https://github.com/pre-commit/mirrors-eslint
40-
rev: v8.29.0
41-
hooks:
42-
- id: eslint
43-
args: ['--fix']
44-
files: \.[jt]sx?$
45-
types: [file]
46-
exclude: ^dist/.*\.js$
4745
# Markdown
4846
- repo: https://github.com/igorshubovych/markdownlint-cli
4947
rev: v0.32.2

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2022 Yevhen Fabizhevskyi
3+
Copyright (c) 2020-2023 Yevhen Fabizhevskyi
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

dist/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,17 +29,17 @@
2929
"@octokit/types": "8.0.0",
3030
"@types/chai": "4.3.4",
3131
"@types/glob": "8.0.0",
32-
"@types/jest": "29.2.4",
33-
"@types/node": "18.11.11",
34-
"@typescript-eslint/eslint-plugin": "5.45.1",
35-
"@typescript-eslint/parser": "5.45.1",
32+
"@types/jest": "29.2.5",
33+
"@types/node": "18.11.18",
34+
"@typescript-eslint/eslint-plugin": "5.48.0",
35+
"@typescript-eslint/parser": "5.48.0",
3636
"@vercel/ncc": "0.36.0",
37-
"eslint": "8.29.0",
37+
"eslint": "8.31.0",
3838
"eslint-config-google": "0.14.0",
3939
"jest": "29.3.1",
4040
"jest-circus": "29.3.1",
4141
"mocha-param": "2.0.1",
4242
"ts-jest": "29.0.3",
43-
"typescript": "4.9.3"
43+
"typescript": "4.9.4"
4444
}
4545
}

0 commit comments

Comments
 (0)