Skip to content

Conversation

@Rel1cx
Copy link
Owner

@Rel1cx Rel1cx commented Oct 22, 2025

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Docs
  • Test
  • New Binding issue #___
  • Code style update
  • Refactor
  • Build-related changes
  • Other, please describe:

Does this PR introduce a breaking change?

  • Yes, and the changes were approved in issue #___
  • No

Checklist

  • When resolving issues, they are referenced in the PR's title (e.g fix: remove a typo, closes #___, #___)
  • I have added a convincing reason for adding this feature, if necessary

Other information

@vercel
Copy link

vercel bot commented Oct 22, 2025

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

Project Deployment Preview Comments Updated (UTC)
eslint-react Error Error Oct 22, 2025 0:53am

@Rel1cx Rel1cx requested a review from Copilot October 22, 2025 00:52
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds legacy fallback fields (main, module, types) to package.json files across multiple packages to improve compatibility with older build tools and module resolution systems that don't support the newer exports field.

  • Adds main, module, and types fields pointing to ./dist/index.js and ./dist/index.d.ts
  • Applied consistently across 12 packages in the monorepo
  • Provides backward compatibility while maintaining existing exports configuration

Reviewed Changes

Copilot reviewed 12 out of 12 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
packages/utilities/var/package.json Added legacy module resolution fields
packages/utilities/eff/package.json Added legacy module resolution fields
packages/utilities/ast/package.json Added legacy module resolution fields
packages/shared/package.json Added legacy module resolution fields
packages/plugins/eslint-plugin/package.json Added legacy module resolution fields
packages/plugins/eslint-plugin-react-x/package.json Added legacy module resolution fields
packages/plugins/eslint-plugin-react-web-api/package.json Added legacy module resolution fields
packages/plugins/eslint-plugin-react-naming-convention/package.json Added legacy module resolution fields
packages/plugins/eslint-plugin-react-hooks-extra/package.json Added legacy module resolution fields
packages/plugins/eslint-plugin-react-dom/package.json Added legacy module resolution fields
packages/plugins/eslint-plugin-react-debug/package.json Added legacy module resolution fields
packages/core/package.json Added legacy module resolution fields

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@Rel1cx Rel1cx merged commit e02a33f into main Oct 22, 2025
11 of 12 checks passed
@Rel1cx Rel1cx deleted the fix-package-json branch October 22, 2025 00:53
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