Skip to content

Commit b32ccb6

Browse files
committed
chore: bump packages, workflows & configs
1 parent 29e6e02 commit b32ccb6

File tree

8 files changed

+116
-49
lines changed

8 files changed

+116
-49
lines changed

.github/workflows/inactive-issues.yml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,20 @@ jobs:
1313
DAYS_BEFORE_STALE: 90
1414
DAYS_BEFORE_CLOSE: 30
1515
steps:
16-
- uses: actions/stale@v8
16+
- uses: actions/stale@v9
1717
with:
18+
repo-token: ${{ secrets.GITHUB_TOKEN }}
1819
days-before-issue-stale: ${{ env.DAYS_BEFORE_STALE }}
1920
days-before-issue-close: ${{ env.DAYS_BEFORE_CLOSE }}
21+
remove-stale-when-updated: true
22+
exempt-all-assignees: true
2023
exempt-issue-labels: good first issue,help wanted
2124
stale-issue-label: stale
25+
2226
stale-issue-message: >
23-
This issue is stale because it has been open for
24-
${{ env.DAYS_BEFORE_STALE }} days with no activity.
27+
Hey! 👋 This issue has been inactive for
28+
${{ env.DAYS_BEFORE_STALE }} days. We'd love your input!
29+
2530
close-issue-message: >
26-
This issue was closed because it has been inactive
27-
for ${{ env.DAYS_BEFORE_CLOSE }} days since being marked as stale.
28-
repo-token: ${{ secrets.GITHUB_TOKEN }}
31+
Thanks for your input! This issue is closed due to inactivity for
32+
${{ env.DAYS_BEFORE_CLOSE }} days. Reopen anytime! ✌️
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: quality checks
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- master
7+
push:
8+
branches:
9+
- master
10+
paths:
11+
- src/**.ts
12+
- package.json
13+
- tsconfig.json
14+
- .github/workflows/**.yml
15+
16+
jobs:
17+
test:
18+
runs-on: ubuntu-latest
19+
steps:
20+
- uses: actions/checkout@v4
21+
- uses: actions/setup-node@v4
22+
with:
23+
node-version-file: ".nvmrc"
24+
- run: |
25+
npm install --silent
26+
npm test
27+
fmt:
28+
runs-on: ubuntu-latest
29+
steps:
30+
- uses: actions/checkout@v4
31+
- uses: actions/setup-node@v4
32+
with:
33+
node-version-file: ".nvmrc"
34+
- run: |
35+
npm install --silent
36+
npm run fmt:check

.github/workflows/release-please.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,18 @@
11
name: release-please
22

33
on:
4+
workflow_run:
5+
workflows:
6+
- "quality checks"
7+
types:
8+
- completed
9+
# manual
410
workflow_dispatch:
511
inputs:
612
publish-release:
713
description: Publish the release?
814
required: true
915
default: "false"
10-
push:
11-
branches:
12-
- master
1316

1417
permissions:
1518
contents: write

.vscode/settings.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,14 @@
11
{
2+
"typescript.tsdk": "node_modules/typescript/lib",
3+
"typescript.preferences.preferTypeOnlyAutoImports": true,
4+
"files.associations": {
5+
"tsconfig.json": "jsonc",
6+
"dprint.json": "jsonc"
7+
},
28
"editor.codeActionsOnSave": {
39
"source.organizeImports": "explicit"
410
},
5-
"[typescript][javascript][markdown][json]": {
11+
"[typescript][javascript][markdown][json][yaml][yml][github-actions-workflow]": {
612
"editor.defaultFormatter": "dprint.dprint",
713
"editor.formatOnSave": true
814
}

dprint.json

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,23 @@
11
{
22
"lineWidth": 100,
33
"useTabs": true,
4+
"indentWidth": 4,
5+
"yaml": {
6+
"indentWidth": 4
7+
},
8+
"typescript": {
9+
"arrayExpression.preferHanging": "onlySingleItem",
10+
"arrowFunction.useParentheses": "force",
11+
"binaryExpression.operatorPosition": "nextLine",
12+
"ifStatement.nextControlFlowPosition": "maintain",
13+
"semiColons": "always",
14+
"trailingCommas": "onlyMultiLine",
15+
"quoteStyle": "preferDouble",
16+
"quoteProps": "consistent",
17+
"importDeclaration.forceMultiLine": "whenMultiple"
18+
},
419
"includes": [
5-
"**/*.{ts,mts,js,json,md,yml,yaml}"
20+
"**/*.{ts,js,json,md,yml,yaml}"
621
],
722
"excludes": [
823
"**/node_modules",
@@ -11,8 +26,9 @@
1126
"CHANGELOG.md"
1227
],
1328
"plugins": [
14-
"https://plugins.dprint.dev/typescript-0.89.3.wasm",
15-
"https://plugins.dprint.dev/json-0.19.2.wasm",
16-
"https://plugins.dprint.dev/markdown-0.16.4.wasm"
29+
"https://plugins.dprint.dev/typescript-0.93.0.wasm",
30+
"https://plugins.dprint.dev/json-0.19.4.wasm",
31+
"https://plugins.dprint.dev/markdown-0.17.8.wasm",
32+
"https://plugins.dprint.dev/g-plane/pretty_yaml-v0.5.0.wasm"
1733
]
1834
}

