Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .nx/version-plans/version-plan-1753834774679.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
__default__: patch
---

Implement paused in Debugger overlay
17 changes: 10 additions & 7 deletions packages/nx-release-version/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// @ts-check

const {REPO_ROOT} = require('../../scripts/consts');
const JsVersionActions = require('@nx/js/src/release/version-actions').default;
const {default: JsVersionActions, afterAllProjectsVersioned: baseAfterAllProjectsVersioned} = require('@nx/js/src/release/version-actions');
const fs = require('node:fs');
const path = require('node:path');

Expand Down Expand Up @@ -66,12 +66,15 @@ async function runSetVersion() {
/**
* Custom afterAllProjectsVersioned hook for React Native macOS
* Updates React Native artifacts after all projects have been versioned
* @param {string} _cwd - Current working directory (unused)
* @param {object} _opts - Options object containing versioning information (unused)
* @param {string} cwd - Current working directory
* @param {object} opts - Options object containing versioning information
* @returns {Promise<{changedFiles: string[], deletedFiles: string[]}>}
*/
const afterAllProjectsVersioned = async (_cwd, _opts) => {
const changedFiles = [];
const afterAllProjectsVersioned = async (cwd, opts) => {
const baseResult = await baseAfterAllProjectsVersioned(cwd, opts);

const changedFiles = [...baseResult.changedFiles];
const deletedFiles = [...baseResult.deletedFiles];

try {
// Create the .rnm-publish file to indicate versioning has occurred
Expand All @@ -80,7 +83,7 @@ const afterAllProjectsVersioned = async (_cwd, _opts) => {
// Update React Native artifacts
const versionedFiles = await runSetVersion();

// Return the versioned files so Nx can track them
// Add the versioned files to changed files
changedFiles.push(...versionedFiles);

console.log('✅ Updated React Native artifacts');
Expand All @@ -93,7 +96,7 @@ const afterAllProjectsVersioned = async (_cwd, _opts) => {

return {
changedFiles,
deletedFiles: [],
deletedFiles,
};
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const version: $ReadOnly<{
}> = {
major: 0,
minor: 76,
patch: 11,
patch: 10,
prerelease: null,
};

Expand Down
2 changes: 1 addition & 1 deletion packages/react-native/React/Base/RCTVersion.m
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
__rnVersion = @{
RCTVersionMajor: @(0),
RCTVersionMinor: @(76),
RCTVersionPatch: @(11),
RCTVersionPatch: @(10),
RCTVersionPrerelease: [NSNull null],
};
});
Expand Down
2 changes: 1 addition & 1 deletion packages/react-native/ReactAndroid/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VERSION_NAME=0.76.11
VERSION_NAME=0.76.10
react.internal.publishingGroup=com.facebook.react

android.useAndroidX=true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ public class ReactNativeVersion {
public static final Map<String, Object> VERSION = MapBuilder.<String, Object>of(
"major", 0,
"minor", 76,
"patch", 11,
"patch", 10,
"prerelease", null);
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ namespace facebook::react {
constexpr struct {
int32_t Major = 0;
int32_t Minor = 76;
int32_t Patch = 11;
int32_t Patch = 10;
std::string_view Prerelease = "";
} ReactNativeVersion;

Expand Down
4 changes: 2 additions & 2 deletions packages/react-native/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-native-macos",
"version": "0.76.11",
"version": "0.76.10",
"description": "React Native for macOS",
"license": "MIT",
"repository": {
Expand Down Expand Up @@ -112,7 +112,7 @@
},
"dependencies": {
"@jest/create-cache-key-function": "^29.6.3",
"@react-native-macos/virtualized-lists": "0.76.11",
"@react-native-macos/virtualized-lists": "0.76.10",
"@react-native/assets-registry": "0.76.9",
"@react-native/codegen": "0.76.9",
"@react-native/community-cli-plugin": "0.76.9",
Expand Down
2 changes: 1 addition & 1 deletion packages/virtualized-lists/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@react-native-macos/virtualized-lists",
"version": "0.76.11",
"version": "0.76.10",
"description": "Virtualized lists for React Native macOS.",
"license": "MIT",
"repository": {
Expand Down