refactor: establish local frontend workspace boundaries
Frontend security / security (push) Successful in 9s
Frontend verify / verify (push) Successful in 5m27s
Frontend security / security (pull_request) Successful in 10s
Frontend verify / verify (pull_request) Successful in 5m24s
Conventional commits / commits (pull_request) Failing after 26s
Frontend security / security (push) Successful in 9s
Frontend verify / verify (push) Successful in 5m27s
Frontend security / security (pull_request) Successful in 10s
Frontend verify / verify (pull_request) Successful in 5m24s
Conventional commits / commits (pull_request) Failing after 26s
OpenSpec change: evolve-frontend-stack
This commit is contained in:
@@ -1,5 +1,11 @@
|
||||
module.exports = {
|
||||
forbidden: [
|
||||
{
|
||||
name: "packages-must-not-depend-on-app",
|
||||
severity: "error",
|
||||
from: { path: "^packages/" },
|
||||
to: { path: "^src/" },
|
||||
},
|
||||
{
|
||||
name: "no-circular",
|
||||
severity: "error",
|
||||
@@ -17,6 +23,12 @@ module.exports = {
|
||||
pathNot: "^src/$1/$2/",
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "no-same-layer-cross-slice-imports",
|
||||
severity: "error",
|
||||
from: { path: "^src/(pages|features|entities)/([^/]+)/" },
|
||||
to: { path: "^src/$1/", pathNot: "^src/$1/$2/" },
|
||||
},
|
||||
{
|
||||
name: "shared-must-not-depend-on-layers",
|
||||
severity: "error",
|
||||
@@ -43,6 +55,7 @@ module.exports = {
|
||||
},
|
||||
],
|
||||
options: {
|
||||
exclude: "^packages/[^/]+/dist/",
|
||||
doNotFollow: { path: "node_modules" },
|
||||
tsConfig: { fileName: "tsconfig.app.json" },
|
||||
tsPreCompilationDeps: true,
|
||||
|
||||
Reference in New Issue
Block a user