Skip to content

Commit d243b33

Browse files
authored
ci(0.78): set npmAuthToken in yarnrc, not npmrc (#2604)
Backport of #2603
1 parent 45e8a18 commit d243b33

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: 78,
19-
patch: 5,
19+
patch: 4,
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: @(78),
26-
RCTVersionPatch: @(5),
26+
RCTVersionPatch: @(4),
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.78.5
1+
VERSION_NAME=0.78.4
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", 78,
20-
"patch", 5,
20+
"patch", 4,
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 = 78;
20-
int32_t Patch = 5;
20+
int32_t Patch = 4;
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.78.5",
3+
"version": "0.78.4",
44
"description": "React Native for macOS",
55
"license": "MIT",
66
"repository": {
@@ -111,7 +111,7 @@
111111
},
112112
"dependencies": {
113113
"@jest/create-cache-key-function": "^29.6.3",
114-
"@react-native-macos/virtualized-lists": "0.78.5",
114+
"@react-native-macos/virtualized-lists": "0.78.4",
115115
"@react-native/assets-registry": "0.78.2",
116116
"@react-native/codegen": "0.78.2",
117117
"@react-native/community-cli-plugin": "0.78.2",

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.78.5",
3+
"version": "0.78.4",
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
@@ -2803,7 +2803,7 @@ __metadata:
28032803
languageName: unknown
28042804
linkType: soft
28052805

2806-
"@react-native-macos/virtualized-lists@npm:0.78.5, @react-native-macos/virtualized-lists@workspace:packages/virtualized-lists":
2806+
"@react-native-macos/virtualized-lists@npm:0.78.4, @react-native-macos/virtualized-lists@workspace:packages/virtualized-lists":
28072807
version: 0.0.0-use.local
28082808
resolution: "@react-native-macos/virtualized-lists@workspace:packages/virtualized-lists"
28092809
dependencies:
@@ -10904,7 +10904,7 @@ __metadata:
1090410904
resolution: "react-native-macos@workspace:packages/react-native"
1090510905
dependencies:
1090610906
"@jest/create-cache-key-function": "npm:^29.6.3"
10907-
"@react-native-macos/virtualized-lists": "npm:0.78.5"
10907+
"@react-native-macos/virtualized-lists": "npm:0.78.4"
1090810908
"@react-native/assets-registry": "npm:0.78.2"
1090910909
"@react-native/codegen": "npm:0.78.2"
1091010910
"@react-native/community-cli-plugin": "npm:0.78.2"

0 commit comments

Comments
 (0)