Skip to content

Conversation

serhalp
Copy link
Member

@serhalp serhalp commented Oct 23, 2024

Summary

See opennextjs/opennextjs-netlify#2693.

Starting at 5.9.0 the build plugin and npm package will be renamed from @netlify/plugin-nextjs to @opennextjs/netlify.

This adds support for the new name and changes the framework detection to automatically use it going forward.

I didn't update packages/framework-info because it isn't used — see #5819.

Supersedes #5896 because I didn't know it had already been done 😁

NOTE: we shouldn't release this to buildbot and cli until the @opennextjs/netlify package exists.

Copy link
Contributor

This pull request adds or modifies JavaScript (.js, .cjs, .mjs) files.
Consider converting them to TypeScript.

Copy link

const nodeVersion = await this.project.getCurrentNodeVersion()
if (nodeVersion && gte(nodeVersion, '10.13.0')) {
this.plugins.push('@netlify/plugin-nextjs')
this.plugins.push('@opennextjs/netlify')
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this use new package name for next@>=13.5.1 only and otherwise use old version?

@github-actions github-actions bot added the stale label Dec 23, 2024
@serhalp
Copy link
Member Author

serhalp commented Feb 28, 2025

No longer planned

@serhalp serhalp closed this Feb 28, 2025
@mrstork mrstork deleted the serhalp/frb-1400-migrate-repository-to-the-opennext-org branch March 19, 2025 16:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants