Skip to content

Commit

Permalink
Update to Next.js 14 (#995)
Browse files Browse the repository at this point in the history
  • Loading branch information
typeofweb authored Oct 27, 2023
1 parent 067d063 commit 16ac590
Show file tree
Hide file tree
Showing 9 changed files with 93 additions and 170 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<span> • </span>
<a href="https://discord.gg/H52JTZAtSH">Discord</a>
<span> • </span>
<a href="https://storefront-saleor-example.vercel.app/">Demo</a>
<a href="https://storefront.saleor.io/">Demo</a>
</div>

<br/>
Expand All @@ -33,7 +33,7 @@

## Features

- **Next.js 13**: File-based routing, React 18, Fast Refresh, Image Optimization and more.
- **Next.js 14**: File-based routing, React 18, Fast Refresh, Image Optimization and more.
- **App Router**: Uses React Server Components, Data Cache, and async components.
- **TypeScript**: Strongly typed codebase and GraphQL payloads with strict mode.
- **GraphQL best practices**: Uses GraphQL Codegen and `TypedDocumentString` to reduce boilerplate and bundle size.
Expand Down
13 changes: 6 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"private": true,
"type": "module",
"scripts": {
"dev": "next dev",
"dev": "next dev --turbo",
"build": "next build",
"start": "next start",
"predev": "pnpm run generate",
Expand All @@ -15,11 +15,10 @@
"test": "playwright test"
},
"dependencies": {
"@adyen/adyen-web": "5.52.0",
"@adyen/adyen-web": "5.53.2",
"@adyen/api-library": "14.3.0",
"@apollo/client": "3.8.6",
"@headlessui/react": "1.7.17",
"@saleor/auth-sdk": "0.13.1",
"@saleor/auth-sdk": "0.14.0",
"clsx": "2.0.0",
"editorjs-html": "3.4.3",
"formik": "2.4.5",
Expand Down Expand Up @@ -51,10 +50,10 @@
"@tailwindcss/forms": "0.5.6",
"@tailwindcss/typography": "0.5.10",
"@types/lodash-es": "4.17.10",
"@types/node": "20.8.2",
"@types/react": "18.2.27",
"@types/node": "20.8.9",
"@types/react": "18.2.33",
"@types/react-dom": "18.2.14",
"@types/url-join": "4.0.1",
"@types/url-join": "4.0.2",
"@typescript-eslint/eslint-plugin": "6.9.0",
"@typescript-eslint/parser": "6.9.0",
"autoprefixer": "10.4.16",
Expand Down
Loading

0 comments on commit 16ac590

Please sign in to comment.