ci: set up golden file for typescript circular dependencies (#35647)
Sets up a golden file for the TypeScript circular dependencies for source files inside of the `packages/` folder. Also sets up the appropriate Yarn shorthand scripts, and a codeowner group that is soley responsible for verifying changes to the golden. PR Close #35647
This commit is contained in:

committed by
Andrew Kushnir

parent
b7138c1ec5
commit
f5a5c36d3c
@ -8,4 +8,18 @@ To check or update the public api goldens, run one of the following commands:
|
||||
```bash
|
||||
yarn public-api:check
|
||||
yarn public-api:update
|
||||
```
|
||||
```
|
||||
|
||||
### *`packages-circular-deps.json`*
|
||||
|
||||
This golden file contains a list of all circular dependencies in the project. As part of the
|
||||
lint CI job we compare the current circular dependencies against this golden to ensure that
|
||||
we don't add more cycles. If cycles have been fixed, this file is also updated so that we can
|
||||
slowly burn down the number of cycles in the project.
|
||||
|
||||
To check or update the golden, run the following commands:
|
||||
|
||||
```bash
|
||||
yarn ts-circular-deps:check
|
||||
yarn ts-circular-deps:approve
|
||||
```
|
||||
|
5664
goldens/packages-circular-deps.json
Normal file
5664
goldens/packages-circular-deps.json
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user