Skip to content

Commit e7c6155

Browse files
authored
Merge pull request #1914 from amgleitman/monorepo-pipeline-fixes
ADO and repo housekeeping before 0.72-stable cut
2 parents a449d8f + b26a8e9 commit e7c6155

File tree

8 files changed

+18
-17
lines changed

8 files changed

+18
-17
lines changed

.ado/apple-integration.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
echo "##vso[task.setvariable variable=rncli_ios_version]$(cat package.json | jq '.dependencies."@react-native-community/cli-platform-ios"')"
4242
displayName: 'Determine react-native-macos version'
4343
- bash: |
44-
npm pack
44+
npm pack ./packages/react-native
4545
displayName: 'Pack react-native-macos'
4646
- bash: |
4747
git clone --progress https://github.com/microsoft/react-native-test-app.git

.ado/publish.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ trigger:
99
include:
1010
- main
1111
- '*-stable'
12+
exclude:
13+
- 0.72-stable
1214
paths:
1315
exclude:
1416
- package.json

.ado/templates/react-native-macos-init.yml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ steps:
1111

1212
- template: apple-tools-setup.yml
1313

14+
- template: verdaccio-init.yml
15+
- template: verdaccio-publish.yml
16+
1417
# First do a build of the local package, since we point the cli at the local files, it needs to be pre-built
1518
- task: CmdLine@2
1619
displayName: yarn install (local react-native-macos)
@@ -31,15 +34,6 @@ steps:
3134
cd packages/react-native-macos-init
3235
yarn build
3336
34-
- template: verdaccio-init.yml
35-
36-
- task: CmdLine@2
37-
displayName: Set package version
38-
inputs:
39-
script: node scripts/set-rn-version.js -b dry-run -v 1000.0.0
40-
41-
- template: verdaccio-publish.yml
42-
4337
- task: CmdLine@2
4438
displayName: Init new project
4539
inputs:
Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
11
# Publishes local packages to our verdaccio server.
22

33
steps:
4-
- script: |
5-
npm publish --registry http://localhost:4873
6-
displayName: Publish react-native-macos to verdaccio
7-
workingDirectory: packages/react-native
8-
94
- script: |
105
npx beachball publish --branch origin/$(System.PullRequest.TargetBranch) --no-push --registry http://localhost:4873 --yes --access public
116
displayName: Publish react-native-macos-init to verdaccio

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,9 @@ package-lock.json
114114
/packages/react-native/template/ios/Podfile.lock
115115
/packages/rn-tester/Gemfile.lock
116116

117+
# RNTester sourcemaps [macOS]
118+
/packages/rn-tester/sourcemap.*.map
119+
117120
# Ignore RNTester specific Pods, but keep the __offline_mirrors__ here.
118121
/packages/rn-tester/Pods/*
119122
!/packages/rn-tester/Pods/__offline_mirrors_hermes__
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "patch",
3+
"comment": "Manually bump virtualized-lists to 0.72.0",
4+
"packageName": "@react-native-mac/virtualized-lists",
5+
"email": "[email protected]",
6+
"dependentChangeType": "patch"
7+
}

packages/react-native/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@
8888
"@react-native/gradle-plugin": "^0.72.5",
8989
"@react-native/js-polyfills": "^0.72.1",
9090
"@react-native/normalize-colors": "^0.72.0",
91-
"@react-native-mac/virtualized-lists": "^0.1.0",
91+
"@react-native-mac/virtualized-lists": "^0.72.0-0",
9292
"abort-controller": "^3.0.0",
9393
"anser": "^1.4.9",
9494
"base64-js": "^1.1.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-mac/virtualized-lists",
3-
"version": "0.1.0",
3+
"version": "0.72.0-0",
44
"description": "Virtualized lists for React Native macOS.",
55
"repository": {
66
"type": "git",

0 commit comments

Comments
 (0)