Files
react-native/packages/react-native-bots/package.json
T
Luna Wei d9f7c4c189 Use @rnx-kit/rn-changelog-generator for changelog validation in danger (#36507)
Summary:
Currently we have a tool (rnx-kit/rn-changelog-generator) that extracts changelog messages from our commit history to generate the changelog for a React Native release.

In hopes of standardizing to one place where changelog validation occurs -- I've moved this logic to the package rnx-kit/rn-changelog-generator such that if the formatting ever changes, the changelog parsing is also updated.

Changelog: [Internal] - Updating danger to use logic in rnx-kit/rn-changelog-generator for changelog validation.

Pull Request resolved: https://github.com/facebook/react-native/pull/36507

Test Plan: Tried `require`-ing the package and on a changelog message. I'm not sure exactly how to test a dangerfile -- IIRC it has to run off `main`

Reviewed By: cortinico, cipolleschi

Differential Revision: D44183479

Pulled By: lunaleaps

fbshipit-source-id: f65440f7b66a048f961d4698d78210c74e276452
2023-03-27 13:27:43 -07:00

18 lines
391 B
JSON

{
"name": "@react-native/bots",
"version": "0.0.0",
"private": true,
"devDependencies": {
"@rnx-kit/rn-changelog-generator": "^0.4.0",
"@seadub/danger-plugin-eslint": "^3.0.2",
"danger": "^11.2.1",
"eslint": "^8.19.0",
"lodash.includes": "^4.3.0",
"minimatch": "^3.0.4"
},
"dependencies": {
"@octokit/rest": "^18.12.0",
"firebase": "^9.6.5"
}
}