Skip to content

Commit 5edba8e

Browse files
authored
templates: fix deprecation warnings during install (#15536)
Fixes deprecation warnings during fresh install of our templates. ## Website Template Before ```bash alessio@alessiogravilismacbookpro16inch2024m4max v1 % rm -rf node_modules pnpm-lock.yaml && pnpm i  WARN  3 deprecated subdependencies found: glob@7.2.3, inflight@1.0.6, whatwg-encoding@3.1.1  WARN  Issues with peer dependencies found . ├─┬ vite 7.3.1 │ └── ✕ unmet peer @types/node@"^20.19.0 || >=22.12.0": found 22.5.4 ├─┬ lucide-react 0.378.0 │ └── ✕ unmet peer react@"^16.5.1 || ^17.0.0 || ^18.0.0": found 19.2.4 └─┬ react-hook-form 7.45.4 └── ✕ unmet peer react@"^16.8.0 || ^17 || ^18": found 19.2.4 Packages: +795 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Progress: resolved 936, reused 800, downloaded 0, added 795, done ``` ## Website Template After ```bash alessio@alessiogravilismacbookpro16inch2024m4max v1 % rm -rf node_modules pnpm-lock.yaml && pnpm i Packages: +795 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Progress: resolved 936, reused 800, downloaded 0, added 795, done ```
1 parent 03bfaf4 commit 5edba8e

20 files changed

Lines changed: 427 additions & 615 deletions

File tree

pnpm-lock.yaml

Lines changed: 367 additions & 553 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

templates/_template/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,20 +34,20 @@
3434
"@eslint/eslintrc": "^3.2.0",
3535
"@playwright/test": "1.56.1",
3636
"@testing-library/react": "16.3.0",
37-
"@types/node": "^22.5.4",
37+
"@types/node": "22.19.9",
3838
"@types/react": "19.2.9",
3939
"@types/react-dom": "19.2.3",
4040
"@vitejs/plugin-react": "4.5.2",
4141
"eslint": "^9.16.0",
4242
"eslint-config-next": "15.4.11",
43-
"jsdom": "26.1.0",
43+
"jsdom": "28.0.0",
4444
"playwright": "1.56.1",
4545
"playwright-core": "1.56.1",
4646
"prettier": "^3.4.2",
4747
"tsx": "4.21.0",
4848
"typescript": "5.7.3",
49-
"vite-tsconfig-paths": "5.1.4",
50-
"vitest": "3.2.3"
49+
"vite-tsconfig-paths": "6.0.5",
50+
"vitest": "4.0.18"
5151
},
5252
"engines": {
5353
"node": "^18.20.2 || >=20.9.0",

templates/blank/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,20 +34,20 @@
3434
"devDependencies": {
3535
"@playwright/test": "1.56.1",
3636
"@testing-library/react": "16.3.0",
37-
"@types/node": "^22.5.4",
37+
"@types/node": "22.19.9",
3838
"@types/react": "19.2.9",
3939
"@types/react-dom": "19.2.3",
4040
"@vitejs/plugin-react": "4.5.2",
4141
"eslint": "^9.16.0",
4242
"eslint-config-next": "15.4.11",
43-
"jsdom": "26.1.0",
43+
"jsdom": "28.0.0",
4444
"playwright": "1.56.1",
4545
"playwright-core": "1.56.1",
4646
"prettier": "^3.4.2",
4747
"tsx": "4.21.0",
4848
"typescript": "5.7.3",
49-
"vite-tsconfig-paths": "5.1.4",
50-
"vitest": "3.2.3"
49+
"vite-tsconfig-paths": "6.0.5",
50+
"vitest": "4.0.18"
5151
},
5252
"engines": {
5353
"node": "^18.20.2 || >=20.9.0",

templates/ecommerce/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,15 +51,15 @@
5151
"geist": "^1.3.0",
5252
"graphql": "^16.8.2",
5353
"jsonwebtoken": "9.0.1",
54-
"lucide-react": "^0.477.0",
54+
"lucide-react": "0.563.0",
5555
"next": "15.4.11",
5656
"next-themes": "0.4.6",
5757
"payload": "workspace:*",
5858
"prism-react-renderer": "^2.3.1",
5959
"qs-esm": "^7",
6060
"react": "19.2.1",
6161
"react-dom": "19.2.1",
62-
"react-hook-form": "7.54.1",
62+
"react-hook-form": "7.71.1",
6363
"sharp": "0.34.2",
6464
"sonner": "^1.7.2",
6565
"stripe": "18.5.0",
@@ -73,7 +73,7 @@
7373
"@tailwindcss/typography": "^0.5.19",
7474
"@testing-library/react": "16.3.0",
7575
"@types/jsonwebtoken": "^9.0.7",
76-
"@types/node": "22.5.4",
76+
"@types/node": "22.19.9",
7777
"@types/react": "19.2.9",
7878
"@types/react-dom": "19.2.3",
7979
"@vercel/git-hooks": "^1.0.0",
@@ -83,7 +83,7 @@
8383
"eslint-plugin-jsx-a11y": "^6.10.2",
8484
"eslint-plugin-react": "^7.37.5",
8585
"eslint-plugin-react-hooks": "^5.2.0",
86-
"jsdom": "26.1.0",
86+
"jsdom": "28.0.0",
8787
"lint-staged": "^15.2.2",
8888
"playwright": "1.56.1",
8989
"playwright-core": "1.56.1",
@@ -94,8 +94,8 @@
9494
"tsx": "4.21.0",
9595
"tw-animate-css": "^1.4.0",
9696
"typescript": "5.7.2",
97-
"vite-tsconfig-paths": "5.1.4",
98-
"vitest": "3.2.3"
97+
"vite-tsconfig-paths": "6.0.5",
98+
"vitest": "4.0.18"
9999
},
100100
"engines": {
101101
"node": "^18.20.2 || >=20.9.0"

templates/plugin/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
"@playwright/test": "1.56.1",
5757
"@swc-node/register": "1.10.9",
5858
"@swc/cli": "0.6.0",
59-
"@types/node": "^22.5.4",
59+
"@types/node": "22.19.9",
6060
"@types/react": "19.2.9",
6161
"@types/react-dom": "19.2.3",
6262
"copyfiles": "2.4.1",
@@ -76,8 +76,8 @@
7676
"sharp": "0.34.2",
7777
"sort-package-json": "^2.10.0",
7878
"typescript": "5.7.3",
79-
"vite-tsconfig-paths": "^5.1.4",
80-
"vitest": "^3.1.2"
79+
"vite-tsconfig-paths": "6.0.5",
80+
"vitest": "4.0.18"
8181
},
8282
"peerDependencies": {
8383
"payload": "^3.37.0"

templates/website/package.json

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,14 @@
4343
"dotenv": "16.4.7",
4444
"geist": "^1.3.0",
4545
"graphql": "^16.8.2",
46-
"lucide-react": "^0.378.0",
46+
"lucide-react": "0.563.0",
4747
"next": "15.4.11",
4848
"next-sitemap": "^4.2.3",
4949
"payload": "workspace:*",
5050
"prism-react-renderer": "^2.3.1",
5151
"react": "19.2.1",
5252
"react-dom": "19.2.1",
53-
"react-hook-form": "7.45.4",
53+
"react-hook-form": "7.71.1",
5454
"sharp": "0.34.2",
5555
"tailwind-merge": "^3.4.0"
5656
},
@@ -61,15 +61,14 @@
6161
"@tailwindcss/typography": "^0.5.19",
6262
"@testing-library/react": "16.3.0",
6363
"@types/escape-html": "^1.0.2",
64-
"@types/node": "22.5.4",
64+
"@types/node": "22.19.9",
6565
"@types/react": "19.2.9",
6666
"@types/react-dom": "19.2.3",
6767
"@vitejs/plugin-react": "4.5.2",
6868
"autoprefixer": "^10.4.19",
69-
"copyfiles": "^2.4.1",
7069
"eslint": "^9.16.0",
7170
"eslint-config-next": "15.4.11",
72-
"jsdom": "26.1.0",
71+
"jsdom": "28.0.0",
7372
"playwright": "1.56.1",
7473
"playwright-core": "1.56.1",
7574
"postcss": "^8.4.38",
@@ -78,8 +77,8 @@
7877
"tsx": "4.21.0",
7978
"tw-animate-css": "^1.4.0",
8079
"typescript": "5.7.3",
81-
"vite-tsconfig-paths": "5.1.4",
82-
"vitest": "3.2.3"
80+
"vite-tsconfig-paths": "6.0.5",
81+
"vitest": "4.0.18"
8382
},
8483
"engines": {
8584
"node": "^18.20.2 || >=20.9.0",

templates/with-cloudflare-d1/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,20 +42,20 @@
4242
"devDependencies": {
4343
"@playwright/test": "1.56.1",
4444
"@testing-library/react": "16.3.0",
45-
"@types/node": "^22.5.4",
45+
"@types/node": "22.19.9",
4646
"@types/react": "19.2.9",
4747
"@types/react-dom": "19.2.3",
4848
"@vitejs/plugin-react": "4.5.2",
4949
"eslint": "^9.16.0",
5050
"eslint-config-next": "15.4.11",
51-
"jsdom": "26.1.0",
51+
"jsdom": "28.0.0",
5252
"playwright": "1.56.1",
5353
"playwright-core": "1.56.1",
5454
"prettier": "^3.4.2",
5555
"tsx": "4.21.0",
5656
"typescript": "5.7.3",
57-
"vite-tsconfig-paths": "5.1.4",
58-
"vitest": "3.2.3",
57+
"vite-tsconfig-paths": "6.0.5",
58+
"vitest": "4.0.18",
5959
"wrangler": "~4.61.1"
6060
},
6161
"engines": {

templates/with-postgres/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,20 +35,20 @@
3535
"@eslint/eslintrc": "^3.2.0",
3636
"@playwright/test": "1.56.1",
3737
"@testing-library/react": "16.3.0",
38-
"@types/node": "^22.5.4",
38+
"@types/node": "22.19.9",
3939
"@types/react": "19.2.9",
4040
"@types/react-dom": "19.2.3",
4141
"@vitejs/plugin-react": "4.5.2",
4242
"eslint": "^9.16.0",
4343
"eslint-config-next": "15.4.11",
44-
"jsdom": "26.1.0",
44+
"jsdom": "28.0.0",
4545
"playwright": "1.56.1",
4646
"playwright-core": "1.56.1",
4747
"prettier": "^3.4.2",
4848
"tsx": "4.21.0",
4949
"typescript": "5.7.3",
50-
"vite-tsconfig-paths": "5.1.4",
51-
"vitest": "3.2.3"
50+
"vite-tsconfig-paths": "6.0.5",
51+
"vitest": "4.0.18"
5252
},
5353
"engines": {
5454
"node": "^18.20.2 || >=20.9.0",

templates/with-postgres/src/migrations/20260205_181802_initial.json renamed to templates/with-postgres/src/migrations/20260205_211242_initial.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -934,6 +934,6 @@
934934
"tables": {},
935935
"columns": {}
936936
},
937-
"id": "481bcd35-c951-4ad5-8c81-936147cbb008",
937+
"id": "2df2d201-22e6-440d-bd85-51f77ba02bf0",
938938
"prevId": "00000000-0000-0000-0000-000000000000"
939939
}

templates/with-postgres/src/migrations/20260205_181802_initial.ts renamed to templates/with-postgres/src/migrations/20260205_211242_initial.ts

File renamed without changes.

0 commit comments

Comments
 (0)