2025-04-22 14:38:57 +03:00
|
|
|
{
|
|
|
|
"$schema": "./node_modules/nx/schemas/nx-schema.json",
|
|
|
|
"defaultBase": "master",
|
|
|
|
"namedInputs": {
|
|
|
|
"default": [
|
|
|
|
"{projectRoot}/**/*",
|
|
|
|
"sharedGlobals"
|
|
|
|
],
|
|
|
|
"production": [
|
2025-04-22 14:45:25 +03:00
|
|
|
"default",
|
|
|
|
"!{projectRoot}/.eslintrc.json",
|
|
|
|
"!{projectRoot}/eslint.config.mjs",
|
|
|
|
"!{projectRoot}/**/?(*.)+(spec|test).[jt]s?(x)?(.snap)",
|
|
|
|
"!{projectRoot}/tsconfig.spec.json",
|
|
|
|
"!{projectRoot}/src/test-setup.[jt]s"
|
2025-04-22 14:38:57 +03:00
|
|
|
],
|
|
|
|
"sharedGlobals": []
|
|
|
|
},
|
|
|
|
"plugins": [
|
|
|
|
{
|
|
|
|
"plugin": "@nx/js/typescript",
|
|
|
|
"options": {
|
|
|
|
"typecheck": {
|
|
|
|
"targetName": "typecheck"
|
|
|
|
},
|
|
|
|
"build": {
|
|
|
|
"targetName": "build",
|
|
|
|
"configName": "tsconfig.lib.json",
|
|
|
|
"buildDepsName": "build-deps",
|
|
|
|
"watchDepsName": "watch-deps"
|
|
|
|
}
|
|
|
|
}
|
2025-04-22 14:45:25 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"plugin": "@nx/eslint/plugin",
|
|
|
|
"options": {
|
|
|
|
"targetName": "lint"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"plugin": "@nx/vite/plugin",
|
|
|
|
"options": {
|
|
|
|
"buildTargetName": "build",
|
|
|
|
"testTargetName": "test",
|
|
|
|
"serveTargetName": "serve",
|
|
|
|
"devTargetName": "dev",
|
|
|
|
"previewTargetName": "preview",
|
|
|
|
"serveStaticTargetName": "serve-static",
|
|
|
|
"typecheckTargetName": "typecheck",
|
|
|
|
"buildDepsTargetName": "build-deps",
|
|
|
|
"watchDepsTargetName": "watch-deps"
|
|
|
|
}
|
2025-04-22 17:13:17 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"plugin": "@nx/webpack/plugin",
|
|
|
|
"options": {
|
|
|
|
"buildTargetName": "build",
|
|
|
|
"serveTargetName": "serve",
|
|
|
|
"previewTargetName": "preview",
|
|
|
|
"buildDepsTargetName": "build-deps",
|
|
|
|
"watchDepsTargetName": "watch-deps"
|
|
|
|
}
|
2025-04-22 14:45:25 +03:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"targetDefaults": {
|
|
|
|
"@nx/js:swc": {
|
|
|
|
"cache": true,
|
|
|
|
"dependsOn": [
|
|
|
|
"^build"
|
|
|
|
],
|
|
|
|
"inputs": [
|
|
|
|
"production",
|
|
|
|
"^production"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"test": {
|
|
|
|
"dependsOn": [
|
|
|
|
"^build"
|
|
|
|
]
|
2025-04-22 21:25:17 +03:00
|
|
|
},
|
|
|
|
"@nx/esbuild:esbuild": {
|
|
|
|
"cache": true,
|
|
|
|
"dependsOn": [
|
|
|
|
"^build"
|
|
|
|
],
|
|
|
|
"inputs": [
|
|
|
|
"production",
|
|
|
|
"^production"
|
|
|
|
]
|
2025-04-22 14:38:57 +03:00
|
|
|
}
|
2025-04-22 14:45:25 +03:00
|
|
|
}
|
2025-04-22 14:38:57 +03:00
|
|
|
}
|