diff --git a/.ado/templates/npm-publish-steps.yml b/.ado/templates/npm-publish-steps.yml index a18f3dc6cf4904..a926a0165658dd 100644 --- a/.ado/templates/npm-publish-steps.yml +++ b/.ado/templates/npm-publish-steps.yml @@ -40,7 +40,5 @@ steps: - script: | rm -f ~/.npmrc - env: - NODE_AUTH_TOKEN: $(npmAuthToken) displayName: Remove npmrc if it exists condition: always() diff --git a/.nx/version-plans/version-plan-1744766603658.md b/.nx/version-plans/version-plan-1744766603658.md new file mode 100644 index 00000000000000..b6efaaac08db8d --- /dev/null +++ b/.nx/version-plans/version-plan-1744766603658.md @@ -0,0 +1,5 @@ +--- +react-native-macos: patch +--- + +Publish a new 0.78 patch release diff --git a/.yarn/patches/@nx-js-npm-20.0.7-30719000fd.patch b/.yarn/patches/@nx-js-npm-20.0.7-30719000fd.patch new file mode 100644 index 00000000000000..7986d264b0b4ea --- /dev/null +++ b/.yarn/patches/@nx-js-npm-20.0.7-30719000fd.patch @@ -0,0 +1,22 @@ +diff --git a/src/executors/release-publish/release-publish.impl.js b/src/executors/release-publish/release-publish.impl.js +index 08cd58274d308bcb2ca644e8af5bd99a153c9e91..5ce12c3cb563345ffd19159fd108ff763626b930 100644 +--- a/src/executors/release-publish/release-publish.impl.js ++++ b/src/executors/release-publish/release-publish.impl.js +@@ -246,6 +246,8 @@ Please update the local dependency on "${depName}" to be a valid semantic versio + }; + } + catch (err) { ++ console.log('Caught Error 1: ') // [macOS] ++ console.log(err) // [macOS] + try { + const stdoutData = JSON.parse(err.stdout?.toString() || '{}'); + console.error(`${pm} publish error:`); +@@ -267,6 +269,8 @@ Please update the local dependency on "${depName}" to be a valid semantic versio + }; + } + catch (err) { ++ console.log('Caught Error 2: ') // [macOS] ++ console.log(err) // [macOS] + console.error(`Something unexpected went wrong when processing the ${pm} publish output\n`, err); + return { + success: false, diff --git a/package.json b/package.json index 13a0c9fb1bd9f7..60349196f196b6 100644 --- a/package.json +++ b/package.json @@ -53,7 +53,7 @@ "@babel/preset-flow": "^7.24.7", "@definitelytyped/dtslint": "^0.0.127", "@jest/create-cache-key-function": "^29.6.3", - "@nx/js": "~20.0.0", + "@nx/js": "patch:@nx/js@npm%3A20.0.7#~/.yarn/patches/@nx-js-npm-20.0.7-30719000fd.patch", "@react-native/metro-babel-transformer": "0.78.2", "@react-native/metro-config": "0.78.2", "@tsconfig/node18": "1.0.1", diff --git a/yarn.lock b/yarn.lock index c578b4d24b7e3c..1572d3265f0db3 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2350,7 +2350,7 @@ __metadata: languageName: node linkType: hard -"@nx/js@npm:~20.0.0": +"@nx/js@npm:20.0.7, @nx/js@npm:~20.0.0": version: 20.0.7 resolution: "@nx/js@npm:20.0.7" dependencies: @@ -2393,6 +2393,49 @@ __metadata: languageName: node linkType: hard +"@nx/js@patch:@nx/js@npm%3A20.0.7#~/.yarn/patches/@nx-js-npm-20.0.7-30719000fd.patch": + version: 20.0.7 + resolution: "@nx/js@patch:@nx/js@npm%3A20.0.7#~/.yarn/patches/@nx-js-npm-20.0.7-30719000fd.patch::version=20.0.7&hash=6556dd" + dependencies: + "@babel/core": "npm:^7.23.2" + "@babel/plugin-proposal-decorators": "npm:^7.22.7" + "@babel/plugin-transform-class-properties": "npm:^7.22.5" + "@babel/plugin-transform-runtime": "npm:^7.23.2" + "@babel/preset-env": "npm:^7.23.2" + "@babel/preset-typescript": "npm:^7.22.5" + "@babel/runtime": "npm:^7.22.6" + "@nx/devkit": "npm:20.0.7" + "@nx/workspace": "npm:20.0.7" + "@zkochan/js-yaml": "npm:0.0.7" + babel-plugin-const-enum: "npm:^1.0.1" + babel-plugin-macros: "npm:^2.8.0" + babel-plugin-transform-typescript-metadata: "npm:^0.3.1" + chalk: "npm:^4.1.0" + columnify: "npm:^1.6.0" + detect-port: "npm:^1.5.1" + enquirer: "npm:~2.3.6" + fast-glob: "npm:3.2.7" + ignore: "npm:^5.0.4" + js-tokens: "npm:^4.0.0" + jsonc-parser: "npm:3.2.0" + minimatch: "npm:9.0.3" + npm-package-arg: "npm:11.0.1" + npm-run-path: "npm:^4.0.1" + ora: "npm:5.3.0" + semver: "npm:^7.5.3" + source-map-support: "npm:0.5.19" + ts-node: "npm:10.9.1" + tsconfig-paths: "npm:^4.1.2" + tslib: "npm:^2.3.0" + peerDependencies: + verdaccio: ^5.0.4 + peerDependenciesMeta: + verdaccio: + optional: true + checksum: 10c0/4ea6d88fd623baad2627dcb0a8aa68d2f5eb799b8ded1abc2984eedb508295e640244c7a5a4a57b7b060b0cd2df735142b7d8c00ea6ad33ea4c9608b078f8a14 + languageName: node + linkType: hard + "@nx/nx-darwin-arm64@npm:20.0.7": version: 20.0.7 resolution: "@nx/nx-darwin-arm64@npm:20.0.7" @@ -2685,7 +2728,7 @@ __metadata: "@babel/preset-flow": "npm:^7.24.7" "@definitelytyped/dtslint": "npm:^0.0.127" "@jest/create-cache-key-function": "npm:^29.6.3" - "@nx/js": "npm:~20.0.0" + "@nx/js": "patch:@nx/js@npm%3A20.0.7#~/.yarn/patches/@nx-js-npm-20.0.7-30719000fd.patch" "@react-native/metro-babel-transformer": "npm:0.78.2" "@react-native/metro-config": "npm:0.78.2" "@tsconfig/node18": "npm:1.0.1"