You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`pnpm install`| also triggers a `postinstall` build of the adapter.|
28
+
|`pnpm build`| build `packages/cloudflare`.|
29
+
|`pnpm --filter cloudflare build:watch`| rebuild on change.|
30
+
|`pnpm test`| builds, then runs all vitest suites.|
31
+
|`pnpm code:checks`| prettier + eslint + tsc.|
32
+
|`pnpm fix`| auto-fix prettier + eslint.|
33
+
|`pnpm --filter <example> preview`| build + preview an example app end-to-end. Add `SKIP_NEXT_APP_BUILD=true` when only the adapter changed.|
34
+
|`pnpm e2e` / `pnpm e2e:dev`| Playwright suites against the example apps.|
35
+
|`pnpm --filter <example> e2e`| Run a specific example's Playwright suite.|
36
+
|`pnpm changeset`| create a changeset for changes.|
37
37
38
38
# Conventions
39
39
@@ -52,7 +52,6 @@ Use pnpm. Run from the repo root.
52
52
-**`src/cli/build/patches/`** contains esbuild plugins and `@ast-grep/napi` transforms that rewrite Next's emitted code to run on Workers. Every patch needs a spec, and ideally a minimal fixture of the input it's matching. Upstream Next changes break these; when a patch stops matching, fix the matcher, don't widen it blindly.
53
53
-**Overrides in `src/api/overrides/`** implement contracts defined in `@opennextjs/aws`. Check the upstream type before changing a signature. `@opennextjs/aws` is pinned in `package.json`, so bumping it is a deliberate change with its own changeset.
0 commit comments