nx.json•2.33 kB
{
"$schema": "./node_modules/nx/schemas/nx-schema.json",
"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}/src/test-setup.[jt]s"
],
"sharedGlobals": ["{workspaceRoot}/.github/workflows/ci.yml"]
},
"neverConnectToCloud": true,
"targetDefaults": {
"test": {
"dependsOn": ["^build"]
}
},
"plugins": [
{
"plugin": "@nx/js/typescript",
"options": {
"typecheck": {
"targetName": "typecheck"
},
"build": {
"targetName": "build",
"configName": "tsconfig.lib.json",
"buildDepsName": "build-deps",
"watchDepsName": "watch-deps"
}
}
},
{
"plugin": "@nx/rollup/plugin",
"options": {
"buildTargetName": "build",
"buildDepsTargetName": "build-deps",
"watchDepsTargetName": "watch-deps"
}
},
{
"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"
}
}
],
"release": {
"projectsRelationship": "independent",
"projects": ["packages/mcp-server", "packages/mcp-tools"],
"releaseTagPattern": "{projectName}@{version}",
"git": {
"commit": true,
"commitMessage": "chore(release): publish v{version} [skip ci]",
"tag": true,
"tagMessage": "Release {version}"
},
"version": {
"conventionalCommits": true,
"fallbackCurrentVersionResolver": "disk"
},
"changelog": {
"automaticFromRef": true,
"projectChangelogs": {
"renderOptions": {
"authors": false
},
"createRelease": "github"
}
}
}
}