Skip to content

Commit 5d95cee

Browse files
authored
Merge pull request #181 from arminbro/dev
feat!: modernize tooling, dependencies, and CI/CD
2 parents 210a309 + a55fea1 commit 5d95cee

File tree

9 files changed

+7451
-5763
lines changed

9 files changed

+7451
-5763
lines changed

.github/workflows/publish.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ on:
77
jobs:
88
publish:
99
runs-on: ubuntu-latest
10+
permissions:
11+
contents: write
12+
id-token: write
1013
steps:
1114
- name: Check out repository
1215
uses: actions/checkout@v4
@@ -15,9 +18,8 @@ jobs:
1518
- name: Set up Node.js
1619
uses: actions/setup-node@v4
1720
with:
18-
node-version: '20.19.5'
21+
node-version: '22'
1922
- run: npm ci
2023
- run: npx semantic-release
2124
env:
2225
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
23-
NPM_TOKEN: ${{secrets.NPM_TOKEN}}

.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,9 @@
1414

1515
# Claude AI context file
1616
**/CLAUDE.md
17+
18+
# VSCode
19+
.vscode
20+
21+
# Zed
22+
.zed

.husky/pre-commit

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
1-
#!/bin/sh
2-
. "$(dirname "$0")/_/husky.sh"
3-
4-
npx --no-install pretty-quick --staged
1+
npx --no-install lint-staged

eslint.config.js

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
import antfu from '@antfu/eslint-config';
2+
3+
export default antfu({
4+
// Node.js project - no browser/framework stuff needed
5+
vue: false,
6+
react: false,
7+
typescript: false,
8+
9+
// Style preferences
10+
stylistic: {
11+
indent: 2,
12+
quotes: 'single',
13+
semi: true,
14+
},
15+
16+
// Ignore patterns
17+
ignores: [
18+
'node_modules',
19+
'dist',
20+
'coverage',
21+
],
22+
23+
// Rule overrides
24+
rules: {
25+
'no-console': 'off', // CLI tool - console output is expected
26+
'node/prefer-global/process': 'off', // process is always available in Node.js
27+
},
28+
});

0 commit comments

Comments
 (0)