-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create new arch module template: cpp-lib #12481
Merged
Merged
Commits on Dec 5, 2023
-
Create new arch module template: cpp-lib
## Description Adds a new `cpp-lib` template designed to be applied on top of the new projects created by the (now recommended) `create-react-native-library` script. ### Type of Change - New feature (non-breaking change which adds functionality) - This change requires a documentation update ### Why Devs need to add windows support to native modules in a way which can be consumed by the new arch RNW apps (i.e. the `cpp-app` template). Resolves microsoft#12480 ### What Create a new `cpp-lib` template which can be applied on top of the template created by `npx create-react-native-library`, adding Windows support for a turbo module. It will also automatically apply the `cpp-app` template to the example project if it exists. ## Screenshots <img width="441" alt="image" src="https://github.com/microsoft/react-native-windows/assets/10852185/f5f31727-a233-419c-8afe-ad91f797abb2"> ## Testing Verified the new template could be applied to a fresh library created by `create-react-native-library` and that example app autolinks, builds, and runs correctly. ## Changelog Should this change be included in the release notes: yes Created a new arch module template: cpp-lib
Configuration menu - View commit details
-
Copy full SHA for edc3a07 - Browse repository at this point
Copy the full SHA edc3a07View commit details
Commits on Dec 6, 2023
-
Configuration menu - View commit details
-
Copy full SHA for c8dae5e - Browse repository at this point
Copy the full SHA c8dae5eView commit details
Commits on Jan 9, 2024
-
Configuration menu - View commit details
-
Copy full SHA for fb0c497 - Browse repository at this point
Copy the full SHA fb0c497View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5b7f044 - Browse repository at this point
Copy the full SHA 5b7f044View commit details -
Configuration menu - View commit details
-
Copy full SHA for b337236 - Browse repository at this point
Copy the full SHA b337236View commit details -
Configuration menu - View commit details
-
Copy full SHA for 08ada46 - Browse repository at this point
Copy the full SHA 08ada46View commit details
Commits on Jan 11, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 67001cd - Browse repository at this point
Copy the full SHA 67001cdView commit details
Commits on Jan 12, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 5f7fba2 - Browse repository at this point
Copy the full SHA 5f7fba2View commit details
Commits on Jan 16, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 0187fa1 - Browse repository at this point
Copy the full SHA 0187fa1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 530fa2e - Browse repository at this point
Copy the full SHA 530fa2eView commit details
Commits on Jan 17, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 426eeb7 - Browse repository at this point
Copy the full SHA 426eeb7View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.