Skip to content

fix(examples): keep edge-nextjs from changing tracked files on dev and build - #53

Merged
rqbazan merged 1 commit into
mainfrom
fix/edge-nextjs-build-artifacts
Oct 18, 2026
Merged

rqbazan merged 1 commit into
mainfrom
fix/edge-nextjs-build-artifacts

Conversation

@rqbazan

@rqbazan rqbazan commented Oct 18, 2026

Copy link
Copy Markdown
Member

Summary

Running edge-nextjs no longer changes tracked files: next dev stops writing an AGENTS.md, and next-env.d.ts is ignored instead of committed, as the Next.js docs recommend.

 examples/edge-nextjs/
 ├── next.config.ts    + agentRules: false
 ├── .gitignore        + next-env.d.ts
-└── next-env.d.ts

Evidence

  • Before: after next build, next-env.d.ts shows as modified; in an agent session, next dev leaves an untracked AGENTS.md.
    After: git status stays clean after check, build, dev and e2e.

Merge Danger

Door: two-way

Blast Radius: one example.

🤖 Generated with Claude Code

https://claude.ai/code/session_017sXwJhk5oRMrzxnA1zWxER

@changeset-bot

changeset-bot Bot commented Oct 18, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 069b8ec

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@vland-bot

vland-bot Bot commented Oct 18, 2026

Copy link
Copy Markdown
Contributor

Preview release

Latest commit: 069b8ec

No packages have been released.

@rqbazan
rqbazan merged commit 53cd00b into main Oct 18, 2026
17 checks passed
@rqbazan
rqbazan deleted the fix/edge-nextjs-build-artifacts branch October 18, 2026 16:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant