├── .circleci └── config.yml ├── .github └── CODEOWNERS ├── .gitignore ├── .gitleaksignore ├── .pre-commit-config.yaml ├── README.md ├── catalog-info.yaml ├── jest.config.js ├── package.json ├── src ├── cli.ts ├── commands │ ├── __fixtures__ │ │ ├── default │ │ │ ├── files.json │ │ │ ├── gitignore │ │ │ ├── gitignore-deep │ │ │ ├── index.ts │ │ │ └── owners │ │ ├── project-builder.test.helper.ts │ │ ├── types.ts │ │ └── validate │ │ │ ├── files.json │ │ │ ├── index.ts │ │ │ ├── owners │ │ │ └── owners-invalid-format │ ├── __snapshots__ │ │ ├── audit.test.int.ts.snap │ │ ├── git.test.int.ts.snap │ │ ├── validate.test.int.ts.snap │ │ └── who.test.int.ts.snap │ ├── audit.test.int.ts │ ├── audit.ts │ ├── git.test.int.ts │ ├── git.ts │ ├── validate.test.int.ts │ ├── validate.ts │ ├── who.test.int.ts │ └── who.ts ├── lib │ ├── file │ │ ├── File.ts │ │ ├── countLines.ts │ │ ├── getFilePaths.ts │ │ ├── index.ts │ │ ├── readDir.test.ts │ │ ├── readDir.ts │ │ ├── readGit.test.ts │ │ └── readGit.ts │ ├── logger │ │ ├── index.ts │ │ ├── logger.test.ts │ │ └── logger.ts │ ├── ownership │ │ ├── OwnershipEngine.test.ts │ │ ├── OwnershipEngine.ts │ │ ├── index.ts │ │ ├── ownership.test.ts │ │ ├── ownership.ts │ │ ├── types.ts │ │ └── validate.ts │ ├── stats │ │ ├── index.ts │ │ ├── stats.test.ts │ │ ├── stats.ts │ │ ├── types.ts │ │ └── writer.ts │ ├── types.ts │ └── util │ │ └── exec.ts └── test │ └── fixtures │ └── patterns.json ├── tsconfig.json └── tslint.json /.circleci/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/github-codeowners/HEAD/.circleci/config.yml -------------------------------------------------------------------------------- /.github/CODEOWNERS: -------------------------------------------------------------------------------- 1 | * @snyk/arch 2 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/github-codeowners/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitleaksignore: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.pre-commit-config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/github-codeowners/HEAD/.pre-commit-config.yaml -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/github-codeowners/HEAD/README.md -------------------------------------------------------------------------------- /catalog-info.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/github-codeowners/HEAD/catalog-info.yaml -------------------------------------------------------------------------------- /jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/github-codeowners/HEAD/jest.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/github-codeowners/HEAD/package.json -------------------------------------------------------------------------------- /src/cli.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/github-codeowners/HEAD/src/cli.ts -------------------------------------------------------------------------------- /src/commands/__fixtures__/default/files.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/github-codeowners/HEAD/src/commands/__fixtures__/default/files.json -------------------------------------------------------------------------------- /src/commands/__fixtures__/default/gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/github-codeowners/HEAD/src/commands/__fixtures__/default/gitignore -------------------------------------------------------------------------------- /src/commands/__fixtures__/default/gitignore-deep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/github-codeowners/HEAD/src/commands/__fixtures__/default/gitignore-deep -------------------------------------------------------------------------------- /src/commands/__fixtures__/default/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/github-codeowners/HEAD/src/commands/__fixtures__/default/index.ts -------------------------------------------------------------------------------- /src/commands/__fixtures__/default/owners: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/github-codeowners/HEAD/src/commands/__fixtures__/default/owners -------------------------------------------------------------------------------- /src/commands/__fixtures__/project-builder.test.helper.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/github-codeowners/HEAD/src/commands/__fixtures__/project-builder.test.helper.ts -------------------------------------------------------------------------------- /src/commands/__fixtures__/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/github-codeowners/HEAD/src/commands/__fixtures__/types.ts -------------------------------------------------------------------------------- /src/commands/__fixtures__/validate/files.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/github-codeowners/HEAD/src/commands/__fixtures__/validate/files.json -------------------------------------------------------------------------------- /src/commands/__fixtures__/validate/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/github-codeowners/HEAD/src/commands/__fixtures__/validate/index.ts -------------------------------------------------------------------------------- /src/commands/__fixtures__/validate/owners: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/github-codeowners/HEAD/src/commands/__fixtures__/validate/owners -------------------------------------------------------------------------------- /src/commands/__fixtures__/validate/owners-invalid-format: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/github-codeowners/HEAD/src/commands/__fixtures__/validate/owners-invalid-format -------------------------------------------------------------------------------- /src/commands/__snapshots__/audit.test.int.ts.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/github-codeowners/HEAD/src/commands/__snapshots__/audit.test.int.ts.snap -------------------------------------------------------------------------------- /src/commands/__snapshots__/git.test.int.ts.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/github-codeowners/HEAD/src/commands/__snapshots__/git.test.int.ts.snap -------------------------------------------------------------------------------- /src/commands/__snapshots__/validate.test.int.ts.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/github-codeowners/HEAD/src/commands/__snapshots__/validate.test.int.ts.snap -------------------------------------------------------------------------------- /src/commands/__snapshots__/who.test.int.ts.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/github-codeowners/HEAD/src/commands/__snapshots__/who.test.int.ts.snap -------------------------------------------------------------------------------- /src/commands/audit.test.int.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/github-codeowners/HEAD/src/commands/audit.test.int.ts -------------------------------------------------------------------------------- /src/commands/audit.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/github-codeowners/HEAD/src/commands/audit.ts -------------------------------------------------------------------------------- /src/commands/git.test.int.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/github-codeowners/HEAD/src/commands/git.test.int.ts -------------------------------------------------------------------------------- /src/commands/git.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/github-codeowners/HEAD/src/commands/git.ts -------------------------------------------------------------------------------- /src/commands/validate.test.int.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/github-codeowners/HEAD/src/commands/validate.test.int.ts -------------------------------------------------------------------------------- /src/commands/validate.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/github-codeowners/HEAD/src/commands/validate.ts -------------------------------------------------------------------------------- /src/commands/who.test.int.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/github-codeowners/HEAD/src/commands/who.test.int.ts -------------------------------------------------------------------------------- /src/commands/who.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/github-codeowners/HEAD/src/commands/who.ts -------------------------------------------------------------------------------- /src/lib/file/File.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/github-codeowners/HEAD/src/lib/file/File.ts -------------------------------------------------------------------------------- /src/lib/file/countLines.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/github-codeowners/HEAD/src/lib/file/countLines.ts -------------------------------------------------------------------------------- /src/lib/file/getFilePaths.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/github-codeowners/HEAD/src/lib/file/getFilePaths.ts -------------------------------------------------------------------------------- /src/lib/file/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/github-codeowners/HEAD/src/lib/file/index.ts -------------------------------------------------------------------------------- /src/lib/file/readDir.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/github-codeowners/HEAD/src/lib/file/readDir.test.ts -------------------------------------------------------------------------------- /src/lib/file/readDir.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/github-codeowners/HEAD/src/lib/file/readDir.ts -------------------------------------------------------------------------------- /src/lib/file/readGit.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/github-codeowners/HEAD/src/lib/file/readGit.test.ts -------------------------------------------------------------------------------- /src/lib/file/readGit.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/github-codeowners/HEAD/src/lib/file/readGit.ts -------------------------------------------------------------------------------- /src/lib/logger/index.ts: -------------------------------------------------------------------------------- 1 | export { log } from './logger'; 2 | -------------------------------------------------------------------------------- /src/lib/logger/logger.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/github-codeowners/HEAD/src/lib/logger/logger.test.ts -------------------------------------------------------------------------------- /src/lib/logger/logger.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/github-codeowners/HEAD/src/lib/logger/logger.ts -------------------------------------------------------------------------------- /src/lib/ownership/OwnershipEngine.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/github-codeowners/HEAD/src/lib/ownership/OwnershipEngine.test.ts -------------------------------------------------------------------------------- /src/lib/ownership/OwnershipEngine.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/github-codeowners/HEAD/src/lib/ownership/OwnershipEngine.ts -------------------------------------------------------------------------------- /src/lib/ownership/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/github-codeowners/HEAD/src/lib/ownership/index.ts -------------------------------------------------------------------------------- /src/lib/ownership/ownership.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/github-codeowners/HEAD/src/lib/ownership/ownership.test.ts -------------------------------------------------------------------------------- /src/lib/ownership/ownership.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/github-codeowners/HEAD/src/lib/ownership/ownership.ts -------------------------------------------------------------------------------- /src/lib/ownership/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/github-codeowners/HEAD/src/lib/ownership/types.ts -------------------------------------------------------------------------------- /src/lib/ownership/validate.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/github-codeowners/HEAD/src/lib/ownership/validate.ts -------------------------------------------------------------------------------- /src/lib/stats/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/github-codeowners/HEAD/src/lib/stats/index.ts -------------------------------------------------------------------------------- /src/lib/stats/stats.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/github-codeowners/HEAD/src/lib/stats/stats.test.ts -------------------------------------------------------------------------------- /src/lib/stats/stats.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/github-codeowners/HEAD/src/lib/stats/stats.ts -------------------------------------------------------------------------------- /src/lib/stats/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/github-codeowners/HEAD/src/lib/stats/types.ts -------------------------------------------------------------------------------- /src/lib/stats/writer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/github-codeowners/HEAD/src/lib/stats/writer.ts -------------------------------------------------------------------------------- /src/lib/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/github-codeowners/HEAD/src/lib/types.ts -------------------------------------------------------------------------------- /src/lib/util/exec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/github-codeowners/HEAD/src/lib/util/exec.ts -------------------------------------------------------------------------------- /src/test/fixtures/patterns.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/github-codeowners/HEAD/src/test/fixtures/patterns.json -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/github-codeowners/HEAD/tsconfig.json -------------------------------------------------------------------------------- /tslint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snyk/github-codeowners/HEAD/tslint.json --------------------------------------------------------------------------------