Skip to content

Commit db692d4

Browse files
committed
Upgrades
1 parent bbf3386 commit db692d4

File tree

11 files changed

+2510
-6203
lines changed

11 files changed

+2510
-6203
lines changed

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
22
1+
24

.storybook/main.ts

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

.storybook/preview.ts

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

eslint.config.mjs

Lines changed: 20 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -1,52 +1,25 @@
1-
import tseslint from "typescript-eslint";
2-
import jsxA11Y from "eslint-plugin-jsx-a11y";
3-
import js from "@eslint/js";
4-
import pluginReactHooks from "eslint-plugin-react-hooks";
5-
import reactPlugin from "eslint-plugin-react";
6-
import nextPlugin from "@next/eslint-plugin-next";
7-
import eslintPluginPrettierRecommended from "eslint-plugin-prettier/recommended";
8-
9-
export default [
10-
js.configs.recommended,
11-
...tseslint.configs.recommended,
12-
13-
jsxA11Y.flatConfigs.recommended,
14-
15-
{
16-
files: ["**/*.{js,mjs,cjs,jsx,mjsx,ts,tsx,mtsx}"],
17-
...reactPlugin.configs.flat.recommended,
18-
languageOptions: {
19-
...reactPlugin.configs.flat.recommended.languageOptions
20-
},
21-
settings: {
22-
react: {
23-
version: "detect"
24-
}
25-
}
26-
},
27-
28-
{
29-
files: ["src/**/*.{js,ts,jsx,tsx}"],
30-
...reactPlugin.configs.flat.recommended,
31-
plugins: {
32-
"react-hooks": pluginReactHooks
33-
},
34-
rules: {
35-
...pluginReactHooks.configs.recommended.rules,
36-
"react/react-in-jsx-scope": "off",
37-
"react/prop-types": "off"
38-
}
39-
},
1+
import { defineConfig, globalIgnores } from "eslint/config";
2+
import nextVitals from "eslint-config-next/core-web-vitals";
3+
import nextTs from "eslint-config-next/typescript";
4+
import prettier from "eslint-plugin-prettier/recommended";
405

6+
const eslintConfig = defineConfig([
7+
...nextVitals,
8+
...nextTs,
9+
prettier,
10+
// Override default ignores of eslint-config-next.
11+
globalIgnores([
12+
// Default ignores of eslint-config-next:
13+
".next/**",
14+
"out/**",
15+
"build/**",
16+
"next-env.d.ts"
17+
]),
4118
{
42-
plugins: {
43-
"@next/next": nextPlugin
44-
},
4519
rules: {
46-
...nextPlugin.configs.recommended.rules,
47-
...nextPlugin.configs["core-web-vitals"].rules
20+
"@next/next/no-img-element": "off"
4821
}
49-
},
22+
}
23+
]);
5024

51-
eslintPluginPrettierRecommended
52-
];
25+
export default eslintConfig;