package-lock.json

Lines changed: 15 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 21 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,11 @@
33
"description": "Sentry Appender for log4js-node",
44
"version": "0.1.0",
55
"license": "Apache-2.0",
6-
"homepage": "https://github.com/arch-group/log4js-appender-sentry#readme",
6+
"homepage": "https://github.com/xseman/log4js-appender-sentry#readme",
7+
"author": "Filip Seman <filip.seman@pm.me>",
78
"repository": {
8-
"url": "https://github.com/arch-group/log4js-appender-sentry"
9+
"url": "https://github.com/xseman/log4js-appender-sentry"
910
},
10-
"contributors": [
11-
"Filip Seman <filip.seman@pm.me>",
12-
"Daniel Derevjanik <daniel.derevjanik@gmail.com>"
13-
],
1411
"keywords": [
1512
"logging",
1613
"log",
@@ -20,24 +17,12 @@
2017
"sentry",
2118
"appender"
2219
],
23-
"files": [
24-
"./dist"
25-
],
26-
"types": "./dist/index.d.ts",
27-
"exports": {
28-
".": {
29-
"import": "./dist/index.js",
30-
"require": "./dist/index.js"
31-
}
32-
},
33-
"engines": {
34-
"node": ">=18.18",
35-
"npm": ">=7"
36-
},
3720
"scripts": {
3821
"build": "tsc",
3922
"pretest": "tsc",
4023
"typecheck": "tsc --noEmit",
24+
"fmt": "dprint fmt",
25+
"fmt:check": "dprint check",
4126
"test": "node --test --loader=ts-node/esm index.test.mts",
4227
"test:watch": "node --test --watch --loader=ts-node/esm index.test.mts"
4328
},
@@ -46,11 +31,25 @@
4631
},
4732
"devDependencies": {
4833
"dprint": "^0.47.0",
49-
"@types/node": "~18.18.0",
34+
"@types/node": "^22.7.0",
5035
"ts-node": "~10.9.0",
51-
"typescript": "~5.5.0"
36+
"typescript": "^5.6.0"
5237
},
5338
"peerDependencies": {
5439
"log4js": ">=6"
40+
},
41+
"types": "./dist/index.d.ts",
42+
"files": [
43+
"./dist"
44+
],
45+
"exports": {
46+
".": {
47+
"import": "./dist/index.js",
48+
"require": "./dist/index.js"
49+
}
50+
},
51+
"engines": {
52+
"node": ">=18.18",
53+
"npm": ">=7"
5554
}
5655
}

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"esm": true,
44
"experimentalSpecifierResolution": "node",
55
"transpileOnly": true
6-
},
6+
},
77
"compilerOptions": {
88
/* Visit https://aka.ms/tsconfig to read more about this file */
99

0 commit comments

Comments
 (0)