nx.json•6.22 kB
{
"cli": {
"packageManager": "yarn"
},
"generators": {
"@nx/angular:application": {
"style": "scss",
"linter": "eslint",
"unitTestRunner": "jest",
"e2eTestRunner": "cypress"
},
"@nx/angular:library": {
"linter": "eslint",
"unitTestRunner": "jest"
},
"@nx/angular:component": {
"style": "scss"
}
},
"$schema": "./node_modules/nx/schemas/nx-schema.json",
"targetDefaults": {
"build": {
"inputs": ["production", "^production"],
"cache": true
},
"test": {
"inputs": ["default", "^production", "{workspaceRoot}/jest.preset.js"],
"cache": true,
"dependsOn": ["^build"]
},
"lint": {
"inputs": ["default", "{workspaceRoot}/.eslintrc.json"],
"cache": true
},
"e2e": {
"inputs": ["default", "^production"],
"cache": true
},
"e2e-ci--**/**": {
"inputs": ["default", "^production"],
"cache": true,
"parallelism": false,
"dependsOn": ["^build", "setup-lit-dir"]
},
"e2e-local": {
"cache": true,
"parallelism": false,
"dependsOn": ["^build"]
},
"_build": {
"cache": true
},
"package": {
"cache": true
},
"extract-dependencies": {
"cache": true
},
"@nx/esbuild:esbuild": {
"cache": true,
"dependsOn": ["^build"],
"inputs": ["production", "^production"]
},
"storybook": {
"dependsOn": ["^build"]
}
},
"namedInputs": {
"default": ["{projectRoot}/**/*", "sharedGlobals"],
"kotlin": [
"{projectRoot}/build.gradle.kts",
"{projectRoot}/**/*.kt",
"{workspaceRoot}/**/gradle.properties",
"{workspaceRoot}/settings.gradle.kts",
"{workspaceRoot}/build.gradle.kts",
"{projectRoot}/run-gradle.js"
],
"production": [
"default",
"!{projectRoot}/**/?(*.)+(spec|test).[jt]s?(x)?(.snap)",
"!{projectRoot}/tsconfig.spec.json",
"!{projectRoot}/jest.config.[jt]s",
"!{projectRoot}/.eslintrc.json",
"!{projectRoot}/**/*.stories.@(js|jsx|ts|tsx|mdx)",
"!{projectRoot}/src/test-setup.[jt]s",
"!{projectRoot}/src/test/**/*",
"!{projectRoot}/.storybook/**/*",
"!{projectRoot}/tsconfig.storybook.json"
],
"sharedGlobals": [
{
"runtime": "node -p '`${process.platform}_${process.arch}`'"
},
"{workspaceRoot}/.env"
],
"scripts": ["{workspaceRoot}/tools/scripts/**"]
},
"plugins": [
{
"plugin": "@nx/js/typescript",
"options": {
"build": true
},
"exclude": [
"libs/vscode/migrate/*",
"libs/vscode/migrate-sidebar-webview/*",
"libs/shared/watcher/*",
"libs/shared/socket-utils/*"
]
},
{
"plugin": "@nx/eslint/plugin",
"options": {
"targetName": "lint"
}
},
{
"plugin": "@nx/jest/plugin",
"exclude": ["apps/nxls-e2e/**/*", "apps/nx-mcp-e2e/**/*"],
"options": {
"targetName": "test"
}
},
{
"plugin": "@nx/jest/plugin",
"include": ["apps/nxls-e2e/**/*", "apps/nx-mcp-e2e/**/*"],
"options": {
"targetName": "e2e-local",
"ciTargetName": "e2e-ci"
}
},
{
"plugin": "@nx/cypress/plugin",
"//": "Temporary disable e2e tests for generate-ui-v2",
"exclude": ["apps/generate-ui-v2-e2e/**/*"],
"options": {
"targetName": "e2e-local",
"openTargetName": "open-cypress",
"ciTargetName": "e2e-ci"
}
},
{
"plugin": "@nx/gradle",
"options": {
"testTargetName": "test",
"classesTargetName": "classes",
"buildTargetName": "build"
}
},
"@nx/enterprise-cloud",
"@nx/owners",
{
"plugin": "@nx/js/typescript",
"include": [
"libs/vscode/migrate/*",
"libs/vscode/migrate-sidebar-webview/*"
],
"options": {
"typecheck": {
"targetName": "typecheck"
},
"build": {
"targetName": "build",
"configName": "tsconfig.lib.json"
}
}
},
{
"plugin": "@nx/storybook/plugin",
"options": {
"serveStorybookTargetName": "storybook",
"buildStorybookTargetName": "build-storybook",
"testStorybookTargetName": "test-storybook",
"staticStorybookTargetName": "static-storybook"
}
},
{
"plugin": "@nx/js/typescript",
"include": ["libs/shared/watcher/*", "libs/shared/socket-utils/*"],
"options": {
"typecheck": {
"targetName": "typecheck"
}
}
}
],
"sync": {
"globalGenerators": ["@nx/owners:sync-codeowners-file"],
"applyChanges": true
},
"owners": {
"format": "github",
"patterns": [
{
"projects": ["*"],
"owners": ["@MaxKless"]
}
]
},
"conformance": {
"rules": [
{
"rule": "@nx/conformance/ensure-owners",
"status": "enforced"
}
]
},
"defaultBase": "master",
"nxCloudUrl": "https://staging.nx.app",
"nxCloudId": "6660892a00a733543826cfcd",
"bust": 1,
"release": {
"version": {
"preVersionCommand": "node ./tools/scripts/ensure-release-branch.js"
},
"git": {
"push": false,
"commitMessage": "chore(release-{projectName}): {version}"
},
"releaseTagPattern": "{projectName}-v{version}",
"groups": {
"vscode": {
"projects": ["vscode"],
"projectsRelationship": "independent",
"version": {
"conventionalCommits": true
},
"changelog": {
"projectChangelogs": true
}
},
"nx-mcp": {
"projects": ["nx-mcp"],
"projectsRelationship": "independent",
"version": {
"conventionalCommits": true
},
"changelog": {
"projectChangelogs": true
}
},
"nxls": {
"projects": ["nxls"],
"projectsRelationship": "independent",
"version": {
"conventionalCommits": true
},
"changelog": {
"projectChangelogs": true
}
}
}
}
}