mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
RN: Move {packages => private}/react-native-bots (#51932)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/51932 Moves `packages/react-native-bots` to `private/react-native-bots`. Changelog: [Internal] Reviewed By: huntie Differential Revision: D76354266 fbshipit-source-id: 6ca714c8b0c881b073d84a2f033f78d366ed3f24
This commit is contained in:
committed by
Facebook GitHub Bot
parent
df52bbe649
commit
683054c512
+1
-1
@@ -9,7 +9,7 @@
|
||||
<PROJECT_ROOT>/packages/react-native-codegen/e2e/__test_fixtures__/modules/NativeEnumTurboModule.js
|
||||
|
||||
; Ignore the Dangerfile
|
||||
<PROJECT_ROOT>/packages/react-native-bots/dangerfile.js
|
||||
<PROJECT_ROOT>/private/react-native-bots/dangerfile.js
|
||||
|
||||
; Ignore "BUCK" generated dirs
|
||||
<PROJECT_ROOT>/\.buckd/
|
||||
|
||||
@@ -16,7 +16,7 @@ export GITHUB_REPO=-react-native
|
||||
|
||||
echo google-java-format
|
||||
node scripts/lint-java.js --diff
|
||||
} | node packages/react-native-bots/code-analysis-bot.js
|
||||
} | node private/react-native-bots/code-analysis-bot.js
|
||||
|
||||
STATUS=$?
|
||||
if [ $STATUS == 0 ]; then
|
||||
|
||||
@@ -24,6 +24,6 @@ jobs:
|
||||
uses: ./.github/actions/yarn-install
|
||||
- name: Danger
|
||||
run: yarn danger ci --use-github-checks --failOnErrors
|
||||
working-directory: packages/react-native-bots
|
||||
working-directory: private/react-native-bots
|
||||
env:
|
||||
DANGER_GITHUB_API_TOKEN: ${{ secrets.REACT_NATIVE_BOT_GITHUB_TOKEN }}
|
||||
|
||||
@@ -1,22 +0,0 @@
|
||||
{
|
||||
"name": "@react-native/bots",
|
||||
"description": "React Native Bots",
|
||||
"version": "0.80.0-main",
|
||||
"private": true,
|
||||
"license": "MIT",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/facebook/react-native.git",
|
||||
"directory": "packages/react-native-bots"
|
||||
},
|
||||
"homepage": "https://github.com/facebook/react-native/tree/HEAD/packages/react-native-bots#readme",
|
||||
"engines": {
|
||||
"node": ">= 22.14.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@rnx-kit/rn-changelog-generator": "^0.4.0",
|
||||
"danger": "^13.0.4",
|
||||
"lodash.includes": "^4.3.0",
|
||||
"minimatch": "^3.0.4"
|
||||
}
|
||||
}
|
||||
@@ -9,7 +9,7 @@ You'll need a GitHub Public Access Token (PAT). It will look like `github_pat_<R
|
||||
So, for example:
|
||||
|
||||
```
|
||||
cd packages/react-native-bots && yarn
|
||||
cd private/react-native-bots && yarn
|
||||
DANGER_GITHUB_API_TOKEN=ghp_<REDACTED> yarn danger pr https://github.com/facebook/react-native/pull/1234
|
||||
```
|
||||
|
||||
Vendored
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"name": "@react-native/bots",
|
||||
"version": "0.0.0",
|
||||
"private": true,
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
"node": ">= 22.14.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@rnx-kit/rn-changelog-generator": "^0.4.0",
|
||||
"danger": "^13.0.4",
|
||||
"lodash.includes": "^4.3.0",
|
||||
"minimatch": "^3.0.4"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user