Skip to content

Conversation

@andreisena
Copy link

Fixes the type definitions generation on eslint-config-next by setting the rootDir option, so it generates the .d.ts files in the dist folder instead of dist/src.

Fixes #85568

Before

image

After

image

@ijjk ijjk added the type: next label Nov 1, 2025
@ijjk
Copy link
Member

ijjk commented Nov 1, 2025

Allow CI Workflow Run

  • approve CI run for commit: 7666a34

Note: this should only be enabled once the PR is ready to go and can only be enabled by a maintainer

@ijjk
Copy link
Member

ijjk commented Nov 1, 2025

Allow CI Workflow Run

  • approve CI run for commit: 8728590

Note: this should only be enabled once the PR is ready to go and can only be enabled by a maintainer

Fixes the type definitions generation on eslint-config-next by
setting the rootDir option, so it generates the .d.ts files in the
dist folder instead of dist/src.
@andreisena andreisena force-pushed the fix-type-definitions-on-eslint-config branch from 7666a34 to 8728590 Compare November 3, 2025 01:06
pull bot pushed a commit to Milan-960/next.js that referenced this pull request Nov 4, 2025
`eslint-config-next` types were being emitted to `dist/src` instead of
`dist/` during build.

| Before | After |
|--------|--------|
| <img width="422" height="452" alt="CleanShot 2025-11-04 at 15 50
38@2x"
src="https://github.com/user-attachments/assets/09c96d1a-41ba-4da9-87c6-bc05257c6e2a"
/> | <img width="386" height="488" alt="CleanShot 2025-11-04 at 15 50
01@2x"
src="https://github.com/user-attachments/assets/7b9802a4-e453-4086-90fb-a19e1aec7e20"
/> |

Fixes vercel#85379
Closes: vercel#84929
Closes: vercel#85653
huozhi pushed a commit that referenced this pull request Nov 12, 2025
`eslint-config-next` types were being emitted to `dist/src` instead of
`dist/` during build.

| Before | After |
|--------|--------|
| <img width="422" height="452" alt="CleanShot 2025-11-04 at 15 50
38@2x"
src="https://github.com/user-attachments/assets/09c96d1a-41ba-4da9-87c6-bc05257c6e2a"
/> | <img width="386" height="488" alt="CleanShot 2025-11-04 at 15 50
01@2x"
src="https://github.com/user-attachments/assets/7b9802a4-e453-4086-90fb-a19e1aec7e20"
/> |

Fixes #85379
Closes: #84929
Closes: #85653
huozhi pushed a commit that referenced this pull request Nov 12, 2025
`eslint-config-next` types were being emitted to `dist/src` instead of
`dist/` during build.

| Before | After |
|--------|--------|
| <img width="422" height="452" alt="CleanShot 2025-11-04 at 15 50
38@2x"
src="https://github.com/user-attachments/assets/09c96d1a-41ba-4da9-87c6-bc05257c6e2a"
/> | <img width="386" height="488" alt="CleanShot 2025-11-04 at 15 50
01@2x"
src="https://github.com/user-attachments/assets/7b9802a4-e453-4086-90fb-a19e1aec7e20"
/> |

Fixes #85379
Closes: #84929
Closes: #85653
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 19, 2025
Moroshima pushed a commit to Moroshima/next.js that referenced this pull request Nov 20, 2025
`eslint-config-next` types were being emitted to `dist/src` instead of
`dist/` during build.

| Before | After |
|--------|--------|
| <img width="422" height="452" alt="CleanShot 2025-11-04 at 15 50
38@2x"
src="https://github.com/user-attachments/assets/09c96d1a-41ba-4da9-87c6-bc05257c6e2a"
/> | <img width="386" height="488" alt="CleanShot 2025-11-04 at 15 50
01@2x"
src="https://github.com/user-attachments/assets/7b9802a4-e453-4086-90fb-a19e1aec7e20"
/> |

Fixes vercel#85379
Closes: vercel#84929
Closes: vercel#85653
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

eslint-plugin-next: Types not referenced correctly from package.json

2 participants