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

5927 Коммитов

Автор SHA1 Сообщение Дата
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
dependabot[bot] 6b4e4649a6
📦 Bump @types/react from 17.0.35 to 17.0.36 (#9187)
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 17.0.35 to 17.0.36.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

---
updated-dependencies:
- dependency-name: "@types/react"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-24 01:36:50 -08:00
dependabot[bot] 6d4d7f87fe
📦 Bump ci-info from 3.2.0 to 3.3.0 (#9198)
Bumps [ci-info](https://github.com/watson/ci-info) from 3.2.0 to 3.3.0.
- [Release notes](https://github.com/watson/ci-info/releases)
- [Changelog](https://github.com/watson/ci-info/blob/master/CHANGELOG.md)
- [Commits](https://github.com/watson/ci-info/compare/v3.2.0...v3.3.0)

---
updated-dependencies:
- dependency-name: ci-info
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-24 01:33:41 -08:00
React-Native-Windows Bot 2cfc3b153b applying package updates ***NO_CI*** 2021-11-24 06:08:50 +00:00
Jon Thysell c896fa849e
Fix telemetry unit test timeouts (#9193)
* Update telemetry unittest timeouts

Some tests were checking for the presence of npm/yarn before checking
its version. Since we almost always have those installed, I rearranged
the tests to look for the version first, and only if it returns null do
I check to confirm the tool is indeed missing.

Closes #9183

* Change files

* Remove lookpath confirmation
2021-11-23 20:00:08 +00:00
React-Native-Windows Bot 83fb4c5cdd applying package updates ***NO_CI*** 2021-11-23 06:09:27 +00:00
Tatiana Kapos 75c4d0b8d8
Supports changing ToggleSwitch's color at runtime (#9039)
* inital fix

* removes uneeded line

* Change files

* addresses feedback

* Change files

* fixes border color

* delete change files

* Change files

* fixes namespace issue

* addresses feedback

* addresses feedack2

* adds hasKey

* yarn format
2021-11-22 13:09:53 -08:00
Jon Thysell 4ace49611a
Add environment variable overrides to specify telemetry setup string and proxy (#9178)
We need a way to be able to specify different setup strings and proxy servers for the telemetry. We can do this in code, but that's not always an option, for example in the case of `react-native-windows-init` which is called by using npx.

Adding these environment variable overrides will help us test the telemetry system before (and after) we go live and turn it on.

Example:

```cmd
set RNW_TELEMETRY_SETUP=12345678-abcd-abcd-abcd-1234567890ab
set RNW_TELEMETRY_PROXY=http://localhost:8888
```

Closes #9166
2021-11-22 12:44:32 -08:00
dependabot[bot] a6c2e72797
📦 Bump @types/uuid from 8.3.1 to 8.3.3 (#9170)
Bumps [@types/uuid](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/uuid) from 8.3.1 to 8.3.3.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/uuid)

---
updated-dependencies:
- dependency-name: "@types/uuid"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-20 01:03:50 -08:00
dependabot[bot] 328ae0b636
📦 Bump source-map-support from 0.5.20 to 0.5.21 (#9184)
Bumps [source-map-support](https://github.com/evanw/node-source-map-support) from 0.5.20 to 0.5.21.
- [Release notes](https://github.com/evanw/node-source-map-support/releases)
- [Commits](https://github.com/evanw/node-source-map-support/compare/v0.5.20...v0.5.21)

---
updated-dependencies:
- dependency-name: source-map-support
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-19 17:00:59 -08:00
dependabot[bot] 25151a075e
📦 Bump @types/react-native from 0.66.4 to 0.66.5 (#9175)
Bumps [@types/react-native](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-native) from 0.66.4 to 0.66.5.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-native)

---
updated-dependencies:
- dependency-name: "@types/react-native"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-19 02:29:17 -08:00
dependabot[bot] 242528cacc
📦 Bump @rnx-kit/jest-preset from 0.1.7 to 0.1.8 (#9176)
Bumps [@rnx-kit/jest-preset](https://github.com/microsoft/rnx-kit/tree/HEAD/packages/jest-preset) from 0.1.7 to 0.1.8.
- [Release notes](https://github.com/microsoft/rnx-kit/releases)
- [Changelog](https://github.com/microsoft/rnx-kit/blob/main/packages/jest-preset/CHANGELOG.json)
- [Commits](https://github.com/microsoft/rnx-kit/commits/@rnx-kit/jest-preset_v0.1.8/packages/jest-preset)

---
updated-dependencies:
- dependency-name: "@rnx-kit/jest-preset"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-19 02:27:36 -08:00
dependabot[bot] 1698eae301
📦 Bump lookpath from 1.2.1 to 1.2.2 (#9169)
Bumps [lookpath](https://github.com/otiai10/lookpath) from 1.2.1 to 1.2.2.
- [Release notes](https://github.com/otiai10/lookpath/releases)
- [Commits](https://github.com/otiai10/lookpath/compare/v1.2.1...v1.2.2)

---
updated-dependencies:
- dependency-name: lookpath
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-18 14:19:59 -08:00
Jon Thysell 60e5f974e3
Fix typo in autolink.test.ts 2021-11-18 11:29:13 -08:00
dependabot[bot] c14d648f6e
📦 Bump typescript from 4.4.4 to 4.5.2 (#9167)
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.4.4 to 4.5.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.4.4...v4.5.2)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-17 23:20:49 -08:00
dependabot[bot] 94057cc1ed
📦 Bump applicationinsights from 2.1.5 to 2.1.9 (#9168)
Bumps [applicationinsights](https://github.com/microsoft/ApplicationInsights-node.js) from 2.1.5 to 2.1.9.
- [Release notes](https://github.com/microsoft/ApplicationInsights-node.js/releases)
- [Commits](https://github.com/microsoft/ApplicationInsights-node.js/compare/2.1.5...2.1.9)

---
updated-dependencies:
- dependency-name: applicationinsights
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-17 23:19:27 -08:00
React-Native-Windows Bot 4dc00d0ccf applying package updates ***NO_CI*** 2021-11-18 06:11:22 +00:00
Jon Thysell ef32b2fea0
Telemetry Refactor (#8253)
This PR refactors our RNW CLI telemetry code to be easier to consume, align with our requirements, and add a suite of unit and E2E tests.

**Note:** This PR does not *enable* telemetry collection yet - we still need to (re)-setup the service side to actually receive data, test the E2E pipeline and fix any bugs.

Closes #7312
Closes #7903

## Overview

All telemetry-related operations are driven by the `Telemetry` class, the `CodedError` type, and a small handful of helper functions exported from the `@react-native-windows/telemetry` package. Consumers of this package (`@react-native-windows/cli` and `react-native-windows-init`) are provided this abstraction layer and are therefore no longer expected to understand the intricacies of the underlying telemetry service (Application Insights).

CLI commands are now generally restructured to follow this pattern:

```ts
async function cliCommand(args) {
  // Telemetry setup
  Telemetry.setup();
  Telemetry.startCommand(...);

  let cliCommandError: Error | undefined;
  try {
    await cliCommandInternal(args);
  } catch (error) {
    // Report any error thrown
    Telemetry.trackException(error);
    cliCommandError= error;
  }

  // Telemetry cleanup
  TelemetryTest.endCommand(...);
}
```

With this setup, none of the code within internal function (`cliCommandInternal` here) has any notion of or connection to the telemetry system, other than throwing `CodedError` whenever it hits a known error in our code that we wish to capture. (Note that none of the functionality of any of our commands were changed in this PR, as they were already throwing `CodedError` s with appropriate extra data, where appropriate). Any unknown errors are also caught and recorded by the Telemetry.

In the end, we expect up to two events from every CLI command: `RNWCLI.Command` and potentially one error event: `RNWCLI.CodedError`. The `RNWCLI.Command` event is fired in the call to `endCommand` and contains everything we want to know from a run of our commands, success or failure. If an error was thrown, then we'll also have fired an additional event with the call to `trackException`, including error codes, stack traces, etc. The two events can be correlated to one another via the `sessionId` property.

Every effort has been made to make sure that we can easily extend and update our CLI commands *without* having to update the telemetry code. For example, the work to gather the command line arguments/options passed, to gather project info and environment setup, are all set up in a standardized way and sanitize such data of PII.
2021-11-17 20:27:57 -08:00
Eric Rozell 495edc099b
Ensure native animations fire completion callbacks (#9158)
* Ensure native animations fire completion callbacks

The AnimationDrivers were being stored as unique_ptrs, but internally
use a weak_ptr to handle completion callbacks. When attempting to
convert the weak_ptr to a shared_ptr, the conversion would always return
an empty pointer because the constructor was not called from a
shared_ptr.

This changes the NativeAnimatedNodeManager to hold shared_ptrs to
AnimationDrivers to ensure that callbacks fire when the composition
scoped batch completes for the animation.

Fixes #9157

* Change files
2021-11-17 12:25:26 -08:00
Vladimir Morozov c12abd2687
Fix C# Module Event invocation (#9154)
* Fix C# Module Event invocation

* Change files

* Renamed argument name  from `method` to `member`

* Update managed codegen tests LKG snapshots
2021-11-17 15:39:42 +00:00
Nick Gerleman d11349e521
Add `@react-native-windows/fs` package (#9084)
* # nice-fs

`nice-fs` is a minimal-dependency drop-in replacement to `fs` with changes for resiliency, promises, and convenience. It has several opinionated changes, targeted towards cross-platform CLI apps.

## Async Usage (Default)

`nice-fs` exposes a Promise-based API, mostly matching that of `fs.promises`, with several methods added [extra methods](#Extra-Methods).

```ts
// import {promises as fs} from 'fs'
import fs from 'nice-fs';

const fileContent = await fs.readFile('foo.txt');
```

## Sync Usage

`nice-fs` exports all `fs.*Sync` Where an async version has a graceful implementation, and the synchronous version does not, the method is marked as deprecated.

```ts
// import fs from 'fs'
import fs from 'nice-fs';

const fileContent = await fs.readFileSync('foo.txt');
```

## Extra Methods

### `exists`
NodeJS deprecated `fs.exists`, and removed `fs.promises.exists`. The recommendation is to instead acquire a lock to the file via `fs.open` for the duration of file-use. One-shot existence checks are still useful, and because `fs.existsSync` is not deprecated, more likely means usage of blocking synchronous APIs.

```ts
import fs from 'nice-fs';

const fooExists = await fs.exists('foo.txt');
```

### `readFile.asJson`

`nice-fs` provides convenience methods to handle JSON files. These are implemented as methods under `fs.ReadFile`. The following conversions are added:

| Method | Return type |
|-|-|
| `readFile.asJson<T>` | `Promise<T>` or `Promise<Record<string, unknown> \| Array<unknown>>` |
| `readFileSync.asJson<T>` | `T` or `Record<string, unknown> \| Array<unknown>` |

```ts
import fs from 'nice-fs';

// foo is type: Record<string, unknown>
const foo = await fs.readFile.asJsonObject('foo.json');
```

## Resiliency

`nice-fs` uses [`graceful-fs`](https://github.com/isaacs/node-graceful-fs) to gracefully handle transient filesystem conditions, at the cost of extra latency. This includes transient `EPERM`, `EACCESS`, `EMFILE`, `ENFILE`. This can be important when handling files that a subject to antivirus, which may temporarily lock mutation of files on Windows.

## eslint
We reccomend adding the following rules to your eslint config if you would like to use `nice-fs` everywhere:
```js
module.exports = {
  rules: {
    'no-restricted-imports': [
      'error', {
        name: 'fs',
        message: 'Please us `nice-fs` instead of `fs`'
      }
    ],
  }
}
```

* yarn

* Remove 'readFileSync' from import list

* Update package directory in package.json

* Update packages/nice-fs/README.md

* Update packages/react-native-platform-override/src/PackageUtils.ts

* Rename to @react-native-windows/fs

* PR Feedback

* Refine JSON API

* Change files

* bad find/replace

* @react-native-windows/fs

* missing import

* Node 12 compat

* sort dependencies

* readme cleanup

* Ensure MSRN Debug Builds Use Debug WinMD

Validated script changes by running locally.

* Revert
2021-11-17 11:00:09 +00:00
dependabot[bot] 9c144f82a0
📦 Bump @babel/preset-env from 7.16.0 to 7.16.4 (#9153)
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.16.0 to 7.16.4.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.16.4/packages/babel-preset-env)

---
updated-dependencies:
- dependency-name: "@babel/preset-env"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-17 02:18:26 -08:00
dependabot[bot] 1a63c61391
📦 Bump @babel/parser from 7.16.3 to 7.16.4 (#9152)
Bumps [@babel/parser](https://github.com/babel/babel/tree/HEAD/packages/babel-parser) from 7.16.3 to 7.16.4.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.16.4/packages/babel-parser)

---
updated-dependencies:
- dependency-name: "@babel/parser"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-16 15:57:43 -08:00
dependabot[bot] 22704aabfe
📦 Bump @types/react from 17.0.34 to 17.0.35 (#9151)
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 17.0.34 to 17.0.35.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

---
updated-dependencies:
- dependency-name: "@types/react"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-16 14:58:40 -08:00
dependabot[bot] 5c93b886aa
📦 Bump @react-native-community/cli from 6.1.0 to 6.2.0 (#9145)
Bumps [@react-native-community/cli](https://github.com/react-native-community/cli/tree/HEAD/packages/cli) from 6.1.0 to 6.2.0.
- [Release notes](https://github.com/react-native-community/cli/releases)
- [Commits](https://github.com/react-native-community/cli/commits/v6.2.0/packages/cli)

---
updated-dependencies:
- dependency-name: "@react-native-community/cli"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-16 14:20:28 -08:00
dependabot[bot] a98e0cb8bf
📦 Bump @types/async from 3.2.9 to 3.2.10 (#9148)
Bumps [@types/async](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/async) from 3.2.9 to 3.2.10.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/async)

---
updated-dependencies:
- dependency-name: "@types/async"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-16 14:08:02 -08:00
dependabot[bot] 31273312f9
📦 Bump @react-native-community/cli-platform-ios from 6.1.0 to 6.2.0 (#9146)
Bumps [@react-native-community/cli-platform-ios](https://github.com/react-native-community/cli/tree/HEAD/packages/platform-ios) from 6.1.0 to 6.2.0.
- [Release notes](https://github.com/react-native-community/cli/releases)
- [Commits](https://github.com/react-native-community/cli/commits/v6.2.0/packages/platform-ios)

---
updated-dependencies:
- dependency-name: "@react-native-community/cli-platform-ios"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-16 13:47:16 -08:00
dependabot[bot] cf40bad642
📦 Bump @types/lodash from 4.14.176 to 4.14.177 (#9147)
Bumps [@types/lodash](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/lodash) from 4.14.176 to 4.14.177.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/lodash)

---
updated-dependencies:
- dependency-name: "@types/lodash"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-16 13:46:50 -08:00
dependabot[bot] c2ec24eaf6
📦 Bump @react-native-community/cli-platform-android from 6.1.0 to 6.2.0 (#9149)
Bumps [@react-native-community/cli-platform-android](https://github.com/react-native-community/cli/tree/HEAD/packages/platform-android) from 6.1.0 to 6.2.0.
- [Release notes](https://github.com/react-native-community/cli/releases)
- [Commits](https://github.com/react-native-community/cli/commits/v6.2.0/packages/platform-android)

---
updated-dependencies:
- dependency-name: "@react-native-community/cli-platform-android"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-16 13:46:19 -08:00
React-Native-Windows Bot c19d4a5158 applying package updates ***NO_CI*** 2021-11-16 06:09:18 +00:00
Julio César Rocha 4fa9403beb
Remove redundant WindowsTargetPlatformVersion declarations (#9131)
* Remove redundant WindowsTargetPlatformVersion declarations

* Change files

* Centralize SDK setting in Microsoft.ReactNative.WindowsSdk.Default.props

* Also overrride SDKs when version is 10.0.0.0
2021-11-15 23:57:32 +00:00
React-Native-Windows Bot dc3ba93946 applying package updates ***NO_CI*** 2021-11-13 06:09:00 +00:00
Nick Gerleman d336f1a736
NuGet Lockfile Improvements and Caching Removal (#9093)
* NuGet Caching Improvements

We are only caching the directory that packages.config style projects restore to. Cache the ProjectReference ones.

Enforces that lockfiles are updated in CI, so that we do not see lockfile changes during build interfering with cache. Updated related projects to look more like template, and fix non-deterministic lockfiles.

Adds logic to only cache the zipped nupkg files, since the nuget cache directory redundantly includes both them, and loose extracted files.

* fixes

* try diffferent glob

* fixes

* update directoeries

* typo

* try different glob

* No partial restore

* remove caching
2021-11-12 16:02:20 -08:00
Eric Rozell 2e05cd78ee
Removes unnecessary prop settings on VM base class (#9051)
* Removes unnecessary prop settings on VM base class

Removes the explicit setting of layout prop values on
FrameworkElementViewManager for:
- width
- height
- minWidth
- minHeight
- maxWidth
- maxHeight

Setting these values can cause the bug described in #9050 due to the
special treatment of numeric values for these props.

These props should not be needed at all. If a view is self-measuring,
Yoga hands the parameters of layout via the self-measuring callback, and
at any rate the width and height props are cleared before measuring:
8adef58a52/vnext/Microsoft.ReactNative/Views/ViewManagerBase.cpp (L70-L71)

And the `minWidth` / `maxWidth` props will be accounted for in the Yoga
layout calculation when setting the width/height bounds and measurement
modes.

Fixes #9050

* Change files
2021-11-12 08:25:58 -08:00
Julio César Rocha 1b2c2a3081
Fix crash loading bundle in win32 (#9120)
* Fix crash loading bundle in win32

* Change files
2021-11-12 09:20:56 +00:00
React-Native-Windows Bot 6356ed3766 applying package updates ***NO_CI*** 2021-11-12 06:09:53 +00:00
dannyvv b9c7719736
Add dependency resolution to address CVE-2021-3765 in validator (#9113) 2021-11-12 04:28:24 +00:00
Ruriko Araki ea292e188b
Fix `ViewWin32` test for `enableFocusRing` (#9114)
* Fix test case to have correct state

* Change files
2021-11-11 16:00:55 -08:00
Ruriko Araki b1f9db3915
Add `enableFocusRing` to RNWin32 (#9110)
* Add enableFocusRing prop for View and test

* Change files

* Add more testing
2021-11-11 08:58:19 -08:00
Nick Gerleman 0f21492570 publish fix 2021-11-10 17:33:28 -08:00
React-Native-Windows Bot cb013f88c1 applying package updates ***NO_CI*** 2021-11-10 23:57:31 +00:00
Nick Gerleman a58bcdcf64
Add MSRN Debug NuGet Packages (#9097)
* Add MSRN Debug NuGet Packages

Paths to debug files are stripped from the MSRN nuspec before publishing. We have been able to generate NuGet packages with debug bits, but only used them for PR testing.

This change adds: `Microsoft.ReactNative.Debug`, `Microsoft.ReactNative.ProjectReunion.Debug`, `Microsoft.ReactNative.Managed.Debug`. These are drop-in replacements for the old NuGet package, just using debug bits.

It also switches PR's NuGet init tests to use release binaries, since those are what we'd use out of the box from the template.

* yaml

* yaml

* yaml

* indentation

* Change files

* x86

* Update .ado/templates/prep-and-pack-nuget.yml

* x64

* $

* Pass as JSON

* interp

* 😢

* fixes

* Install pwsh

* Use test pool

* Back to normal image

* Remove debug reunion

* Remove debug reunion from publish

* RnwNativeBuildReunion remove debug
2021-11-10 23:18:23 +00:00
dependabot[bot] 90c0cf068a
📦 Bump @types/react-native from 0.66.3 to 0.66.4 (#9108)
Bumps [@types/react-native](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-native) from 0.66.3 to 0.66.4.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-native)

---
updated-dependencies:
- dependency-name: "@types/react-native"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-10 11:47:03 -08:00
Nick Gerleman 8613f0a268
fix desktop publish typo (#9106) 2021-11-10 11:43:07 -08:00
Nick Gerleman b963ef65de
Remove `shouldSkipPRBuild` (#9086)
Current logic attempts to waive PR validation from running for a subset of changes based on file extension. Includes Markdown-only changes.

We want to run PR on Markdown Changes though, because we have PR checks to lint Markdown.

Remove the shouldSkipPRBuild logic.
2021-11-10 19:10:26 +00:00
dependabot[bot] a1b32d48b0
📦 Bump eslint-plugin-react-hooks from 4.2.0 to 4.3.0 (#9104)
Bumps [eslint-plugin-react-hooks](https://github.com/facebook/react/tree/HEAD/packages/eslint-plugin-react-hooks) from 4.2.0 to 4.3.0.
- [Release notes](https://github.com/facebook/react/releases)
- [Changelog](https://github.com/facebook/react/blob/main/packages/eslint-plugin-react-hooks/CHANGELOG.md)
- [Commits](https://github.com/facebook/react/commits/HEAD/packages/eslint-plugin-react-hooks)

---
updated-dependencies:
- dependency-name: eslint-plugin-react-hooks
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-10 10:55:38 -08:00
dependabot[bot] cebee19ed0
📦 Bump @babel/runtime from 7.16.0 to 7.16.3 (#9101)
Bumps [@babel/runtime](https://github.com/babel/babel/tree/HEAD/packages/babel-runtime) from 7.16.0 to 7.16.3.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.16.3/packages/babel-runtime)

---
updated-dependencies:
- dependency-name: "@babel/runtime"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-10 10:55:23 -08:00
dependabot[bot] 57fd4a8ebf
📦 Bump @types/node from 14.17.32 to 14.17.33 (#9090)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.17.32 to 14.17.33.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-10 10:55:09 -08:00
dependabot[bot] e84ef223d2
📦 Bump @babel/traverse from 7.16.0 to 7.16.3 (#9103)
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.16.0 to 7.16.3.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.16.3/packages/babel-traverse)

---
updated-dependencies:
- dependency-name: "@babel/traverse"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-10 10:54:51 -08:00
Julio César Rocha 0498237784
Ensure EditorConfig formatting (#9100)
* Ensure EditorConfig formatting

* Fix indentation

* Fix indentation
2021-11-10 01:13:05 -08:00