Unverified Commit 1f5da04d authored by Miguel Oller's avatar Miguel Oller Committed by GitHub

Update cms-makeswift example (#39834)

Upgrade @makeswift/runtime to the latest version. This removes the need
for the MAKESWIFT_API_HOST environment variable and improves error
messages when integrating Next.js with Makeswift.

## Documentation / Examples

- [x] Make sure the linting passes by running `pnpm lint`
- [x] The examples guidelines are followed from [our contributing doc](https://github.com/vercel/next.js/blob/canary/contributing.md#adding-examples)
parent 6bc7cdaf
MAKESWIFT_API_HOST=https://api.makeswift.com
MAKESWIFT_SITE_API_KEY= MAKESWIFT_SITE_API_KEY=
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
"start": "next start" "start": "next start"
}, },
"dependencies": { "dependencies": {
"@makeswift/runtime": "0.1.2", "@makeswift/runtime": "0.1.5",
"next": "latest", "next": "latest",
"react": "18.2.0", "react": "18.2.0",
"react-dom": "18.2.0" "react-dom": "18.2.0"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment