Skip to content

Commit 3633bee

Browse files
committed
React 19 support, next.js update, plugin update (Rollup, Typescript, Eslint) and npm Script update
1 parent 73df04f commit 3633bee

File tree

2 files changed

+19
-22
lines changed

2 files changed

+19
-22
lines changed

next-env.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
/// <reference types="next/image-types/global" />
33

44
// NOTE: This file should not be edited
5-
// see https://nextjs.org/docs/basic-features/typescript for more information.
5+
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.

package.json

Lines changed: 18 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,11 @@
99
"license": "MIT",
1010
"scripts": {
1111
"watch": "rollup -c -w",
12-
"clean": "rm -rf dist .rollup.cache tsconfig.tsbuildinfo",
12+
"clean": "rm -rf dist .rollup.cache tsconfig.rollup.tsbuildinfo",
1313
"lint": "eslint .",
1414
"lint:fix": "eslint --fix .",
15-
"pret": "prettier -c .",
16-
"pret:fix": "prettier --ignore-path .gitignore --config ./.prettierrc --write './**/*.{js,jsx,ts,tsx,css,md,json}'",
17-
"code-style": "npm run pret && npm run lint",
18-
"code-style:fix": "npm run pret:fix && npm run pret:fix",
19-
"build": "npm run code-style && npm run clean && rollup -c rollup.config.js --bundleConfigAsCjs",
15+
"pret:fix": "prettier --write .",
16+
"build": "npm run lint && npm run clean && rollup -c rollup.config.js --bundleConfigAsCjs",
2017
"pub": "npm run build && np --no-tests",
2118
"dev": "next dev -p 8888",
2219
"prepare": "husky"
@@ -39,38 +36,38 @@
3936
],
4037
"peerDependencies": {
4138
"dayjs": "^1.11.12",
42-
"react": "^17.0.2 || ^18.2.0"
39+
"react": "^17.0.2 || ^18.2.0 || ^19.0.0"
4340
},
4441
"devDependencies": {
45-
"@rollup/plugin-commonjs": "^26.0.1",
46-
"@rollup/plugin-node-resolve": "^15.2.3",
47-
"@rollup/plugin-typescript": "^11.1.6",
42+
"@rollup/plugin-commonjs": "^28.0.2",
43+
"@rollup/plugin-node-resolve": "^16.0.0",
44+
"@rollup/plugin-typescript": "^12.1.2",
4845
"@tailwindcss/forms": "^0.5.7",
4946
"@types/node": "^22.3.0",
50-
"@types/react": "^18.3.3",
51-
"@typescript-eslint/eslint-plugin": "^8.1.0",
52-
"@typescript-eslint/parser": "^8.1.0",
47+
"@types/react": "^19.0.8",
48+
"@typescript-eslint/eslint-plugin": "^8.22.0",
49+
"@typescript-eslint/parser": "^8.22.0",
5350
"autoprefixer": "^10.4.20",
5451
"dayjs": "^1.11.12",
5552
"eslint": "^8.57.0",
56-
"eslint-config-next": "^14.2.5",
53+
"eslint-config-next": "^15.1.6",
5754
"eslint-config-prettier": "^9.1.0",
5855
"eslint-plugin-import": "^2.29.1",
5956
"eslint-plugin-prettier": "^5.2.1",
6057
"eslint-plugin-react": "^7.35.0",
61-
"eslint-plugin-react-hooks": "^4.6.2",
62-
"eslint-plugin-react-refresh": "^0.4.9",
58+
"eslint-plugin-react-hooks": "^5.1.0",
59+
"eslint-plugin-react-refresh": "^0.4.18",
6360
"husky": "^9.1.4",
6461
"lint-staged": "^15.2.9",
65-
"next": "^14.2.5",
62+
"next": "^15.1.6",
6663
"pinst": "^3.0.0",
6764
"postcss": "^8.4.41",
6865
"prettier": "^3.3.3",
69-
"react": "^18.2.0",
70-
"react-dom": "^18.2.0",
71-
"rollup": "^4.20.0",
66+
"react": "^19.0.0",
67+
"react-dom": "^19.0.0",
68+
"rollup": "^4.34.0",
7269
"tailwindcss": "^3.4.10",
73-
"tslib": "^2.6.3",
70+
"tslib": "^2.8.1",
7471
"typescript": "^5.5.4"
7572
},
7673
"lint-staged": {

0 commit comments

Comments
 (0)