2025-03-13 00:50:45 +07:00
|
|
|
{
|
|
|
|
|
"$schema": "./node_modules/nx/schemas/nx-schema.json",
|
|
|
|
|
"defaultBase": "master",
|
|
|
|
|
"namedInputs": {
|
2025-04-25 13:00:50 +07:00
|
|
|
"default": ["{projectRoot}/**/*", "sharedGlobals"],
|
2025-03-13 00:50:45 +07:00
|
|
|
"production": [
|
|
|
|
|
"default",
|
|
|
|
|
"!{projectRoot}/.eslintrc.json",
|
|
|
|
|
"!{projectRoot}/eslint.config.mjs",
|
|
|
|
|
"!{projectRoot}/**/?(*.)+(spec|test).[jt]s?(x)?(.snap)",
|
|
|
|
|
"!{projectRoot}/tsconfig.spec.json",
|
2025-03-16 00:33:48 +07:00
|
|
|
"!{projectRoot}/src/test-setup.[jt]s",
|
|
|
|
|
"!{projectRoot}/**/*.stories.@(js|jsx|ts|tsx|mdx)",
|
|
|
|
|
"!{projectRoot}/.storybook/**/*",
|
|
|
|
|
"!{projectRoot}/tsconfig.storybook.json"
|
2025-03-13 00:50:45 +07:00
|
|
|
],
|
|
|
|
|
"sharedGlobals": []
|
|
|
|
|
},
|
|
|
|
|
"plugins": [
|
|
|
|
|
{
|
|
|
|
|
"plugin": "@nx/eslint/plugin",
|
|
|
|
|
"options": {
|
|
|
|
|
"targetName": "lint"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"plugin": "@nx/vite/plugin",
|
|
|
|
|
"options": {
|
|
|
|
|
"buildTargetName": "build",
|
|
|
|
|
"serveTargetName": "serve",
|
|
|
|
|
"devTargetName": "dev",
|
|
|
|
|
"previewTargetName": "preview",
|
|
|
|
|
"serveStaticTargetName": "serve-static",
|
|
|
|
|
"typecheckTargetName": "typecheck",
|
|
|
|
|
"buildDepsTargetName": "build-deps",
|
|
|
|
|
"watchDepsTargetName": "watch-deps"
|
|
|
|
|
}
|
2025-03-16 00:33:48 +07:00
|
|
|
},
|
2025-04-26 20:32:58 +07:00
|
|
|
{
|
|
|
|
|
"plugin": "@nx/playwright/plugin",
|
|
|
|
|
"options": {
|
|
|
|
|
"targetName": "e2e"
|
|
|
|
|
}
|
2026-02-14 17:15:46 +07:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"plugin": "@nx/vitest",
|
|
|
|
|
"options": {
|
|
|
|
|
"testTargetName": "vitest:test",
|
|
|
|
|
"ciTargetName": "test-ci"
|
|
|
|
|
}
|
2025-03-13 00:50:45 +07:00
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"generators": {
|
|
|
|
|
"@nx/react": {
|
|
|
|
|
"application": {
|
|
|
|
|
"babel": true,
|
|
|
|
|
"style": "css",
|
|
|
|
|
"linter": "eslint",
|
|
|
|
|
"bundler": "vite"
|
|
|
|
|
},
|
|
|
|
|
"component": {
|
|
|
|
|
"style": "css"
|
|
|
|
|
},
|
|
|
|
|
"library": {
|
|
|
|
|
"style": "css",
|
2025-03-13 02:03:13 +07:00
|
|
|
"linter": "eslint",
|
|
|
|
|
"unitTestRunner": "vitest"
|
2025-03-13 00:50:45 +07:00
|
|
|
}
|
2025-04-26 20:32:58 +07:00
|
|
|
},
|
2025-03-13 02:03:13 +07:00
|
|
|
},
|
|
|
|
|
"release": {
|
|
|
|
|
"version": {
|
|
|
|
|
"preVersionCommand": "npx nx run-many -t build"
|
|
|
|
|
}
|
2025-04-26 20:32:58 +07:00
|
|
|
},
|
|
|
|
|
"targetDefaults": {
|
|
|
|
|
"e2e-ci--**/**": {
|
|
|
|
|
"dependsOn": ["^build"]
|
|
|
|
|
}
|
2025-03-13 00:50:45 +07:00
|
|
|
}
|
|
|
|
|
}
|