Skip to content

Removing auto generated files - #15217

Closed
Vineeth (vineethkuttan) wants to merge 6 commits into
microsoft:mainfrom
vineethkuttan:codegenRemoval
Closed

Removing auto generated files#15217
Vineeth (vineethkuttan) wants to merge 6 commits into
microsoft:mainfrom
vineethkuttan:codegenRemoval

Conversation

@vineethkuttan

@vineethkuttanVineeth (vineethkuttan) commented Oct 8, 2025

Copy link
Copy Markdown
Contributor

Description

Removing auto generated codegen files from the repo

Type of Change

Erase all that don't apply.

  • Cleaning up git repository

Why

The auto-generated files do not need to be in the repository

What

In React Native, codegen files are typically generated as part of the Native Module and TurboModule system, which allows JavaScript to communicate with native code. These files are auto-generated to reduce boilerplate and ensure type safety between JS and native layers. These files will be generated when running command yarn build.

Changes Added

i)Removed the files
ii)Remove the format check on auto generated files
iii)Generate files during nuget packing by running yarn build

Changelog

Should this change be included in the release notes: no

Add a brief summary of the change to use in the release notes for the next release.
Removing auto generated codegen files from the repo

Microsoft Reviewers: Open in CodeFlow

@vineethkuttanVineeth (vineethkuttan) changed the title [TESTING] Removing auto generated filesRemoving auto generated filesOct 9, 2025
@vineethkuttan
Vineeth (vineethkuttan) marked this pull request as ready for review October 9, 2025 04:56
@HariniMalothu17

Copy link
Copy Markdown
Contributor

Could you add more detail to the description explaining what specific changes like running what commands led to the creation of these unwanted codegen files

Comment threadpackages/@rnw-scripts/format-files/src/formatFiles.ts Outdated
Comment thread.ado/templates/prep-and-pack-nuget.yml
Vineeth (vineethkuttan) added a commit to vineethkuttan/react-native-windows that referenced this pull request Oct 17, 2025
Added to avoid conflicts in integration
Vineeth (vineethkuttan) added a commit to vineethkuttan/react-native-windows that referenced this pull request Oct 22, 2025
Protik Biswas (protikbiswas100) pushed a commit that referenced this pull request Nov 7, 2025
* Update @react-native-community/template
* Integrate-rn 0.82.0-nightly-20250806-5936f29d6
* react-native-platform-override upgrade
* resolving conflicts
* Manually Updating RN Nightlty
* commit for PR #15217
Added to avoid conflicts in integration
* Update tester files
* Lint fix
* lint issue fixes
* fixinf build issues
* yarn change
* validate override fix
* update yarn lock
* Bump rnx,eslint,metro-config
* Added Minimatch
* yarn change
* Update Cli and Check
* Update creaternwapp
* resolve conflicts
* set node path import
* exclusionList Test
* conflicts resolved
* revert rnx copy
* config fix
* validate override.json
* macOS test fix
* lint fix
* view lint fix
* Update SnapShot
* lint fix
* Change files
* view fix
* Resolution for react and react-native-renderer
* update snapshot
* Review Changes
* Undo Viewwin32
* Suppress eslint
* lint fix
* lint fix 2.0
* Lint fix by supressing nonpolymorphic-type-arg
* Removing E2E Paper from pipelines
Sign up for freeto 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.

4 participants

@vineethkuttan@HariniMalothu17@jonthysell@anupriya13