Skip to content

Commit 2d56f42

Browse files
committed
feat: upgrade dependencies
1 parent bb74ad8 commit 2d56f42

File tree

11 files changed

+1794
-1549
lines changed

11 files changed

+1794
-1549
lines changed

.eslintignore

-2
This file was deleted.

.eslintrc

-7
This file was deleted.

.github/workflows/ci.yml

+6-22
Original file line numberDiff line numberDiff line change
@@ -23,17 +23,9 @@ jobs:
2323
steps:
2424
- uses: actions/checkout@v4
2525

26-
- uses: pnpm/action-setup@v3
27-
with:
28-
version: 8
29-
30-
- uses: actions/setup-node@v4
31-
with:
32-
node-version: 20
33-
cache: "pnpm"
34-
35-
- name: install
36-
run: pnpm install
26+
# https://github.com/wyvox/action-setup-pnpm
27+
- uses: wyvox/action-setup-pnpm@v3
28+
with: { node-version: 22, pnpm-version: 9 }
3729

3830
- name: lint
3931
run: pnpm run lint
@@ -59,17 +51,9 @@ jobs:
5951
with:
6052
fetch-depth: 0
6153

62-
- uses: pnpm/action-setup@v3
63-
with:
64-
version: 8
65-
66-
- uses: actions/setup-node@v4
67-
with:
68-
node-version: 20
69-
cache: "pnpm"
70-
71-
- name: install
72-
run: pnpm install
54+
# https://github.com/wyvox/action-setup-pnpm
55+
- uses: wyvox/action-setup-pnpm@v3
56+
with: { node-version: 22, pnpm-version: 9 }
7357

7458
- name: release
7559
run: npx semantic-release

.nvmrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
21
1+
22

biome.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@
44
"ignoreUnknown": true,
55
"ignore": ["dist/*", "public/*"]
66
},
7-
"extends": ["./node_modules/@ctrl/eslint-config-biome/biome.json"]
7+
"extends": ["@ctrl/eslint-config-biome/biome"]
88
}

eslint.config.mjs

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
import config from '@ctrl/eslint-config-biome';
2+
3+
export default [
4+
{
5+
ignores: [
6+
'tailwind.config.cjs',
7+
'postcss.config.cjs',
8+
'eslint.config.mjs',
9+
'vite.config.ts',
10+
'dist',
11+
'coverage',
12+
'build',
13+
],
14+
},
15+
...config,
16+
];

package.json

+19-26
Original file line numberDiff line numberDiff line change
@@ -6,23 +6,18 @@
66
"license": "MIT",
77
"repository": "scttcper/deluge",
88
"homepage": "https://deluge.vercel.app",
9-
"keywords": [
10-
"deluge",
11-
"typescript"
12-
],
9+
"keywords": ["deluge", "typescript"],
1310
"type": "module",
1411
"main": "./dist/src/index.js",
1512
"typings": "./dist/src/index.d.ts",
16-
"files": [
17-
"dist/src"
18-
],
13+
"files": ["dist/src"],
1914
"sideEffects": false,
2015
"scripts": {
2116
"lint": "pnpm run '/^(lint:biome|lint:eslint)$/'",
2217
"lint:biome": "biome check .",
23-
"lint:eslint": "eslint --ext .ts,.tsx .",
18+
"lint:eslint": "eslint .",
2419
"lint:fix": "pnpm run '/^(lint:biome|lint:eslint):fix$/'",
25-
"lint:eslint:fix": "eslint --ext .ts,.tsx . --fix",
20+
"lint:eslint:fix": "eslint . --fix",
2621
"lint:biome:fix": "biome check . --apply",
2722
"prepare": "npm run build",
2823
"build": "tsc",
@@ -32,34 +27,32 @@
3227
"test:ci": "vitest run --coverage --reporter=default --reporter=junit --outputFile=./junit.xml"
3328
},
3429
"dependencies": {
35-
"@ctrl/magnet-link": "^4.0.1",
30+
"@ctrl/magnet-link": "^4.0.2",
3631
"@ctrl/shared-torrent": "^6.0.0",
37-
"node-fetch-native": "^1.6.2",
38-
"ofetch": "^1.3.3",
39-
"tough-cookie": "^4.1.3",
40-
"ufo": "^1.4.0",
41-
"uint8array-extras": "^1.1.0"
32+
"node-fetch-native": "^1.6.4",
33+
"ofetch": "^1.3.4",
34+
"tough-cookie": "^4.1.4",
35+
"ufo": "^1.5.3",
36+
"uint8array-extras": "^1.2.0"
4237
},
4338
"devDependencies": {
44-
"@biomejs/biome": "1.5.3",
45-
"@ctrl/eslint-config-biome": "2.0.9",
46-
"@sindresorhus/tsconfig": "5.0.0",
47-
"@types/node": "20.11.24",
39+
"@biomejs/biome": "1.8.3",
40+
"@ctrl/eslint-config-biome": "3.1.3",
41+
"@sindresorhus/tsconfig": "6.0.0",
42+
"@types/node": "20.14.9",
4843
"@types/tough-cookie": "4.0.5",
49-
"@vitest/coverage-v8": "1.3.1",
44+
"@vitest/coverage-v8": "1.6.0",
5045
"p-wait-for": "5.0.2",
51-
"typedoc": "0.25.10",
52-
"typescript": "5.3.3",
53-
"vitest": "1.3.1"
46+
"typedoc": "0.26.3",
47+
"typescript": "5.5.3",
48+
"vitest": "1.6.0"
5449
},
5550
"publishConfig": {
5651
"access": "public",
5752
"provenance": true
5853
},
5954
"release": {
60-
"branches": [
61-
"master"
62-
]
55+
"branches": ["master"]
6356
},
6457
"engines": {
6558
"node": ">=18"

0 commit comments

Comments
 (0)