mirror of
https://dev.azure.com/hugendubel/ISA/_git/ISA-Frontend
synced 2025-12-28 22:42:11 +01:00
- Enable @nx/enforce-module-boundaries ESLint rule - Add type-based constraints (feature, data-access, ui, shared, util, core, common) - Add domain-based constraints (oms, crm, remission, checkout, availability, etc.) - Prevent feature->feature, data-access->data-access dependencies - Enforce domain isolation (no cross-domain imports) - Tag all 80+ libraries with scope and type tags - Create automated tagging script for new libraries - Configure isa-app violations to be ignored Rules enforce: - Feature can import: data-access, ui, shared, util, core, common, icons - Data-access can import: util, generated, common, core only - UI can import: util, core, icons only - Cross-domain imports forbidden (except shared, core, common, ui, utils, icons) - Generated APIs only importable by data-access libraries
30 lines
680 B
JSON
30 lines
680 B
JSON
{
|
|
"name": "generated-swagger-isa-api",
|
|
"$schema": "../../../node_modules/nx/schemas/project-schema.json",
|
|
"sourceRoot": "generated/swagger/isa-api/src",
|
|
"prefix": "lib",
|
|
"projectType": "library",
|
|
"tags": [
|
|
"generated",
|
|
"swagger",
|
|
"isa",
|
|
"api",
|
|
"scope:generated",
|
|
"type:generated"
|
|
],
|
|
"targets": {
|
|
"generate": {
|
|
"command": "ng-swagger-gen --config {projectRoot}/ng-swagger-gen.json --output {projectRoot}/src",
|
|
"inputs": [
|
|
"^production",
|
|
"{projectRoot}/ng-swagger-gen.json",
|
|
"!{projectRoot}/src/**/*.ts"
|
|
],
|
|
"outputs": [
|
|
"{projectRoot}/src"
|
|
],
|
|
"cache": false
|
|
}
|
|
}
|
|
}
|