Skip to content

Commit

Permalink
feat: upgrade dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
scttcper committed Jul 3, 2024
1 parent bb74ad8 commit 2d56f42
Show file tree
Hide file tree
Showing 11 changed files with 1,794 additions and 1,549 deletions.
2 changes: 0 additions & 2 deletions .eslintignore

This file was deleted.

7 changes: 0 additions & 7 deletions .eslintrc

This file was deleted.

28 changes: 6 additions & 22 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,9 @@ jobs:
steps:
- uses: actions/checkout@v4

- uses: pnpm/action-setup@v3
with:
version: 8

- uses: actions/setup-node@v4
with:
node-version: 20
cache: "pnpm"

- name: install
run: pnpm install
# https://github.com/wyvox/action-setup-pnpm
- uses: wyvox/action-setup-pnpm@v3
with: { node-version: 22, pnpm-version: 9 }

- name: lint
run: pnpm run lint
Expand All @@ -59,17 +51,9 @@ jobs:
with:
fetch-depth: 0

- uses: pnpm/action-setup@v3
with:
version: 8

- uses: actions/setup-node@v4
with:
node-version: 20
cache: "pnpm"

- name: install
run: pnpm install
# https://github.com/wyvox/action-setup-pnpm
- uses: wyvox/action-setup-pnpm@v3
with: { node-version: 22, pnpm-version: 9 }

- name: release
run: npx semantic-release
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
21
22
2 changes: 1 addition & 1 deletion biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
"ignoreUnknown": true,
"ignore": ["dist/*", "public/*"]
},
"extends": ["./node_modules/@ctrl/eslint-config-biome/biome.json"]
"extends": ["@ctrl/eslint-config-biome/biome"]
}
16 changes: 16 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import config from '@ctrl/eslint-config-biome';

export default [
{
ignores: [
'tailwind.config.cjs',
'postcss.config.cjs',
'eslint.config.mjs',
'vite.config.ts',
'dist',
'coverage',
'build',
],
},
...config,
];
45 changes: 19 additions & 26 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,23 +6,18 @@
"license": "MIT",
"repository": "scttcper/deluge",
"homepage": "https://deluge.vercel.app",
"keywords": [
"deluge",
"typescript"
],
"keywords": ["deluge", "typescript"],
"type": "module",
"main": "./dist/src/index.js",
"typings": "./dist/src/index.d.ts",
"files": [
"dist/src"
],
"files": ["dist/src"],
"sideEffects": false,
"scripts": {
"lint": "pnpm run '/^(lint:biome|lint:eslint)$/'",
"lint:biome": "biome check .",
"lint:eslint": "eslint --ext .ts,.tsx .",
"lint:eslint": "eslint .",
"lint:fix": "pnpm run '/^(lint:biome|lint:eslint):fix$/'",
"lint:eslint:fix": "eslint --ext .ts,.tsx . --fix",
"lint:eslint:fix": "eslint . --fix",
"lint:biome:fix": "biome check . --apply",
"prepare": "npm run build",
"build": "tsc",
Expand All @@ -32,34 +27,32 @@
"test:ci": "vitest run --coverage --reporter=default --reporter=junit --outputFile=./junit.xml"
},
"dependencies": {
"@ctrl/magnet-link": "^4.0.1",
"@ctrl/magnet-link": "^4.0.2",
"@ctrl/shared-torrent": "^6.0.0",
"node-fetch-native": "^1.6.2",
"ofetch": "^1.3.3",
"tough-cookie": "^4.1.3",
"ufo": "^1.4.0",
"uint8array-extras": "^1.1.0"
"node-fetch-native": "^1.6.4",
"ofetch": "^1.3.4",
"tough-cookie": "^4.1.4",
"ufo": "^1.5.3",
"uint8array-extras": "^1.2.0"
},
"devDependencies": {
"@biomejs/biome": "1.5.3",
"@ctrl/eslint-config-biome": "2.0.9",
"@sindresorhus/tsconfig": "5.0.0",
"@types/node": "20.11.24",
"@biomejs/biome": "1.8.3",
"@ctrl/eslint-config-biome": "3.1.3",
"@sindresorhus/tsconfig": "6.0.0",
"@types/node": "20.14.9",
"@types/tough-cookie": "4.0.5",
"@vitest/coverage-v8": "1.3.1",
"@vitest/coverage-v8": "1.6.0",
"p-wait-for": "5.0.2",
"typedoc": "0.25.10",
"typescript": "5.3.3",
"vitest": "1.3.1"
"typedoc": "0.26.3",
"typescript": "5.5.3",
"vitest": "1.6.0"
},
"publishConfig": {
"access": "public",
"provenance": true
},
"release": {
"branches": [
"master"
]
"branches": ["master"]
},
"engines": {
"node": ">=18"
Expand Down
Loading

0 comments on commit 2d56f42

Please sign in to comment.