sst / open-next

Open source Next.js serverless adapter
https://open-next.js.org
MIT License
3.7k stars 111 forks source link

Fix next version check #409

Closed conico974 closed 1 month ago

conico974 commented 1 month ago

Fix #406 Instead of checking package.json for next version, we do a require.resolve in the appPath directory to find the package.json of next. Then we require this package and check for the version there. This should work every time

changeset-bot[bot] commented 1 month ago

🦋 Changeset detected

Latest commit: 54579f9444089c07ad2b162b829db2058b31d5fd

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 4 packages | Name | Type | | ---------------- | ----- | | open-next | Patch | | app-pages-router | Patch | | app-router | Patch | | tests-unit | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

vercel[bot] commented 1 month ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
open-next ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 12, 2024 0:41am