Skip to content

Commit 1d38b40

Browse files
committed
chore: minor maintenance
1 parent 2a00fdb commit 1d38b40

15 files changed

Lines changed: 6127 additions & 4232 deletions

.eslintrc.json

Lines changed: 0 additions & 23 deletions
This file was deleted.

.github/workflows/checks.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ jobs:
1111
- name: Checkout the repository
1212
uses: actions/checkout@v4
1313
- name: Install pnpm
14-
uses: pnpm/action-setup@v2
14+
uses: pnpm/action-setup@v4
1515
with:
16-
version: 8
16+
version: 10
1717
- name: Install Node.js
1818
uses: actions/setup-node@v4
1919
with:
20-
node-version: 16
20+
node-version: 22
2121
cache: 'pnpm'
2222
- name: Check size
2323
uses: andresz1/size-limit-action@master
@@ -38,13 +38,13 @@ jobs:
3838
- name: Checkout the repository
3939
uses: actions/checkout@v4
4040
- name: Install pnpm
41-
uses: pnpm/action-setup@v2
41+
uses: pnpm/action-setup@v4
4242
with:
43-
version: 8
43+
version: 10
4444
- name: Install Node.js
4545
uses: actions/setup-node@v4
4646
with:
47-
node-version: 16
47+
node-version: 22
4848
cache: 'pnpm'
4949
- name: Check package.json files
5050
run: pnpm dlx @trigen/lint-package-json

.github/workflows/commit.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ jobs:
1111
with:
1212
fetch-depth: 0
1313
- name: Install pnpm
14-
uses: pnpm/action-setup@v2
14+
uses: pnpm/action-setup@v4
1515
with:
16-
version: 8
16+
version: 10
1717
- name: Install Node.js
1818
uses: actions/setup-node@v4
1919
with:
20-
node-version: 16
20+
node-version: 22
2121
cache: 'pnpm'
2222
- name: Install dependencies
2323
run: pnpm install

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ jobs:
1010
- name: Checkout the repository
1111
uses: actions/checkout@v4
1212
- name: Install pnpm
13-
uses: pnpm/action-setup@v2
13+
uses: pnpm/action-setup@v4
1414
with:
15-
version: 8
15+
version: 10
1616
- name: Install Node.js
1717
uses: actions/setup-node@v4
1818
with:
19-
node-version: 16
19+
node-version: 22
2020
cache: 'pnpm'
2121
registry-url: 'https://registry.npmjs.org'
2222
- name: Install dependencies

.github/workflows/tests.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ jobs:
1212
- name: Checkout the repository
1313
uses: actions/checkout@v4
1414
- name: Install pnpm
15-
uses: pnpm/action-setup@v2
15+
uses: pnpm/action-setup@v4
1616
with:
17-
version: 8
17+
version: 10
1818
- name: Install Node.js
1919
uses: actions/setup-node@v4
2020
with:
21-
node-version: 16
21+
node-version: 22
2222
cache: 'pnpm'
2323
- name: Install dependencies
2424
run: pnpm install
@@ -33,13 +33,13 @@ jobs:
3333
- name: Checkout the repository
3434
uses: actions/checkout@v4
3535
- name: Install pnpm
36-
uses: pnpm/action-setup@v2
36+
uses: pnpm/action-setup@v4
3737
with:
38-
version: 8
38+
version: 10
3939
- name: Install Node.js
4040
uses: actions/setup-node@v4
4141
with:
42-
node-version: 16
42+
node-version: 22
4343
cache: 'pnpm'
4444
- name: Install dependencies
4545
run: pnpm install

.npmrc

Lines changed: 0 additions & 1 deletion
This file was deleted.

.tool-versions

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
pnpm 10.11.0
2+
nodejs 22.4.1

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
[node-url]: https://nodejs.org
1919

2020
[deps]: https://img.shields.io/librariesio/release/npm/argue-cli
21-
[deps-url]: https://libraries.io/npm/argue-cli/tree
21+
[deps-url]: https://libraries.io/npm/argue-cli
2222

2323
[size]: https://packagephobia.com/badge?p=argue-cli
2424
[size-url]: https://packagephobia.com/result?p=argue-cli

eslint.config.js

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
import { globalIgnores } from 'eslint/config'
2+
import baseConfig from '@trigen/eslint-config'
3+
import moduleConfig from '@trigen/eslint-config/module'
4+
import tsTypeCheckedConfig from '@trigen/eslint-config/typescript-type-checked'
5+
import testConfig from '@trigen/eslint-config/test'
6+
import env from '@trigen/eslint-config/env'
7+
8+
export default [
9+
globalIgnores(['**/dist/', '**/package/', '**/coverage/']),
10+
...baseConfig,
11+
...moduleConfig,
12+
...tsTypeCheckedConfig,
13+
...testConfig,
14+
env.node,
15+
{
16+
languageOptions: {
17+
parserOptions: {
18+
projectService: true,
19+
tsconfigRootDir: import.meta.dirname
20+
}
21+
},
22+
rules: {
23+
'@typescript-eslint/no-unnecessary-type-arguments': 'off',
24+
'no-console': 'off'
25+
}
26+
}
27+
]

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@
4141
"clear": "del ./package ./dist ./coverage",
4242
"prepublishOnly": "run test build clear:package clean-publish",
4343
"postpublish": "pnpm clear:package",
44-
"emitDeclarations": "tsc --emitDeclarationOnly",
44+
"emitDeclarations": "tsc --emitDeclarationOnly -p tsconfig.build.json",
4545
"build": "run -p [ rollup -c ] emitDeclarations",
46-
"lint": "eslint 'rollup.config.js' 'test/**/*.{js,ts}' 'src/**/*.ts'",
46+
"lint": "eslint",
4747
"test:unit": "vitest run --coverage",
4848
"test:unit:watch": "vitest watch",
4949
"test:types": "tsd",
@@ -62,16 +62,16 @@
6262
"@rollup/plugin-node-resolve": "^15.0.1",
6363
"@size-limit/preset-small-lib": "^11.0.0",
6464
"@swc/core": "^1.3.20",
65-
"@trigen/browserslist-config": "8.0.0-alpha.27",
66-
"@trigen/eslint-config": "8.0.0-alpha.29",
67-
"@trigen/scripts": "8.0.0-alpha.29",
65+
"@trigen/browserslist-config": "8.0.0",
66+
"@trigen/eslint-config": "^8.0.3",
67+
"@trigen/scripts": "8.0.4",
6868
"@types/node": "^20.0.0",
6969
"@vitest/coverage-v8": "^0.34.4",
7070
"browserslist": "^4.21.4",
7171
"clean-publish": "^4.0.1",
7272
"commitizen": "^4.2.5",
7373
"del-cli": "^5.0.0",
74-
"eslint": "^8.28.0",
74+
"eslint": "9.31.0",
7575
"nano-staged": "^0.8.0",
7676
"rollup": "^4.0.0",
7777
"rollup-plugin-swc3": "^0.10.0",

0 commit comments

Comments
 (0)