Skip to content

chore: stop tracking next-env.d.ts so builds leave the tree clean - #821

Open
rickstaa wants to merge 1 commit into
mainfrom
chore/untrack-next-env
Open

rickstaa wants to merge 1 commit into
mainfrom
chore/untrack-next-env

Conversation

@rickstaa

@rickstaa rickstaa commented Sep 24, 2026 •

Copy link
Copy Markdown
Member

next-env.d.ts is generated by Next on every dev and build run, and the content differs between them (a production build adds a root-params import), so it kept appearing as modified after local builds. It was already listed in .gitignore but had been committed before that rule existed, so this untracks it.

Tested from a clean checkout (no .next, no next-env.d.ts): pnpm typecheck passes without the file, so CI needs no change, and pnpm dev / pnpm build regenerate it while git status stays clean.

Copilot AI lite review requested due to automatic review settings September 24, 2026 12:55
@vercel

vercel Bot commented Sep 24, 2026 •

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
explorer-arbitrum-one Ready Ready Preview Sep 24, 2026 1:01pm UTC

Request Review

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

Next regenerates the file on every dev and build run, and the output
differs between them, so it kept showing up as modified. It was
already in .gitignore but committed before that rule.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings September 24, 2026 13:01
@rickstaa
rickstaa force-pushed the chore/untrack-next-env branch from 42a9114 to 1298722 Compare September 24, 2026 13:01

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review any files in this pull request.

@rickstaa
rickstaa requested a lite review from Copilot September 24, 2026 13:01

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review any files in this pull request.

This branch was successfully deployed

1 active deployment
Preview — 12987222 Deployed Sep 24, 2026 by vercel[bot]
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.

2 participants