Граф коммитов

24 Коммитов

Автор SHA1 Сообщение Дата
Jon Thysell 404db90eff
Add ARM64 to new arch templates (#12635)
## Description

This PR fixes up the new `cpp-lib` and `cpp-app` templates to support targeting ARM64, and adds ARM64 builds to the CI/PR matrix.

### Type of Change
- New feature (non-breaking change which adds functionality)

### Why
To enable native builds of ARM64

Closes #12633 

### What
Added the proper configurations to 

## Screenshots
N/A

## Testing
Verified the apps build in CI

## Changelog
Should this change be included in the release notes: _yes_

Updated the experimental `cpp-lib` and `cpp-app` templates to support targeting ARM64.
2024-01-25 11:32:49 -08:00
Andrew Coates 17b7d16f97
[Fabric] Enable concurrentRoot (#12367)
* [Fabric] Enable concurrentRoot

* feedback

* fix

* format
2023-11-13 11:30:25 -08:00
Andrew Coates 869f2c4025
[Fabric] Expand native theming implementation (#12287)
* Start of theming

* more fix

* More theming

* handle refresh

* fix

* format

* Change files

* fix

* Fix issue where items outside of the current viewport of a scrollview can get hittest

* Fix tabbing

* fix

* revert lock file changes
2023-10-25 12:33:21 -07:00
Chiara Mooney 4af86020f1
Integrate RN Nightly 9/20 (#12165)
* Integrate 8/24

* Change files

* Update Overrides

* Update Metro

* Update Packages

* Change files

* Update Snapshots

* Update Pkg Version

* Integrate 9/20

* Change files

* Remove Override

* Remove Override

* Add Files to CICompile

* Fix Build Break

* Format + Overrides + Warnings Fix

* Add Override

* Address Feedback

* Address Feedback

* Try to fix missing-asset-registry-path error

* Remove deleted yoga functions from exported def file

* Force resolution of @react-native/metro-config@0.73.1 and actually use it in our metro config

* Fix Snapshots

* fix bundles

* Fix lib cli-init

* fix playground bundle again

* Yarn

* fix lib again

* Fix Test

---------

Co-authored-by: Jon Thysell <jthysell@microsoft.com>
Co-authored-by: Andrew Coates <30809111+acoates-ms@users.noreply.github.com>
2023-10-05 14:38:33 -07:00
Jon Thysell 998433fdb8
Disable VS Code default C# solution detection 2023-09-08 12:59:56 -07:00
Jon Thysell 69decef8d4
Fix VS Code Direct Debug config (#11820)
This PR changes the launch config for VS Code so we can attach to an
in-repo app with direct debugging through Metro.

Tested working with e2e-test-app with Hermes enabled.
2023-06-28 11:04:33 -07:00
Julio César Rocha f3fe56a572
Define FileReader turbo module (#11789)
* Declare FileReaderTurboModule

* Declare m_blobPersistor

* Use msrn namespace alias in FileReader module

* json lock

* Update lock files

* config

* Implement ReadAsDataUrl

* Define ReadAsText

* Define FileReaderResource

* Move persistor from module into resource

* Rename module name name

* Add using ModuleSpec

* clang format

* Change files
2023-06-21 15:32:10 -07:00
Tatiana Kapos 9ee8e4c86b
Integrate RN Nightly Build 3/8/23 (#11353)
* integrate RN 3/8/23

* Change files

* fix example pathing

* fix override file

* add comment to forked files

* add issue number
2023-03-22 17:20:26 -07:00
Chiara Mooney 4fa93ab9d5
Integrate RN Nightly Build 2/13 (#11222)
* Integrate 2/13

* Change files

* Fix React Common

* Yarn

* Update View

* Fix View

* Fix Babel

* Fix

* Move Babel

* Remove Unneeded

* Test

* Update Package.json

* Adjust

* move enum plugin to shared babel config

* Fix Overrides

---------

Co-authored-by: Andrew Coates <30809111+acoates-ms@users.noreply.github.com>
2023-03-01 11:08:44 -08:00
Jon Thysell a1f9323c7f
Fix search of react-native module code in vscode (#11088)
By default, vscode uses the `.gitignore` file to filter out files when
searching and for intellisense. This is usually good because of how many
dependencies RNW has that we don't ever look at.

However this limits our ability to easily browse, search, and jump into
code we *do* actually want to look at, especially all of the shared C++
in RN (which is only increasing in the new architecture).

This change updates our repo's settings file and adds a new `.ignore`
file where we can selectively allow certain folders under
`node_modules` to improve the dev experience in vscode.
2023-01-14 19:13:08 +00:00
Tatiana Kapos ca86014a9c
Integration 9/26/22 (#10816)
* fix typescript pathing to react-native/types

* integration 9/26/22

* Change files

* try to fix snapshot test

* fix playground build

* update hermes package

* match ts-jest version to jest version

* update yarn file

* jest done callback not used on async jest tests

* minor fixes

* Change files

* Increase timeout for configToProjectInfo

* fix failure transpiling jest-runner

* another attempt at timeout fix

* more fixes

* defork virtualizedlist

* realign jest version with core - add sample test to rnw and rnwin32 to allow jest to run

* missing space in repo-config package.json

* suppress new c++ warning CI hits

* fix

* Unblock most E2E

* update snapshot

* update snapshot

Co-authored-by: Andrew Coates <30809111+acoates-ms@users.noreply.github.com>
2022-11-09 13:35:37 -08:00
Tatiana Kapos d9bc366f9b
Integrate 7/29 RN Nightly Build (#10479)
Updating RN: 8af7870c6...a21a1f845

* integrate-7-29-22

* Change files

* add stub methods to get build working

* add stub method to NodeJsi

* fix virtualizedList path

* override attributedString and cleanup stub methods

* fix build

* upgrade hermes to 0.71.0.20220831

* downgrade to hermes-windows .70 and override JSI files

* Fix babel and eslint issues

* Fix overrides

* Consolidate correct babel config

Co-authored-by: Jon Thysell (JAUNTY) <jthysell@microsoft.com>
2022-10-04 10:17:58 -07:00
Nick Gerleman b787f09af7
Remove prettier extension reccomendation (#9653)
We run prettier through ESLint. Remove the reccomendation to install the prettier plugin for gthe repo
2022-03-11 12:40:50 -08:00
Nick Gerleman dfc6ca9c55
Add beachball change transformer (#9488)
* Add beachball change transformer

Beachball has a relatively recent option, which allows modifying changefiles before trying to bump/publish. We can use this to workaround two common painpoints.

1. Changes backported to 0.69 and later will not need any modification to changefiles when cherry-picking.
2. We do some formatting to create consistency of omiting the version in change messages in our changelogs

* Remove stale file

* Change files

* Fix bug around missing packages

* Fuller JS env in setup

* Simplify logic

* Fix template path

* use remote midgard-yarn on ubuntu agent

* yaml

* Build more

* Move beachball config to its own package

* Consistency

* Cleanup yarn install logic for hosted vs managed images

* Fixup lockfile issues

* Update min to node 14

* Import shared variables and rename

* Variable fixup
2022-02-12 15:11:21 +00:00
dannyvv 01c20a6851
Add SBom Manifest Generation (#9497) 2022-02-08 10:12:43 -08:00
Nick Gerleman 2df3273449
Fix TypeScript eslint Config (#5980)
* Fixup eslint config

* Change files

* Revert getTreeDumpResult changes
2020-09-20 20:27:38 -07:00
Nick Gerleman cf5770eaaa
Start Sharing Test Configuration Between Node Projects (#5946)
* Start Sharing Test Configuration Between Node Projects

This change moves some of the work I did for setting up unit tests and end to end tests for react-native-platform-override to a shared location. This prepares us for enabling these sorts of tests across projects in the repo without duplicating configuration. Some work still needs to be done per-project to enable this, and some of this still needs to be documented.

Validated:
- One-click debug tests from VS Code
- Unit tests are automatically run when you type, end to end tests aren't
- yarn test will automatically detect unit tests and end to ends tests

* Change files

* Remove extra babel config
2020-09-11 01:30:52 -07:00
Nick Gerleman 62f3bb771a
Enable @typescript-eslint/no-floating-promises and @typescript-eslint/no-misused-promises (#5924)
* Enable @typescript-eslint/no-floating-promises

This rule will create errors if we have an unhandled promise, such as forgetting the "await" operator. Enable the rule and fix up current instances by adding "await" or using the "void" operator, as the rule suggests to signal intentional floating promises.

This rule requires type information, which requires pointing eslint config to a local project. This doesnt't work over an entire monorepo, such as when using VS Code outside of an individual package, so we split up our eslint config into a per-package one and one that can run in the package root without project-local info. The former is run by "yarn lint" during CI and the latter is shown by VS Code.

This also found some accidentally checked in build targets that we can remove.

* Change files

* Keep wrapped in conditional

* Add @typescript-eslint/no-misused-promises
2020-09-08 22:51:48 +00:00
Andrew Coates f8c0d1c4d3
Generate sourcemap for offline RNTester bundle in win32 (#4483)
* Generate sourcemap for offline RNTester bundle in win32

* Change files
2020-04-03 18:25:07 +00:00
Andrew Coates 61a1d87c0b
SourceCode module should provide scriptURL when running livereload without webdebugger (#3803)
* Minor fixups after initial rn-win32 checkin

* Provide source uri in SourceCode module when using livereload

* Provide source uri in SourceCode module when using livereload

* Change files

* build fix

* fix build

* fix build
2019-12-20 10:45:50 -08:00
Andrew Coates 0bd7ead9e2
Start tracking API changes, and generating API documentation (#2932)
* Start API documentation

* Change files
2019-08-15 15:21:01 -07:00
Andrew Coates b8baa5e251
Verify format of cpp/h files during CI (#2739)
* Add script to format files

* Updated format for files

* More formatting..

* Add verify command

* Verify formatting as part of CI

* Fix pre/post install hooks so that they write package.json in a way that matches prettier

* Fix formatting
2019-07-08 15:37:31 -07:00
Andrew Coates 90d63820ef
Fix RNTester bundle (#2728)
* Fix RNTester bundle

* Update GettingStarted for new location of RNTester

* Try fixing CLI

* RNTester bundle only builds against our RN fork for now
2019-07-03 15:52:05 -07:00
acoates-ms 388743e157
Hook up some basic formatting configuration for vscode (#2655)
* Hook up some basic formatting configuration for vscode

* Replace tslint with eslint

* Format on save

* Fix a bunch of eslint errors

* Dont run lint on already build files

* lint now enforces LF to match community
2019-07-01 12:38:12 -07:00