Skip to content

Commit ffa9114

Browse files
authored
chore: update dependencies (#35)
* bump versions of all deps * ci passing
1 parent cc25395 commit ffa9114

File tree

9 files changed

+4057
-3091
lines changed

9 files changed

+4057
-3091
lines changed

.eslintrc.cjs

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

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ jobs:
1313
- uses: actions/checkout@v2
1414
- uses: pnpm/action-setup@v2
1515
with:
16-
version: 8.8.0
16+
version: 10.6.1
1717
run_install: false
1818
- uses: actions/setup-node@v3
1919
with:
20-
node-version: 18
20+
node-version: 23
2121
cache: 'pnpm'
2222
- run: pnpm install --frozen-lockfile
2323
- run: pnpm lint

.tool-versions

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
nodejs 18.12.0
2-
pnpm 8.8.0
1+
nodejs 23.9.0
2+
pnpm 10.6.1

eslint.config.js

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
import js from '@eslint/js';
2+
import globals from 'globals';
3+
import reactHooks from 'eslint-plugin-react-hooks';
4+
import reactRefresh from 'eslint-plugin-react-refresh';
5+
import tseslint from 'typescript-eslint';
6+
7+
export default tseslint.config(
8+
{ ignores: ['dist'] },
9+
{
10+
extends: [js.configs.recommended, ...tseslint.configs.recommended],
11+
files: ['**/*.{ts,tsx}'],
12+
languageOptions: {
13+
ecmaVersion: 2020,
14+
globals: globals.browser,
15+
},
16+
plugins: {
17+
'react-hooks': reactHooks,
18+
'react-refresh': reactRefresh,
19+
},
20+
rules: {
21+
...reactHooks.configs.recommended.rules,
22+
'react-refresh/only-export-components': [
23+
'warn',
24+
{ allowConstantExport: true },
25+
],
26+
'@typescript-eslint/no-explicit-any': 'off',
27+
},
28+
},
29+
);

package.json

Lines changed: 34 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -37,32 +37,41 @@
3737
"ci": "pnpm run lint && pnpm run format:check && CI=true pnpm run test:coverage && pnpm run build"
3838
},
3939
"devDependencies": {
40-
"@testing-library/dom": "^9.3.3",
41-
"@testing-library/react": "^14.0.0",
42-
"@testing-library/user-event": "^14.5.1",
43-
"@types/jest": "^29.5.5",
44-
"@types/node": "^20.8.3",
45-
"@types/react": "^18.2.25",
46-
"@types/react-dom": "^18.2.11",
47-
"@typescript-eslint/eslint-plugin": "^6.7.4",
48-
"@typescript-eslint/parser": "^6.7.4",
49-
"@vitejs/plugin-react": "^4.1.0",
50-
"@vitest/coverage-v8": "^0.34.6",
51-
"eslint": "^8.51.0",
52-
"eslint-plugin-jest": "^27.4.2",
53-
"eslint-plugin-react": "^7.33.2",
54-
"eslint-plugin-react-hooks": "^4.6.0",
55-
"jsdom": "^22.1.0",
56-
"prettier": "^3.0.3",
57-
"react": "^18.2.0",
58-
"react-dom": "^18.2.0",
59-
"typescript": "^5.2.2",
60-
"vite": "^4.4.11",
61-
"vite-plugin-dts": "^3.6.0",
62-
"vitest": "^0.34.6"
40+
"@eslint/js": "^9.22.0",
41+
"@testing-library/dom": "^10.4.0",
42+
"@testing-library/react": "^16.2.0",
43+
"@testing-library/user-event": "^14.6.1",
44+
"@types/jest": "^29.5.14",
45+
"@types/node": "^22.13.10",
46+
"@types/react": "^19.0.10",
47+
"@types/react-dom": "^19.0.4",
48+
"@typescript-eslint/eslint-plugin": "^8.26.0",
49+
"@typescript-eslint/parser": "^8.26.0",
50+
"@vitejs/plugin-react": "^4.3.4",
51+
"@vitest/coverage-v8": "^3.0.8",
52+
"eslint": "^9.22.0",
53+
"eslint-plugin-jest": "^28.11.0",
54+
"eslint-plugin-react": "^7.37.4",
55+
"eslint-plugin-react-hooks": "^5.2.0",
56+
"eslint-plugin-react-refresh": "^0.4.19",
57+
"globals": "^16.0.0",
58+
"jsdom": "^26.0.0",
59+
"prettier": "^3.5.3",
60+
"react": "^19.0.0",
61+
"react-dom": "^19.0.0",
62+
"typescript": "^5.8.2",
63+
"typescript-eslint": "^8.26.0",
64+
"vite": "^6.2.1",
65+
"vite-plugin-dts": "^4.5.3",
66+
"vitest": "^3.0.8"
6367
},
6468
"peerDependencies": {
65-
"react": "^17.x.x || ^18.x.x",
66-
"react-dom": "^17.x.x || ^18.x.x"
69+
"react": ">=16.8.0",
70+
"react-dom": ">=16.8.0"
71+
},
72+
"pnpm": {
73+
"onlyBuiltDependencies": [
74+
"esbuild"
75+
]
6776
}
6877
}

0 commit comments

Comments
 (0)