···11+# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
22+33+# dependencies
44+/node_modules
55+/.pnp
66+.pnp.*
77+.yarn/*
88+!.yarn/patches
99+!.yarn/plugins
1010+!.yarn/releases
1111+!.yarn/versions
1212+1313+# testing
1414+/coverage
1515+1616+# next.js
1717+/.next/
1818+/out/
1919+2020+# production
2121+/build
2222+2323+# misc
2424+.DS_Store
2525+*.pem
2626+2727+# debug
2828+npm-debug.log*
2929+yarn-debug.log*
3030+yarn-error.log*
3131+3232+# env files (can opt-in for committing if needed)
3333+.env*
3434+3535+# vercel
3636+.vercel
3737+3838+# typescript
3939+*.tsbuildinfo
4040+next-env.d.ts
4141+4242+# playwright
4343+/test-results/
4444+/playwright-report/
4545+/blob-report/
4646+/playwright/.cache/
4747+
+36
examples/bugs/gh-119/README.md
···11+This is a [Next.js](https://nextjs.org) project bootstrapped with [`create-next-app`](https://nextjs.org/docs/app/api-reference/cli/create-next-app).
22+33+## Getting Started
44+55+First, run the development server:
66+77+```bash
88+npm run dev
99+# or
1010+yarn dev
1111+# or
1212+pnpm dev
1313+# or
1414+bun dev
1515+```
1616+1717+Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
1818+1919+You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file.
2020+2121+This project uses [`next/font`](https://nextjs.org/docs/app/building-your-application/optimizing/fonts) to automatically optimize and load [Geist](https://vercel.com/font), a new font family for Vercel.
2222+2323+## Learn More
2424+2525+To learn more about Next.js, take a look at the following resources:
2626+2727+- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
2828+- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.
2929+3030+You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js) - your feedback and contributions are welcome!
3131+3232+## Deploy on Vercel
3333+3434+The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.
3535+3636+Check out our [Next.js deployment documentation](https://nextjs.org/docs/app/building-your-application/deploying) for more details.
···11+import { test, expect } from "@playwright/test";
22+33+test("the index page of the application shows the Next.js logo", async ({ page }) => {
44+ await page.goto("/");
55+ await expect(page.getByAltText("Next.js logo")).toBeVisible();
66+});
+45
examples/bugs/gh-119/e2e/playwright.config.ts
···11+import { defineConfig, devices } from "@playwright/test";
22+import type nodeProcess from "node:process";
33+44+declare const process: typeof nodeProcess;
55+66+/**
77+ * See https://playwright.dev/docs/test-configuration.
88+ */
99+export default defineConfig({
1010+ testDir: "./",
1111+ /* Run tests in files in parallel */
1212+ fullyParallel: true,
1313+ /* Fail the build on CI if you accidentally left test.only in the source code. */
1414+ forbidOnly: !!process.env.CI,
1515+ /* Retry on CI only */
1616+ retries: process.env.CI ? 2 : 0,
1717+ /* Opt out of parallel tests on CI. */
1818+ workers: process.env.CI ? 1 : undefined,
1919+ /* Reporter to use. See https://playwright.dev/docs/test-reporters */
2020+ reporter: "html",
2121+ /* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */
2222+ use: {
2323+ /* Base URL to use in actions like `await page.goto('/')`. */
2424+ baseURL: "http://localhost:8750",
2525+2626+ /* Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer */
2727+ trace: "on-first-retry",
2828+ },
2929+3030+ /* Configure projects for major browsers */
3131+ projects: [
3232+ {
3333+ name: "chromium",
3434+ use: { ...devices["Desktop Chrome"] },
3535+ },
3636+ ],
3737+3838+ /* Run your local dev server before starting the tests */
3939+ webServer: {
4040+ command: "pnpm preview",
4141+ url: "http://localhost:8750",
4242+ reuseExistingServer: !process.env.CI,
4343+ timeout: 500_000,
4444+ },
4545+});
+7
examples/bugs/gh-119/next.config.ts
···11+import type { NextConfig } from "next";
22+33+const nextConfig: NextConfig = {
44+ /* config options here */
55+};
66+77+export default nextConfig;
···11-import type { OpenNextConfig } from "@opennextjs/aws/types/open-next";
11+import type { OpenNextConfig } from "@opennextjs/aws/types/open-next.js";
2233const config: OpenNextConfig = {
44 default: {
+1-1
examples/vercel-blog-starter/open-next.config.ts
···11-import type { OpenNextConfig } from "@opennextjs/aws/types/open-next";
11+import type { OpenNextConfig } from "@opennextjs/aws/types/open-next.js";
22import cache from "@opennextjs/cloudflare/kvCache";
3344const config: OpenNextConfig = {