Skip to content

Commit f6c0e07

Browse files
authored
feat: sync template for recent react and next versions (#26)
1 parent 08c3f3e commit f6c0e07

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+7119
-451
lines changed

.env.example

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ COMPANY_NAME="shopware AG"
22
TWITTER_CREATOR="@shopware"
33
TWITTER_SITE="https://www.shopware.com/en/solutions/shopware-composable-frontends/"
44
SITE_NAME="Next.js Shopware Starter with Composable Frontends"
5-
SHOPWARE_STORE_DOMAIN=""
5+
SHOPWARE_STORE_DOMAIN="https://demo-frontends.shopware.store"
66
SHOPWARE_API_TYPE="store-api"
7-
SHOPWARE_ACCESS_TOKEN=""
7+
SHOPWARE_ACCESS_TOKEN="SWSCBHFSNTVMAWNZDNFKSHLAYW"
88
SHOPWARE_USE_SEO_URLS="true"
99
SHOPWARE_REVALIDATION_SECRET=""
1010
BASE_E2E_URL=""

.eslintrc.js

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

.eslintrc.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"extends": ["next/core-web-vitals", "next/typescript"]
3+
}

.github/dependabot.yml

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

.github/workflows/e2e-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ jobs:
1515
- name: Install Node.js
1616
uses: actions/setup-node@v3
1717
with:
18-
node-version: 18
18+
node-version: 22
1919

2020
- run: corepack enable
2121
- run: pnpm --version
2222
- uses: actions/setup-node@v3
2323
with:
24-
node-version: 18
24+
node-version: 22
2525
cache: 'pnpm'
2626
cache-dependency-path: '**/pnpm-lock.yaml'
2727

.github/workflows/test.yml

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

.husky/pre-commit

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,2 @@
1-
#!/usr/bin/env sh
2-
. "$(dirname -- "$0")/_/husky.sh"
3-
41
pnpm run lint
52
npx lint-staged

.nvmrc

Lines changed: 0 additions & 1 deletion
This file was deleted.

.prettierignore

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

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Next.js Shopware Starter
22

3-
A Next.js 14 and App Router-ready ecommerce template featuring:
3+
A high-performance, server-rendered Next.js App Router ecommerce application.
44

55
- Next.js App Router
66
- Optimized for SEO using Next.js's Metadata
@@ -18,6 +18,9 @@ Next.js Shopware Starter requires a running [Shopware 6 Instance (Installation G
1818

1919
To get started, use this README and the example environment variable comments.
2020

21+
- [React Bricks](https://github.com/ReactBricks/nextjs-commerce-rb) ([Demo](https://nextjs-commerce.reactbricks.com/))
22+
- Edit pages, product details, and footer content visually using [React Bricks](https://www.reactbricks.com) visual headless CMS.
23+
2124
## Running locally
2225

2326
You will need to use the environment variables [defined in `.env.example`](https://github.com/shopwareLabs/nextjs-shopware-starter/blob/main/.env.example) to run Next.js Shopware Starter. It's recommended you use [Vercel Environment Variables](https://vercel.com/docs/concepts/projects/environment-variables) for this, but a `.env` file is all that is necessary.

0 commit comments

Comments
 (0)