Skip to content

Commit 5e3fbb0

Browse files
authored
ci(0.76): set npmAuthToken in yarnrc, not npmrc (#2606)
Backport of #2603
1 parent 1c6e22e commit 5e3fbb0

File tree

10 files changed

+20
-13
lines changed

10 files changed

+20
-13
lines changed

.ado/jobs/npm-publish.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@ jobs:
5050
# Disable Nightly publishing on the main branch
5151
- ${{ if endsWith(variables['Build.SourceBranchName'], '-stable') }}:
5252
- script: |
53-
echo "//registry.npmjs.org/:_authToken=$(npmAuthToken)" > ~/.npmrc
53+
yarn config set npmPublishRegistry "https://registry.npmjs.org"
54+
yarn config set npmAuthToken $(npmAuthToken)
5455
node .ado/scripts/prepublish-check.mjs --verbose --tag $(publishTag)
5556
displayName: Set and validate npm auth
5657
condition: and(succeeded(), eq(variables['publish_react_native_macos'], '1'))
@@ -76,6 +77,7 @@ jobs:
7677
condition: and(succeeded(), eq(variables['publish_react_native_macos'], '1'))
7778
7879
- script: |
79-
rm -f ~/.npmrc
80-
displayName: Remove npmrc if it exists
80+
yarn config unset npmAuthToken
81+
yarn config unset npmPublishRegistry
82+
displayName: Unset npm configuration
8183
condition: always()
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
__default__: patch
3+
---
4+
5+
Implement paused in Debugger overlay

packages/react-native/Libraries/Core/ReactNativeVersion.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const version: $ReadOnly<{
1616
}> = {
1717
major: 0,
1818
minor: 76,
19-
patch: 11,
19+
patch: 10,
2020
prerelease: null,
2121
};
2222

packages/react-native/React/Base/RCTVersion.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
__rnVersion = @{
2424
RCTVersionMajor: @(0),
2525
RCTVersionMinor: @(76),
26-
RCTVersionPatch: @(11),
26+
RCTVersionPatch: @(10),
2727
RCTVersionPrerelease: [NSNull null],
2828
};
2929
});

packages/react-native/ReactAndroid/gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
VERSION_NAME=0.76.11
1+
VERSION_NAME=0.76.10
22
react.internal.publishingGroup=com.facebook.react
33

44
android.useAndroidX=true

packages/react-native/ReactAndroid/src/main/java/com/facebook/react/modules/systeminfo/ReactNativeVersion.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@ public class ReactNativeVersion {
1717
public static final Map<String, Object> VERSION = MapBuilder.<String, Object>of(
1818
"major", 0,
1919
"minor", 76,
20-
"patch", 11,
20+
"patch", 10,
2121
"prerelease", null);
2222
}

packages/react-native/ReactCommon/cxxreact/ReactNativeVersion.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ namespace facebook::react {
1717
constexpr struct {
1818
int32_t Major = 0;
1919
int32_t Minor = 76;
20-
int32_t Patch = 11;
20+
int32_t Patch = 10;
2121
std::string_view Prerelease = "";
2222
} ReactNativeVersion;
2323

packages/react-native/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-macos",
3-
"version": "0.76.11",
3+
"version": "0.76.10",
44
"description": "React Native for macOS",
55
"license": "MIT",
66
"repository": {
@@ -112,7 +112,7 @@
112112
},
113113
"dependencies": {
114114
"@jest/create-cache-key-function": "^29.6.3",
115-
"@react-native-macos/virtualized-lists": "0.76.11",
115+
"@react-native-macos/virtualized-lists": "0.76.10",
116116
"@react-native/assets-registry": "0.76.9",
117117
"@react-native/codegen": "0.76.9",
118118
"@react-native/community-cli-plugin": "0.76.9",

packages/virtualized-lists/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@react-native-macos/virtualized-lists",
3-
"version": "0.76.11",
3+
"version": "0.76.10",
44
"description": "Virtualized lists for React Native macOS.",
55
"license": "MIT",
66
"repository": {

yarn.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3426,7 +3426,7 @@ __metadata:
34263426
languageName: unknown
34273427
linkType: soft
34283428

3429-
"@react-native-macos/virtualized-lists@npm:0.76.11, @react-native-macos/virtualized-lists@workspace:packages/virtualized-lists":
3429+
"@react-native-macos/virtualized-lists@npm:0.76.10, @react-native-macos/virtualized-lists@workspace:packages/virtualized-lists":
34303430
version: 0.0.0-use.local
34313431
resolution: "@react-native-macos/virtualized-lists@workspace:packages/virtualized-lists"
34323432
dependencies:
@@ -12338,7 +12338,7 @@ __metadata:
1233812338
resolution: "react-native-macos@workspace:packages/react-native"
1233912339
dependencies:
1234012340
"@jest/create-cache-key-function": "npm:^29.6.3"
12341-
"@react-native-macos/virtualized-lists": "npm:0.76.11"
12341+
"@react-native-macos/virtualized-lists": "npm:0.76.10"
1234212342
"@react-native/assets-registry": "npm:0.76.9"
1234312343
"@react-native/codegen": "npm:0.76.9"
1234412344
"@react-native/community-cli-plugin": "npm:0.76.9"

0 commit comments

Comments
 (0)