From f7b3a10cfe187c352d9692de126448bb0a4a347a Mon Sep 17 00:00:00 2001 From: Shashank Reddy Boosi Date: Fri, 11 Oct 2024 18:03:49 +1100 Subject: [PATCH] Update the sst urls (#90) Update the sst/open-next URLs into opennextjs/opennextjs-aws --- packages/cloudflare/TODO.md | 2 +- packages/cloudflare/src/cli/build/build-next-app.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/cloudflare/TODO.md b/packages/cloudflare/TODO.md index bd1cff461..f25e84f1e 100644 --- a/packages/cloudflare/TODO.md +++ b/packages/cloudflare/TODO.md @@ -8,7 +8,7 @@ DONE: - figure out the assets - copy the template folders -## Open next [example app](https://github.com/sst/open-next/tree/main/example) +## Open next [example app](https://github.com/opennextjs/opennextjs-aws/tree/main/example) Changes: diff --git a/packages/cloudflare/src/cli/build/build-next-app.ts b/packages/cloudflare/src/cli/build/build-next-app.ts index 14efa6059..8d53eaa7a 100644 --- a/packages/cloudflare/src/cli/build/build-next-app.ts +++ b/packages/cloudflare/src/cli/build/build-next-app.ts @@ -18,7 +18,7 @@ export async function buildNextjsApp(nextAppDir: string): Promise { runNextBuildCommand(pm.name, nextAppDir); } -// equivalent to: https://github.com/sst/open-next/blob/f61b0e94/packages/open-next/src/build.ts#L175-L186 +// equivalent to: https://github.com/opennextjs/opennextjs-aws/blob/f61b0e94/packages/open-next/src/build.ts#L175-L186 function runNextBuildCommand(packager: PackageManager, nextAppDir: string) { const command = `${packager === "npm" ? "npx" : packager} next build`; execSync(command, { @@ -26,7 +26,7 @@ function runNextBuildCommand(packager: PackageManager, nextAppDir: string) { cwd: nextAppDir, env: { ...process.env, - // equivalent to: https://github.com/sst/open-next/blob/f61b0e9/packages/open-next/src/build.ts#L168-L173 + // equivalent to: https://github.com/opennextjs/opennextjs-aws/blob/f61b0e9/packages/open-next/src/build.ts#L168-L173 // Equivalent to setting `output: "standalone"` in next.config.js NEXT_PRIVATE_STANDALONE: "true", },