Copy (and clean) recipes from qossmic/deptrac to deptrac/deptrac (#1836)

This commit is contained in:
Hugo Alliaume
2025-07-27 15:02:44 +02:00
committed by GitHub
parent 9caa25d6b8
commit 3176222bf5
2 changed files with 38 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
deptrac:
paths:
- ./src
exclude_files:
- '#.*test.*#'
layers:
-
name: Controller
collectors:
-
type: classLike
value: .*Controller.*
-
name: Repository
collectors:
-
type: classLike
value: .*Repository.*
-
name: Service
collectors:
-
type: classLike
value: .*Service.*
ruleset:
Controller:
- Service
Service:
- Repository
Repository:

View File

@@ -0,0 +1,8 @@
{
"copy-from-recipe": {
"deptrac.yaml": "deptrac.yaml"
},
"gitignore": [
"/.deptrac.cache"
]
}