83 lines
2.0 KiB
JSON
83 lines
2.0 KiB
JSON
|
|
{
|
||
|
|
"$schema": "./node_modules/nx/schemas/nx-schema.json",
|
||
|
|
"analytics": true,
|
||
|
|
"namedInputs": {
|
||
|
|
"default": ["{projectRoot}/**/*", "sharedGlobals"],
|
||
|
|
"production": [
|
||
|
|
"default",
|
||
|
|
"!{projectRoot}/.eslintrc.json",
|
||
|
|
"!{projectRoot}/eslint.config.mjs",
|
||
|
|
"!{projectRoot}/**/?(*.)+(spec|test).[jt]s?(x)?(.snap)",
|
||
|
|
"!{projectRoot}/tsconfig.spec.json",
|
||
|
|
"!{projectRoot}/jest.config.[jt]s",
|
||
|
|
"!{projectRoot}/src/test-setup.[jt]s",
|
||
|
|
"!{projectRoot}/test-setup.[jt]s"
|
||
|
|
],
|
||
|
|
"sharedGlobals": []
|
||
|
|
},
|
||
|
|
"plugins": [
|
||
|
|
{
|
||
|
|
"plugin": "@nx/webpack/plugin",
|
||
|
|
"options": {
|
||
|
|
"buildTargetName": "build",
|
||
|
|
"serveTargetName": "serve",
|
||
|
|
"previewTargetName": "preview",
|
||
|
|
"buildDepsTargetName": "build-deps",
|
||
|
|
"watchDepsTargetName": "watch-deps",
|
||
|
|
"serveStaticTargetName": "serve-static"
|
||
|
|
}
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"plugin": "@nx/eslint/plugin",
|
||
|
|
"options": {
|
||
|
|
"targetName": "lint"
|
||
|
|
}
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"plugin": "@nx/jest/plugin",
|
||
|
|
"options": {
|
||
|
|
"targetName": "test"
|
||
|
|
},
|
||
|
|
"exclude": ["apps/api-e2e/**/*"]
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"plugin": "@nx/playwright/plugin",
|
||
|
|
"options": {
|
||
|
|
"targetName": "e2e"
|
||
|
|
}
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"plugin": "@nx/vitest",
|
||
|
|
"options": {
|
||
|
|
"testTargetName": "test",
|
||
|
|
"ciTargetName": "test-ci",
|
||
|
|
"testMode": "watch"
|
||
|
|
}
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"targetDefaults": {
|
||
|
|
"@angular/build:application": {
|
||
|
|
"cache": true,
|
||
|
|
"dependsOn": ["^build"],
|
||
|
|
"inputs": ["production", "^production"]
|
||
|
|
},
|
||
|
|
"@angular/build:unit-test": {
|
||
|
|
"cache": true,
|
||
|
|
"inputs": ["default", "^production"]
|
||
|
|
},
|
||
|
|
"@nx/js:tsc": {
|
||
|
|
"cache": true,
|
||
|
|
"dependsOn": ["^build"],
|
||
|
|
"inputs": ["production", "^production"]
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"generators": {
|
||
|
|
"@nx/angular:application": {
|
||
|
|
"e2eTestRunner": "playwright",
|
||
|
|
"linter": "eslint",
|
||
|
|
"style": "css",
|
||
|
|
"unitTestRunner": "vitest-angular"
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|