Open socsieng opened 5 days ago
This is published to npm, but the name has changed https://www.npmjs.com/package/@opennextjs/aws
I'll keep this open for now so that other people can see it
For anyone else who is using with SST, the following can be used until SST is updated to include: https://github.com/sst/ion/issues/1227#issuecomment-2407740948
new sst.aws.Nextjs("nextjs", {
buildCommand: "npx @opennextjs/aws build",
// ...
});
Hmm will this break sstv2? We are passing the version like:
const site = new NextjsSite(stack, 'dashboard-beta', {
path: 'packages/dashboard',
customDomain: customDomain,
bind: getDefaultFunctionBindings(app),
permissions: getDefaultFunctionPermissions(app),
openNextVersion: '3.0.8',
@MisterJimson Exact same fix as for V3
buildCommand: "nxp @opennextjs/aws@3.1.6 build"
There is a PR for this in SST v2, haven't checked if it has been merged or not
And we would remove openNextVersion
?
It doesn't matter because openNextVersion
will be overrided by the custom buildCommand. But it's probably better to remove it to avoid confusion
Here's the PR https://github.com/sst/sst/pull/3873
Release 3.1.4 has been created, however, it hasn't been published to npm yet. Is there anything special, or any additional processes required in order to publish to npm?