jetbridge / cdk-nextjs

Deploy a NextJS application using AWS CDK
https://constructs.dev/packages/cdk-nextjs-standalone
Apache License 2.0
273 stars 45 forks source link

fix: pin major version of open-next to 1 #127

Closed kevin-mitchell closed 1 year ago

kevin-mitchell commented 1 year ago

Currently, cdk-nextjs is not compatible with the latest v2+ version of open-next. Work is being done to update the project to be compatible, but for now we'll make sure new users coming to cdk-nextjs for the first time are to deploy a working Next.js site.

see: https://github.com/jetbridge/cdk-nextjs/issues/126

Fixes #

bestickley commented 1 year ago

@kevin-mitchell, I'm not sure of the pros/cons of this, but an alternative is to make open-next@1 a peerDependency. Thoughts? Then it's more explicit that this project depends on it.

revmischa commented 1 year ago

thanks!