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 0a12cd2 commit 15cfc27
Show file tree
Hide file tree
Showing 8 changed files with 1,730 additions and 1,497 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
8 changes: 8 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import config from '@ctrl/eslint-config-biome';

export default [
{
ignores: ['eslint.config.mjs', 'vite.config.ts', 'dist', 'coverage', 'build', 'docs'],
},
...config,
];
26 changes: 13 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
"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 @@ -33,22 +33,22 @@
"dependencies": {
"@ctrl/magnet-link": "^4.0.2",
"@ctrl/shared-torrent": "^6.0.0",
"ofetch": "^1.3.3",
"ufo": "^1.4.0",
"uint8array-extras": "^1.1.0"
"ofetch": "^1.3.4",
"ufo": "^1.5.3",
"uint8array-extras": "^1.2.0"
},
"devDependencies": {
"@biomejs/biome": "1.6.0",
"@ctrl/eslint-config-biome": "2.1.1",
"@biomejs/biome": "1.8.3",
"@ctrl/eslint-config-biome": "3.1.3",
"@ctrl/magnet-link": "^4.0.2",
"@ctrl/shared-torrent": "^6.0.0",
"@sindresorhus/tsconfig": "5.0.0",
"@types/node": "20.11.25",
"@vitest/coverage-v8": "1.3.1",
"@sindresorhus/tsconfig": "6.0.0",
"@types/node": "20.14.9",
"@vitest/coverage-v8": "1.6.0",
"p-wait-for": "5.0.2",
"typedoc": "0.25.12",
"typescript": "5.4.2",
"vitest": "1.3.1"
"typedoc": "0.26.3",
"typescript": "5.5.3",
"vitest": "1.6.0"
},
"publishConfig": {
"access": "public",
Expand Down
Loading

0 comments on commit 15cfc27

Please sign in to comment.