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

135 Коммитов

Автор SHA1 Сообщение Дата
Yajur Grover c5dff02edd
Integrate RN Nightly 7/1 (#13508)
* Integrate 7/1

* update lockfile

* revert postinstall removal

* bump yarn to 1.22.22

* Remove .yarnrc

* Replace react-native with @react-native-community/cli

* Change files

* Update react-native-init-windows.yml

* update lockfile

* Fix all instances of calling yarn for RN CLI to call npx instead

* More npx added

* More npx added

* Fix bundle commands

* Add @react-native-community/cli to dev dependencies of each app

* update cli versions

* fix sample apps just-task

* Revert test snapshot changes

* Fix iterateOverValues

* Add new fuseboxtracer to ReactCommon

* fix upgrading RN for test-cli

* add yarn install

* Fork files with warnings as errors

* fix testcli creation

* finx fabric snapshots

* Fix babel-preset and metro-config versions

* Change files

* Start stubbing out SampleTurboModule to fix e2etest

* Revert "Start stubbing out SampleTurboModule to fix e2etest"

This reverts commit 5386ebdcf8.

* Comment out new EventEmiiter usage in example page

* Update packages.lock.json

* try to fix debug test

* Disable debugging tests

* remove logging statements

---------

Co-authored-by: Jon Thysell <jthysell@microsoft.com>
Co-authored-by: Jon Thysell <thysell@gmail.com>
2024-08-07 16:13:28 -07:00
Chris Glein 5c65713f10
Readme refresh (#13256)
Update readme styling
Better match WinUI's recent more concise readme
2024-06-25 11:05:26 -07:00
Jon Thysell 5885ee4477
Upgrade to VS 2022 (#9916)
*Description*

This PR updates RNW to build with (and require) Visual Studio 2022. This includes upgrading the `Microsoft.ReactNative.Managed.CodeGen` project to .NET 6.0

This PR does not change the minimum / target Windows SDK versions for RNW or RNW apps.

This PR does not change the language versions of C++ (17) and C# (8.0) used.

*Type of Change*
- Breaking change (fix or feature that would cause existing functionality to not work as expected)
- This change requires a documentation update

*Why*
Visual Studio 2022 is the currently supported version of Visual Studio and what is available to download without an MSDN subscription to access older versions. As Visual Studio 2019 support is reduced/deprecated, we need to migrate. 

Closes #8750
Closes #9499 
Closes #10130

*What*

What's changed:

* All VS project files have been updated to require a minimum of VS 2022 (aka version 17.0).
    * NuGet-based dependencies that are tied to VS version have been upgraded.
* The `Microsoft.ReactNative.Managed.CodeGen` project has been updated to .NET 6.0
    * The snapshots for the codegen tests have been updated to pass
* The E2E Test app has been updated to the latest version of `react-native-xaml` (needed to fix build issues)
    * Snapshots for E2E tests have been updated to pass

*Testing*

Builds and tests All tests
2022-10-31 11:00:09 -07:00
Liron Yahdav 6c9214c8de
Update building-rnw.md (#9941)
`yarn build` is no longer needed to be run separately after https://github.com/microsoft/react-native-windows/pull/9649
2022-05-10 11:50:35 -07:00
Tatiana Kapos 1f01e9e0da
Add link to e2e-testing doc and small fix (#9720)
Add link to API documentation for WebDriverIO and specifies that "yarn start" is needed to run any e2e-test locally.
2022-03-31 15:07:43 -07:00
Agne Lukoseviciute 21b3194ca1
Update testing-nuget-packages.md (#9727)
* Update testing-nuget-packages.md

Updating to call bin.js instead of lib-common/cli.js to apply the rnw template since that logic moved in  https://github.com/microsoft/react-native-windows/pull/9174

* another typo
2022-03-31 21:25:31 +00:00
Nick Gerleman 80b08e1fdd
Remove unused bot work (#9186)
* Remove unused bot work

This removes the previous start of RNW bot work, targetting Azure Functions as a client for GitHub webhooks. GitHub Actions workflows can be triggered in response to many GH webhooks, with orchestration taken care of.

* Change files
2021-11-24 01:37:13 -08:00
Nick Gerleman 3a060ca153
Add e2etest:debug (`@react-native-windows/automation` option `breakOnStart`) (#9085)
* Add `e2etest:debug`

Adds "break on start` to UI automation infrastructure.

Validated locally that the test is paused with the native app open before hitting enter, and that the test resumes after.

* Change files

* lockfile

* Update packages/@react-native-windows/automation/README.md
2021-11-08 11:59:37 -08:00
Jon Thysell 636bdcaa07
Fix pluralsight link 2021-10-19 13:22:40 -07:00
Nick Gerleman 9f1ffe7242
ReactUwpTestApp -> RNTesterApp (#8540)
* ReactUwpTestApp -> RNTesterApp

The name ReactUwpTestApp is an artifact of when `ReactUwp` still existed, and having a specific test bundle. Now the app is just a frame to load RNTester, plus side native test code that will soon be extracted.

This PR renames ReactUwpTestApp to a more accurate RNTesterApp. It also removes some stale scripts that have been unused for more than a year.

* Change files
2021-09-03 18:37:34 +00:00
Nick Gerleman 17e32d3618
@react-native-windows/automation (#8539)
* @react-native-windows/automation

This combines and documents some packages to allow external applications to leverage the work we did to allow UI testing. The various READMEs in this PR lay out what the user-flow and architecture looks like, but there is still some work around extracting IPC/tree dumping to be externally usable.

* Change files

* declare missing dependency

* Defer browser usage until after client require

* Workaround transform bug
2021-09-02 15:49:45 -07:00
Nick Gerleman 46fc2070e9
Add AutomationClient and AutomationElement Facade (#8517)
* Add AutomationClient and AutomationElement Facade

WebDriverIO exposes a whole webdriver client, with loads of functionality that doesn't work or make sense on a desktop app. This facade exposes the bits that are supported by WinAppDriver, in an easier API. It also lets us potentially decouple from WebDriverIO if we want to move to a differnt WebDriver client.

Currently being done in the test app, but will be extracted to a separate package after to allow use in apps outside the repo.

* update docs

* Keep dumpVisualTree outside of AutomationClient for now

* fix lint

* raw example
2021-09-01 22:24:18 -07:00
Nick Gerleman 0411e585b0
Remove Stale Outputs of api-documenter (#8433)
We haven't been running api-extractor or using its output for some time. Remove existing stale docs leftover from it.
2021-08-17 17:09:29 -07:00
Anandraj 9d2a96cb47
Hermes 0.8.1, Debug performance, HBC bundle, CPU Sampling profiler (#8366)
* Bump to Hermes 0.8.1, Debug performance, HBC bundle, CPU Sampling profiler

* Change files

* Formatting and partially resolving feedbacks

* Fixing x86 build

* Fixing WinUI3 builds

* Runtime js engine identification and resolving more review feedbacks

* Resolving more review feedbacks

* Fixing build breaks

* Resolving more review feedbacks

* yarn format

* Reverting the WINRT identification to compute the trace file path

* nit
2021-08-09 12:07:02 -07:00
Nick Gerleman 45362674e2
Update instructions for running a single test (#8282)
Fixes #7272

Jest CLI params for test selection are a bit funky. Update docs to make them clearer, and show how you can run from package root.
2021-07-20 10:14:36 -07:00
dannyvv 6083bce7cd
Prepare files for default branch rename (#7825)
* Prepare files for default branch rename

* Change files

* Adding marker
2021-05-24 14:40:26 -07:00
Anandraj 945ccd4ae2
Hermes Inspector (#7322)
* Hermes Inspector Integration redesign

* Improving the change file text

* Resolving review comments

* Reverting the unintentional change to enable hermes by default and some formatting fixes

* Fixing x86 builds by ensuring the right calling convention prefix with inspector APIs

* Fixing issues in instance reload

* Fixing last incomplete commit by uploading JSEngine.props

* yarn format

* Some cleanups

* yarn format

* Adding markdown documentation

* Reporting bundle download status to package and resolving review feedbacks

* Fixing build
2021-05-14 14:24:07 -07:00
Nick Gerleman 5ef0751da1
Fix documentation for running a single E2ETest Test (#7273)
Fixes #7266
Fixes #7240

This documents how you can run a single test from E2ETest, with restriction. Fixing the restriction is tracked by https://github.com/microsoft/react-native-windows/issues/7272
2021-03-04 14:46:29 -08:00
Igor Klemenski aa05758ea9
Update e2e doc with info about configuring WinAppDriver path (#7217)
* update e2e doc

* update jest-winwrapper doc

* Change files

Co-authored-by: Igor Klemenski <igklemen@microsoft.com>
2021-02-25 23:31:55 +00:00
Nick Gerleman 4ffbe942d8
XAML Jest Snapshots (#7118)
* XAML Jest Snapshots

This PR removes the tree-dump control, allowing the dumping of arbitrary visual content from the test runner. This is done by doing RPC from the test runner to test app. This RPC channel can be easily extended in the future to allow running more arbitrary native commands from test runner.

Diffing is now handled by the industry standard Jest snapshots, instead of custom logic in TreeDumpControl to handle assertions. We replicate tree dump comparison logic of removing collapsed subtrees and dumps themselves omit scrollbars. Previous tree-dump comparison has some epsilon value for FP comparison that we do not replicate (apart from what Jest already does). Current dump values are all integral anyway, so this is not yet needed.

Dump failures are shown inline in the test runner and in CI.

* yaml fix

* fixes

* yaml fixes

* Remove unneeded yaml

* Measurement rounding

* fix

* Remove MSInfo32 Task

* Remove ShellScaling

* Increase fuziness

* Stuff

* Forgot the updated snapshots...

* Real fuzzy comparison

* Last round hopefully

* Experiment

* Back to rounding

* yarn

* Avoid RenderSize for now
2021-02-12 14:22:16 -08:00
Jon Thysell 8b4f330f15
Fix all package typos (#7105)
* Fix all package typos

* Change files
2021-02-11 12:30:30 -08:00
Nick Gerleman 3d4d963717
Rename E2ETest/e2etest to e2e-test-app (#7023)
* Rename E2ETest/e2etest to e2e-test-app

This is part of a series of PRs cleaning up naming in the `packages directory for consistency`. Certain conventions have grown over time, but not all packages follow them. This should create clarity on informal convnetions on where packages go and how to name them.

The changes across PRs
- `react-native-win32` and `react-native-win32-tester` to `@office-iss`
- `react-native-windows-codegen` to `@react-native-windows/codegen`
- `microsoft-reactnative-sampleapps to sample-apps`
- `E2ETest` to `e2e-test-app`
- `IntegrationTest` to `integration-test-app`

* Fix typo

* fix typos
2021-02-02 22:17:13 -08:00
Nick Gerleman 910ed096b6
Rename microsoft-reactnative-sampleapps to sample-apps (#7003)
* Rename microsoft-reactnative-sampleapps to sample-apps

This is part of a series of PRs cleaning up naming in the `packages directory for consistency`. Certain conventions have grown over time, but not all packages follow them. This should create clarity on informal convnetions on where packages go and how to name them.

The changes across PRs
- `react-native-win32` and `react-native-win32-tester` to `@office-iss`
- `react-native-windows-codegen` to `@react-native-windows/codegen`
- `microsoft-reactnative-sampleapps to sample-apps`
- `E2ETest` to `e2e-test-app`
- `IntegrationTest` to `integration-test-app`

* revert local state

* Reenable Appx signing

* trailing whitespace

* revert accidental deletion
2021-02-03 04:09:35 +00:00
Nick Gerleman 3859f2ff3f
Change E2ETest WebDriverIO Runner To Jest (#6999)
* Change E2ETest WebDriverIO Runner To Jest

* Fixes

- Consistent Heders
- Default rootDir
- Better filename sanitization
- Fix Lint

* Change files

* Update docs

* Remove another chunk of outdated info

* Move to devDep

* Small cleanup

* Have docs go to directory instead of README
2021-02-02 04:16:49 +00:00
dannyvv 561471cb8e
Update e2e docs for external link (#6989) 2021-01-29 14:19:03 -08:00
Nick Gerleman 2b06657f74
Rewrite E2ETest Specs (Removes Python Development Dependency) (#6947)
* Rewrite E2ETest Specs (Removes Python Dependency)

Checkin blocked on #6942

We move from @wdio/sync to the default async test runner, removing the python dependency.

The new webdriverio plugin for WinAppDriver supports implicit timeout, letting us dramatically simplify by relying on builtin wdio primitives.

We also remove the run_wdio script which has been a source of some errors, and whose functionality we do not currently rely on. Confirmed that the wdio runner reported error codes without it.

testID consts are pulled out of the centralized location to instead be per-testpage.

Validated changes locally. Validated that we seen a non-zero exit code on test failure.

* Change files

* Doc fixes

* wdio config fixes

* spacing

* Wait until displayed

* Remove stale line

* Only register ts-node once

* Need in worker process

* more verbose logging

* Try increasing connection retry count
2021-01-26 04:26:59 +00:00
Nick Gerleman 934df20693
Dump bot dev doc into the repo (#6898)
Copying from an internally distributed Word document for further comment and archival. Internal information removed.
2021-01-19 13:29:43 -08:00
Anandraj a542b74968
Systrace ETW Tracing, TraceLogging instead of manifest based events (#6869)
* Converting the tracing mechanism to use TraceLog instead of manifest based events

* Powershell scripts to manage tracing session

* Change files

* Fixing broken changes file

* Adding documentation and formatting the source
2021-01-17 14:41:28 -08:00
Canhua Li 3ffbf9311a
Remove appium from package dependency (#6636)
* remove appium

* update lint

* fix wdio build error

* fix the import error

* remove fake appium package

* implict timeout

* correct config to ms:experimental-webdriver

* remove implicit timeout, and fix some error on pipeline

* update doc and comment

* resolve merge conflicts on yarn.lock and move savescreenshot to jasmineopts

* Update code to new packages for isUtf8 and yargs

* Change files

* update doc and resolve lint isutf8 error

* remove appium

* update lint

* fix wdio build error

* fix the import error

* remove fake appium package

* implict timeout

* correct config to ms:experimental-webdriver

* remove implicit timeout, and fix some error on pipeline

* update doc and comment

* resolve merge conflicts on yarn.lock and move savescreenshot to jasmineopts

* Update code to new packages for isUtf8 and yargs

* Change files

* update doc and resolve lint isutf8 error

* resolve yarn.lock conflict with master

* Add Pyton to handle installing new npm dependency for appium

* yarn update

* Update UnitTests

* Change files

* install python for gyp

* Fix typo in path for sourcedirectoyr on python install step

* Update to import to const for isutf8 due to babel limmitations

* Fix diff file due to updated diffing algorythm

* Fix JS Check unittest

* Remove color from Lage build, it conflicts with updating execa or yargs-parser. And it wasn't needed anyways

* Update Yarn lock

* restore color args

* Lage doesn't work with fetch depth of 1

* Remove fetch depth because lage is missing files otherwise

* resolve conflict with master

* resolve yarn build error because of isUtf8

* async io test case

* Revert "async io test case"

This reverts commit e0920d5b3f.

* resolve conflicts on webdriver

* update test

* rollback change on sanitize test

* remove const comment

* try use the python in microsoft hosted agent

* Update docs/e2e-testing.md

Co-authored-by: Alexander Sklar <asklar@microsoft.com>

* Update docs/e2e-testing.md

Co-authored-by: Alexander Sklar <asklar@microsoft.com>

* fix break on yaml file

* update usepython

* revert the python change

Co-authored-by: Danny van Velzen <dannyvv@microsoft.com>
Co-authored-by: Alexander Sklar <asklar@microsoft.com>
2021-01-14 15:54:44 -08:00
Julio César Rocha 18c8a47af1
Consolidate JSI projects (#6783)
* Update project-structure.md

* Remove JSI projects from Desktop SLN

* Move JSI shared sources to Shared\JSI

* Add Shared\JSI sources

* Fix Desktop includes

* Move JSI/Desktop/ sources to Desktop/JSI/

* Remove JSI\{Shared,Desktop}

* Move JSI Desktop tests to UnitTests

* Ported up to JsiRuntimeUnitTests_ObjectTest

* Ported up to JsiRuntimeUnitTests_Chakra_HostObjectTest

* Port remaining JsiRuntimeUnitTests_*

* Use MakeJSQueueThread()

* Separate tests into generic and Chakra-specific.

* Default to V8.

* Remove JSI Desktop UT

* Remove references to JSI.Shared and JSI.Universal

* Make x64 the default platform

* clang format

* Remove JSI.Desktop.UT from CI

* Remove JSI.Universal

* Change files

* Fix Desktop Int. Tests includes

* Add ReactCommon.UnitTests.

* Added ReactCommon tests.

* Add ViewTest.

* Add remaining tests.

* clang format

* Revert changes to Desktop.UnitTests

* Remove test.cpp

* Update packages.config

* Remove CppWinRT usages

* Add missing copyright

* Update UniTests script

* Removed JSI.* projects from templates and packages SLNs

* Skip DebugStringConvertibleTest on non-Debug

* Removed change files

* Change files

* Remove stale references to JSI.* projects

* Remove stale references to JSI.* projects

* Remove x86 config for ReactCommon.UnitTests

* Re-enabled V8,ChakraCore switching

* Renamed ChakraCoreRuntimeUnitTests.cpp as JsiRuntimeGenerators

* Removed JsiRuntimeUnitTests.h

* clang format

* Updated project-structure

* Add missing test filter AND operators
2020-12-23 22:55:07 +00:00
Chiara Mooney 309e8af563
Update Contributing Guidelines for yarn change (#6794)
* Update yarn change Contributing Guidelines

* Remove mention of yarn api
2020-12-22 15:02:17 -08:00
Alexander Sklar 7e38b2b677
Fix regression where E2ETest app no longer uploads tree dump outputs (#6686)
* introduce break

* write to docs folder

* Change files

* The package can only access file types that it has declared in the manifest

* schema

* yml update

* upload all of documents

* refresh certificate and PFN

* remove thumbprint

* restore tsx

* delete changefiles
2020-12-14 11:18:53 -08:00
Bartosz Klonowski 26eac15f92
Fix: monorepo page not found (#6626)
When entering the 'building-rnw.md' page, Monorepo is mentioned as a
type of RNW. The issue is that when clicking on the "this page" link,
404 is returned instead of redirecting to the monorepo.md page.
The root cause of that issue is the capital letter originally used in
the link code, while the page itself has a name as: "monorepo.md".

This commit provides the fix for that by changing the letter to the
correct one, so there's no confusion for newcommers.
2020-11-26 11:45:56 -08:00
Nick Gerleman 0111551952
Lerna to Lage (#6454)
* Lerna to Lage

This gives us incremental and scoped JS builds, with more intelligent parallelism. I haven't configured fine-grained caching for the more esoteric projects, but as is, 12/17 projects will cache outputs. The incremental build of the repo takes ~15s on my machine.

* Remove now unneeded eslintignore

* Avoid dist

* buildci color

* Tester build caching

* Cache NuGet

* Remove more unused build artifacts

* Remove clean script

* Lint ts

* Clean Whitespace

* More whitespace

* Remove buildci to allow JSChecks build caching for lint

* Change files

* Parallel lint

* Verbose lint so we can see warnings
2020-11-10 19:22:23 +00:00
kmelmon bd6bb8957d
Update e2e-testing.md 2020-10-30 15:34:13 -07:00
Nick Gerleman 34d003379d
Integrate Additional RNTester Refactoring (9/2 Nightly RN Build) (#6356)
* Integrate Additional RNTester Refactoring (9/2 Nightly RN Build)

Commits: 5bc67b658...f0e80ae22

The most interesting bits here are addiontal RNTester changes, such as the removal of the back button. This forces some more E2ETest updates that were merged in a previous PR.

Nested Images inside of Text are rendered on start now, which is problematic for NetUI. ACoates forked the component for XAML RNTester, and this change forks for NetUI as well, which intention to upstream tracked by #6341. We similarly need to re-patch out AsyncStorage usage on NetUI after the code changed for it.

The fbjs dependency was removed, whichgets closer to letting us remove a node-fetch resolution (though the CLI pulls in an older Metro package which doesn't let us). Android added some extra Platform constants around manufacturer/Brand (likely related to the Xiamoi crash workaround), which we don't implement here, since we only really care about the union of Android + iOS, along with anything we think would be useful specifically for Windows.

* Work around RNW display: none issue

* Change files
2020-10-29 03:53:00 +00:00
dannyvv 671ab3ec1b
Update url to `Consts.ts` in `e2e-testing.md` (#6229) 2020-10-12 09:11:15 -07:00
dannyvv 5f7c89b96b
Remove Microsoft user names from source code (#6125)
* Remove Microsoft user names from sourcecode

* Change files
2020-09-30 13:22:06 -07:00
Nick Gerleman 967d499846
Upgrade react-native Typings (#6042)
* Upgrade react-native-typings

* Change files

* Fix

* Change typings

* yarn api
2020-09-21 22:52:13 +00:00
Marlene Cota 7945dc60e1
Delete deprecated AppTheme code (#5883)
* remove deprecated AppTheme code

* Change files

* fix rntester theming page

* delete AppTheme example. fix accessibility page

* yarn api

* remove warnOnce + yarn api

* Remove ThemingExample from RNTesterList

* Remove AppTheme from VisitAllPages e2etest
2020-09-11 11:29:33 -07:00
Nick Gerleman aad763dd75
Keep Templates in react-native-windows Package (#5893)
* Keep Templates in react-native-windows Package

Fixes #5884

Testing new app creation with `react-native-windows-init` can be done using `--useDevMode` and `yarn link`, or can be done by pointing `react-native-windows-init` to a fille-path. The former works by symlinking to the monorepo, and the latter copies the single package.

The latter workflow will not pick up changes to packages outside of react-native-windows. This includes template files that were moved outside the package.

This change moves template files back into react-native-windows to ease that workflow, but keeps the CLI as a separate package to avoid previous issues of intermingled dependencies, duplicated build logic, etc. We keep the templates in a top-level `template` directory, similar to what is done by react-native core. https://github.com/facebook/react-native/tree/master/template

This change complicates logic a bit to resolve tempate location, since we can't create a cyclical peer dependency on react-native-windows. We instead need to resolve the location of react-native-windows dynamically. We do that by searching from the project directory.

WIll validate by init tests in CI. Not sure if there is a current way to validate autolinking.

* Change files

* Remove unused import

* We can't resolve package directories directly

* Update docs
2020-09-01 20:49:54 +00:00
dannyvv 1e1299e3f1
Add verification to ensure nuget and npm version match. (#5836)
* Add verification to ensure nuget and npm version match.

This will add a targets file: Microsoft.ReactNative.VersionCheck.targets
to all nuget packages. When evaluated in msbuild it will perform a check
to see if the specified version of the react-native-windows package matches
the current nuget package.

It is challenging with a mix of `PackageReference` and `packages.json` (UWP doesn't support the former yet)
to consistenly figure out the version number from within the nuget package itself.
It would involve walking the parent folder looking for nuspec or npkg files and reverse engineering
the version number from the nupkg filename. In the nuspec case (PackageReference) it is simple as you just need to
parse the nusepc file. In the UWP case, it is complicated since there is no nuspec file by default, on a nupkg file.
The issue with that is that the filename is <id>.<version> and the dot separator is valid in both the id and the version
so there is no clear way to know which is which. The only approach would have
been to extract the zip file (with nuget semantics, it's not a straight unzip as filenames are url-encoded in the zip) and
then parse the nuspect inside...

To simplify this change takes a short-cut of baking the nuget version into the targets file during the build.

* Change files

* Update docs/testing-nuget-packages.md
2020-08-27 20:19:11 +00:00
Nick Gerleman 443f76a037
Remove acceptsKeyboardFocus (for real this time) (#5844)
* Remove acceptsKeyboardFocus (for real this time)

We've backported changes to 0.63 to fix bugs with focusable, and to yellowbox if acceptsKeyboardFocus is used on View or touchables. This formalizes the removal, turning the yellowbox into a redbox, removing VM support, and removing typings. Note that typings for react-native-win32 were already removed in 0.63, so there isn't the work to do there.

Because we removed forking from Touchables we will no longer see warnings if acceptsKeyboardFocus is still used on them, but that scenario should be rarer and we will have yellowboxed for it already in 0.63.

Tested we redbox if we try to use the prop

* Change files

* Put flow supression on the right line
2020-08-26 16:27:40 -07:00
Nick Gerleman f332ab59b0
Fix bugs from acceptsKeyboardFocus to focusable deprecation (#5818)
* Fix bugs from acceptsKeyboardFocus to focusable deprecation

#5047 deprecated acceptsKeyboardFocus in favor of focusable, with the intent to remove focusable in 0.64. There's a bug here (`focusable=false` on Touchables is broken), and we want to make the deprecation clearer, since many folks will be using the prop without typings.

There are some other bits polished, like removing an erroneous acceptsKeyboardFocus in a ViewConfig relied on by RCTText, and removing react-native-win32 typings from ViewWin32 since its deprecation cycle looks a bit different, and it helps us fully remove the property in 0.64.

A runtime warning is added on property usage to discourage use, to help catch cases where folks aren't relying on typings for compile-time errors. This is done by intercepting properties to RCTView, which will also catch property usage on Touchables, TouchableWin32, and other composed views.

To avoid bleadthrough to RN 0.65 in Office, we remove typings from ViewWin32 now to encourage transition.

Validated we see the warning when a prop is present, and that touchables are focusable by default, Touchables will use acceptsKeyboardFocus instead of focusable when present. Plan is to backport this to 0.63 and remove props from master shortly after.

* Change files

* yarn api

* Remove another acceptsKeyboardFocus

* Force E2ETest to show colors

* Avoid duplicate NuGet Restore

* Remove forking disabling focusable, but keep forking adding testID
2020-08-25 10:09:52 +00:00
dannyvv 29566e6897
Update testing-nuget-packages.md (#5823)
The `--version` flag is no longer needed when using `--useDevMode`.
2020-08-24 18:18:40 -07:00
kmelmon b2557027fd
Update e2e-testing.md 2020-08-18 17:31:19 -07:00
kwgchi ae6dbb927f
Update branch-setup.md (#5745) 2020-08-15 01:38:47 -07:00
Nick Gerleman fbb4352a01
Extract local-cli into a separate npm package (#5519)
* Extract local-cli into a separate npm package

* Test

* Fix vnext exported files

* Fix formatting issue after merge

* promoteRelease and Beachball

* promoteRelease Fix

* generator-windows -> generate-windows

* Update dependencies correctly

* Change files

* Back to a monolithic CLI

* Change files

* Remove stale changes

* Fix links
2020-07-27 20:45:10 +00:00
Alexander Sklar c2b93d970f
Update building-rnw.md 2020-07-27 13:09:02 -07:00
Alexander Sklar 93860ea236
Update building-rnw.md 2020-07-27 13:06:17 -07:00