Skip to content

[pull] main from microsoft:main #33

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 38 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
5c909b4
ci: mark unforked monorepo packages as private (#2483)
Saadnajmi Apr 23, 2025
5d1be36
(Chore) Update axios to 1.9.0. (#2494)
hansenyy May 15, 2025
ce68f92
fix: fix build failure with older versions and Hermes (#2500)
tido64 May 20, 2025
e1ded73
fix: fix `TextPropsMacOS` using the wrong `MouseEvent` type (#2507)
tido64 Jun 6, 2025
1b7efce
fix(UBSAN): ensure `[RCTUITextField validAttributesForMarkedText]` Is…
Saadnajmi Jun 18, 2025
9fa3448
Turn on Hermes builds in our test matrix (#2524)
amgleitman Jun 27, 2025
2ed575c
feat: create a new docs website (#2525)
Saadnajmi Jun 28, 2025
4a29cef
fix: expose react-native-macos cli commands (#2529)
Copilot Jul 1, 2025
169e7f9
chore(deps-dev): bump undici from 5.28.5 to 5.29.0 (#2493)
dependabot[bot] Jul 1, 2025
626c8cc
feat: Use peerDependencies to get Hermes version on stable branches (…
amgleitman Jul 1, 2025
214ffac
fix: Fix a typo in Hermes-utils.rb (#2534)
amgleitman Jul 2, 2025
0d7b006
ci: move "NPM Publish (Dry Run)" to Github Actions (#2532)
Saadnajmi Jul 7, 2025
cacc1bd
fix(ci): downgrade npm auth token list check to warning (#2547)
Copilot Jul 9, 2025
48e6077
feat(docsite): Add a link to React Native Windows (#2551)
Saadnajmi Jul 9, 2025
02d5480
fix: Support Function Key Handling in macOS Views (#2554)
ColinHeffernan Jul 23, 2025
8819d6c
fix: TextInputFocus state not in sync with View focus (#2553)
Saadnajmi Jul 23, 2025
ddfd0eb
fix: add RCTAppDependencyProvider to template (#2559)
Saadnajmi Jul 23, 2025
1156c64
chore: update to nx 21 (#2560)
Saadnajmi Jul 25, 2025
133c7dd
ci: update code owners (#2571)
Saadnajmi Jul 25, 2025
370a5e1
ci: "update to nx 21" followup fixes (#2576)
Saadnajmi Jul 28, 2025
96ee79d
chore: add Yarn constraints to enforce dependency alignment (#2582)
Saadnajmi Jul 29, 2025
d947e33
feat: Implement RCTPausedInDebuggerOverlayController (#2586)
Saadnajmi Jul 31, 2025
c4b7586
fix: ensure PausedInDebuggerOverlay has message set before presenting…
Saadnajmi Aug 1, 2025
1340454
ci: use ADO variable syntax for publish tag (#2595)
Saadnajmi Aug 1, 2025
b4fec97
ci: fix nx release not updating our lock file (#2602)
Saadnajmi Aug 1, 2025
2e39616
ci: set npmAuthToken in yarnrc, not npmrc (#2603)
Saadnajmi Aug 1, 2025
5962636
ci: check yarnrc if it exists (#2608)
Saadnajmi Aug 2, 2025
20c4bd4
ci: use npm to publish directly rather than yarn (#2613)
Saadnajmi Aug 5, 2025
026f5da
fix(presssability): don't set keyboard event handlers on iOS and Andr…
Saadnajmi Aug 8, 2025
367e7a2
ci: don't use an npmrc (#2626)
Saadnajmi Aug 11, 2025
4a938fd
ci: fix typo (#2631)
Saadnajmi Aug 11, 2025
9634b2d
cherrypick: Remove unnecessary LICENSE-docs (#2636)
Saadnajmi Aug 11, 2025
d38ba46
chore: remember RCTAppDelegate main window position (#2637)
Saadnajmi Aug 12, 2025
ab14261
chore: Add `focusable` to macOS view config (#2638)
Saadnajmi Aug 12, 2025
d4d09ac
chore: Move one instance of `RCTUIView` --> `RCTPlatformView` (#2639)
Saadnajmi Aug 12, 2025
39abcfb
fix: dismiss redbox only if presented (#2640)
Saadnajmi Aug 13, 2025
3146c9c
fix: remove view config mismatches (#2642)
Saadnajmi Aug 13, 2025
26b5ed6
ci: convert remaining Azure Pipelines PR checks to Github Actions (#2…
Saadnajmi Aug 13, 2025
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
2 changes: 0 additions & 2 deletions .ado/Brewfile

This file was deleted.

356 changes: 0 additions & 356 deletions .ado/ReactApple.nuspec

This file was deleted.

37 changes: 0 additions & 37 deletions .ado/apple-pr.yml

This file was deleted.

33 changes: 0 additions & 33 deletions .ado/get-next-semver-version.js

This file was deleted.

44 changes: 0 additions & 44 deletions .ado/gitTagRelease.js

This file was deleted.

84 changes: 0 additions & 84 deletions .ado/jobs/build-test-rntester.yml

This file was deleted.

10 changes: 0 additions & 10 deletions .ado/jobs/npm-publish-dry-run.yml

This file was deleted.

79 changes: 78 additions & 1 deletion .ado/jobs/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ jobs:
variables:
- name: BUILDSECMON_OPT_IN
value: true
- name: USE_YARN_FOR_PUBLISH
value: false

timeoutInMinutes: 90
cancelTimeoutInMinutes: 5
templateContext:
Expand All @@ -16,4 +19,78 @@ jobs:
targetPath: $(System.DefaultWorkingDirectory)
artifactName: github-npm-js-publish
steps:
- template: /.ado/templates/npm-publish-steps.yml@self
- checkout: self
clean: true
fetchFilter: blob:none
persistCredentials: true

- template: /.ado/templates/configure-git.yml@self

- script: |
PUBLISH_TAG=$(jq -r '.release.version.versionActionsOptions.currentVersionResolverMetadata.tag' nx.json)
if [ -z "$PUBLISH_TAG" ] || [ "$PUBLISH_TAG" = "null" ]; then
echo "Error: Failed to read publish tag from nx.json"
exit 1
fi
echo "##vso[task.setvariable variable=publishTag]$PUBLISH_TAG"
echo "Using publish tag from nx.json: $PUBLISH_TAG"
displayName: Read publish tag from nx.json

- script: |
yarn install
displayName: Install npm dependencies

- script: |
node .ado/scripts/prepublish-check.mjs --verbose --skip-auth --tag $(publishTag)
displayName: Verify release config

- script: |
echo Target branch: $(System.PullRequest.TargetBranch)
yarn nx release --dry-run --verbose
displayName: Version and publish packages (dry run)
condition: and(succeeded(), ne(variables['publish_react_native_macos'], '1'))

# Disable Nightly publishing on the main branch
- ${{ if endsWith(variables['Build.SourceBranchName'], '-stable') }}:
- script: |
git switch $(Build.SourceBranchName)
yarn nx release --skip-publish --verbose
env:
GITHUB_TOKEN: $(githubAuthToken)
displayName: Version Packages and Github Release
condition: and(succeeded(), eq(variables['publish_react_native_macos'], '1'))

- script: |
set -eox pipefail
if [[ -f .rnm-publish ]]; then
# https://github.com/microsoft/react-native-macos/issues/2580
# `nx release publish` gets confused by the output of RNM's prepack script.
# Let's call publish directly instead on the packages we want to publish.
# yarn nx release publish --tag $(publishTag) --excludeTaskDependencies
if [ "$(USE_YARN_FOR_PUBLISH)" = "true" ]; then
echo "Configuring yarn for npm publishing"
yarn config set npmPublishRegistry "https://registry.npmjs.org"
yarn config set npmAuthToken $(npmAuthToken)
echo "Publishing with yarn npm publish"
yarn ./packages/virtualized-lists npm publish --tag $(publishTag)
yarn ./packages/react-native npm publish --tag $(publishTag)
else
echo "Publishing with npm publish"
npm publish ./packages/virtualized-lists --tag $(publishTag) --registry https://registry.npmjs.org/ --//registry.npmjs.org/:_authToken=$(npmAuthToken)
npm publish ./packages/react-native --tag $(publishTag) --registry https://registry.npmjs.org/ --//registry.npmjs.org/:_authToken=$(npmAuthToken)
fi
fi
displayName: Publish packages
condition: and(succeeded(), eq(variables['publish_react_native_macos'], '1'))

- script: |
if [ "$(USE_YARN_FOR_PUBLISH)" = "true" ]; then
echo "Cleaning up yarn npm configuration"
yarn config unset npmAuthToken || true
yarn config unset npmPublishRegistry || true
else
echo "Cleaning up npm configuration"
rm -f ~/.npmrc
fi
displayName: Remove NPM auth configuration
condition: always()
59 changes: 0 additions & 59 deletions .ado/jobs/react-native-test-app-integration.yml

This file was deleted.

22 changes: 0 additions & 22 deletions .ado/jobs/test-javascript.yml

This file was deleted.

Loading
Loading