Skip to content
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 11 commits into from
Jan 18, 2024
Merged

Commits on Dec 5, 2023

  1. 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
    jonthysell committed Dec 5, 2023
    Configuration menu
    Copy the full SHA
    edc3a07 View commit details
    Browse the repository at this point in the history

Commits on Dec 6, 2023

  1. fix codegen naming issues

    jonthysell committed Dec 6, 2023
    Configuration menu
    Copy the full SHA
    c8dae5e View commit details
    Browse the repository at this point in the history

Commits on Jan 9, 2024

  1. Configuration menu
    Copy the full SHA
    fb0c497 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5b7f044 View commit details
    Browse the repository at this point in the history
  3. fix bad merge

    jonthysell committed Jan 9, 2024
    Configuration menu
    Copy the full SHA
    b337236 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    08ada46 View commit details
    Browse the repository at this point in the history

Commits on Jan 11, 2024

  1. pch test

    jonthysell committed Jan 11, 2024
    Configuration menu
    Copy the full SHA
    67001cd View commit details
    Browse the repository at this point in the history

Commits on Jan 12, 2024

  1. Configuration menu
    Copy the full SHA
    5f7fba2 View commit details
    Browse the repository at this point in the history

Commits on Jan 16, 2024

  1. fix yarn missing

    jonthysell committed Jan 16, 2024
    Configuration menu
    Copy the full SHA
    0187fa1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    530fa2e View commit details
    Browse the repository at this point in the history

Commits on Jan 17, 2024

  1. Configuration menu
    Copy the full SHA
    426eeb7 View commit details
    Browse the repository at this point in the history