78 lines
1.6 KiB
JSON
78 lines
1.6 KiB
JSON
{
|
|
"$schema": "./node_modules/nx/schemas/nx-schema.json",
|
|
"namedInputs": {
|
|
"default": [
|
|
"{projectRoot}/**/*",
|
|
"sharedGlobals"
|
|
],
|
|
"production": [
|
|
"default",
|
|
"!{projectRoot}/**/?(*.)+(spec|test).[jt]s?(x)?(.snap)",
|
|
"!{projectRoot}/tsconfig.spec.json",
|
|
"!{projectRoot}/.eslintrc.json",
|
|
"!{projectRoot}/eslint.config.js",
|
|
"!{projectRoot}/jest.config.[jt]s",
|
|
"!{projectRoot}/src/test-setup.[jt]s",
|
|
"!{projectRoot}/test-setup.[jt]s"
|
|
],
|
|
"sharedGlobals": []
|
|
},
|
|
"plugins": [
|
|
{
|
|
"plugin": "@nx/vite/plugin",
|
|
"options": {
|
|
"buildTargetName": "build",
|
|
"testTargetName": "test",
|
|
"serveTargetName": "serve",
|
|
"previewTargetName": "preview",
|
|
"serveStaticTargetName": "serve-static"
|
|
}
|
|
},
|
|
{
|
|
"plugin": "@nx/eslint/plugin",
|
|
"options": {
|
|
"targetName": "lint"
|
|
}
|
|
},
|
|
{
|
|
"plugin": "@nx/playwright/plugin",
|
|
"options": {
|
|
"targetName": "e2e"
|
|
}
|
|
}
|
|
],
|
|
"generators": {
|
|
"@nx/react": {
|
|
"application": {
|
|
"babel": true,
|
|
"style": "scss",
|
|
"linter": "eslint",
|
|
"bundler": "vite"
|
|
},
|
|
"component": {
|
|
"style": "scss"
|
|
},
|
|
"library": {
|
|
"style": "scss",
|
|
"linter": "eslint",
|
|
"unitTestRunner": "vitest"
|
|
}
|
|
}
|
|
},
|
|
"release": {
|
|
"changelog": {
|
|
"workspaceChangelog": true,
|
|
"file": "CHANGELOG.md",
|
|
"git": {
|
|
"commit": false,
|
|
"tag": false
|
|
}
|
|
},
|
|
"version": {
|
|
"git": {
|
|
"commit": false,
|
|
"tag": false
|
|
}
|
|
}
|
|
}
|
|
} |