next.config.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,10 @@ const withBundleAnalyzer = bundleAnalyzer({
1313
/** @type {import('next').NextConfig} */
1414
const nextConfig = {
1515
output: "standalone",
16+
reactCompiler: true,
1617
reactStrictMode: true,
1718
typescript: {
1819
ignoreBuildErrors: false
19-
},
20-
eslint: {
21-
ignoreDuringBuilds: false
2220
}
2321
};
2422

package.json

Lines changed: 53 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,7 @@
1111
"build": "next build",
1212
"start": "next start",
1313
"lint": "next lint",
14-
"type-check": "pnpm tsc",
15-
"storybook": "storybook dev -p 6006",
16-
"build-storybook": "storybook build"
14+
"type-check": "pnpm tsc"
1715
},
1816
"repository": {
1917
"type": "git",
@@ -26,83 +24,72 @@
2624
"author": "Pekkis",
2725
"license": "MIT",
2826
"dependencies": {
29-
"@hookform/resolvers": "^5.0.1",
30-
"@react-three/fiber": "^9.1.2",
31-
"@tanstack/react-query": "^5.71.10",
32-
"@tanstack/react-query-devtools": "^5.71.10",
33-
"@vanilla-extract/css": "^1.17.1",
34-
"@vanilla-extract/sprinkles": "^1.6.3",
27+
"@hookform/resolvers": "^5.2.2",
28+
"@react-three/fiber": "^9.4.2",
29+
"@tanstack/react-query": "^5.90.12",
30+
"@tanstack/react-query-devtools": "^5.91.1",
31+
"@vanilla-extract/css": "^1.17.5",
32+
"@vanilla-extract/sprinkles": "^1.6.5",
3533
"clsx": "^2.1.1",
3634
"currency-codes": "^2.2.0",
37-
"framer-motion": "^12.6.3",
38-
"immer": "^10.1.1",
39-
"ky": "^1.8.0",
40-
"luxon": "^3.6.1",
41-
"next": "^15.2.4",
35+
"framer-motion": "^12.23.25",
36+
"immer": "^11.0.1",
37+
"ky": "^1.14.0",
38+
"luxon": "^3.7.2",
39+
"next": "^16.0.7",
4240
"normalize.css": "^8.0.1",
43-
"react": "19.1.0",
44-
"react-dom": "^19.1.0",
45-
"react-error-boundary": "^5.0.0",
46-
"react-hook-form": "^7.55.0",
41+
"react": "19.2.1",
42+
"react-dom": "^19.2.1",
43+
"react-error-boundary": "^6.0.0",
44+
"react-hook-form": "^7.68.0",
4745
"react-icons": "^5.5.0",
4846
"react-markdown": "^10.1.0",
49-
"remeda": "^2.21.2",
50-
"sharp": "^0.34.0",
51-
"three": "^0.175.0",
52-
"zod": "^3.24.2",
53-
"zustand": "5.0.3"
47+
"remeda": "^2.32.0",
48+
"sharp": "^0.34.5",
49+
"three": "^0.181.2",
50+
"zod": "^4.1.13",
51+
"zustand": "5.0.9"
5452
},
5553
"devDependencies": {
56-
"@chromatic-com/storybook": "^3.2.6",
57-
"@eslint/js": "^9.24.0",
58-
"@next/bundle-analyzer": "^15.2.4",
59-
"@next/eslint-plugin-next": "^15.2.4",
60-
"@playwright/test": "^1.51.1",
61-
"@storybook/addon-essentials": "^8.6.12",
62-
"@storybook/addon-interactions": "^8.6.12",
63-
"@storybook/addon-links": "^8.6.12",
64-
"@storybook/addon-styling-webpack": "^1.0.1",
65-
"@storybook/blocks": "^8.6.12",
66-
"@storybook/nextjs": "^8.6.12",
67-
"@storybook/react": "^8.6.12",
68-
"@storybook/test": "^8.6.12",
69-
"@testing-library/dom": "^10.4.0",
70-
"@testing-library/jest-dom": "^6.6.3",
54+
"@eslint/js": "^9.39.1",
55+
"@next/bundle-analyzer": "^16.0.7",
56+
"@next/eslint-plugin-next": "^16.0.7",
57+
"@playwright/test": "^1.57.0",
58+
"@testing-library/dom": "^10.4.1",
59+
"@testing-library/jest-dom": "^6.9.1",
7160
"@testing-library/react": "^16.3.0",
7261
"@testing-library/user-event": "^14.6.1",
73-
"@types/luxon": "^3.6.2",
74-
"@types/node": "^22.14.0",
75-
"@types/react": "^19.1.0",
76-
"@types/react-dom": "^19.1.1",
77-
"@types/three": "^0.175.0",
78-
"@typescript-eslint/eslint-plugin": "^8.29.0",
79-
"@typescript-eslint/parser": "^8.29.0",
80-
"@vanilla-extract/next-plugin": "^2.4.10",
81-
"@vanilla-extract/webpack-plugin": "^2.3.18",
82-
"@vitejs/plugin-react": "^4.3.4",
62+
"@types/luxon": "^3.7.1",
63+
"@types/node": "^24.10.1",
64+
"@types/react": "^19.2.7",
65+
"@types/react-dom": "^19.2.3",
66+
"@types/three": "^0.181.0",
67+
"@typescript-eslint/eslint-plugin": "^8.48.1",
68+
"@typescript-eslint/parser": "^8.48.1",
69+
"@vanilla-extract/next-plugin": "^2.4.16",
70+
"@vanilla-extract/webpack-plugin": "^2.3.24",
71+
"@vitejs/plugin-react": "^5.1.1",
8372
"css-loader": "^7.1.2",
84-
"eslint": "^9.24.0",
85-
"eslint-config-next": "^15.2.4",
86-
"eslint-config-prettier": "^10.1.1",
87-
"eslint-plugin-import": "^2.31.0",
73+
"eslint": "^9.39.1",
74+
"eslint-config-next": "^16.0.7",
75+
"eslint-config-prettier": "^10.1.8",
76+
"eslint-plugin-import": "^2.32.0",
8877
"eslint-plugin-jsx-a11y": "^6.10.2",
89-
"eslint-plugin-prettier": "^5.2.6",
78+
"eslint-plugin-prettier": "^5.5.4",
9079
"eslint-plugin-react": "^7.37.5",
91-
"eslint-plugin-react-hooks": "5.2.0",
92-
"eslint-plugin-storybook": "^0.12.0",
80+
"eslint-plugin-react-hooks": "7.0.1",
9381
"identity-obj-proxy": "^3.0.0",
94-
"jsdom": "^26.0.0",
95-
"mini-css-extract-plugin": "^2.9.2",
96-
"msw": "^2.7.3",
97-
"prettier": "^3.5.3",
98-
"storybook": "^8.6.12",
82+
"jsdom": "^27.2.0",
83+
"mini-css-extract-plugin": "^2.9.4",
84+
"msw": "^2.12.4",
85+
"prettier": "^3.7.4",
9986
"style-loader": "^4.0.0",
100-
"stylelint": "^16.18.0",
101-
"stylelint-config-standard": "^38.0.0",
87+
"stylelint": "^16.26.1",
88+
"stylelint-config-standard": "^39.0.1",
10289
"stylelint-prettier": "^5.0.3",
103-
"typescript": "~5.8.3",
104-
"typescript-eslint": "^8.29.0",
105-
"vitest": "^3.1.1"
90+
"typescript": "~5.9.3",
91+
"typescript-eslint": "^8.48.1",
92+
"vitest": "^4.0.15"
10693
},
107-
"packageManager": "pnpm@10.7.1+sha512.2d92c86b7928dc8284f53494fb4201f983da65f0fb4f0d40baafa5cf628fa31dae3e5968f12466f17df7e97310e30f343a648baea1b9b350685dafafffdf5808"
94+
"packageManager": "pnpm@10.24.0"
10895
}

0 commit comments

Comments
 (0)