| 1 | { |
| 2 | "$schema": "./node_modules/nx/schemas/nx-schema.json", |
| 3 | "namedInputs": { |
| 4 | "default": [ |
| 5 | "{projectRoot}/**/*", |
| 6 | "sharedGlobals" |
| 7 | ], |
| 8 | "production": [ |
| 9 | "default", |
| 10 | "!{projectRoot}/.eslintrc.json", |
| 11 | "!{projectRoot}/eslint.config.mjs", |
| 12 | "!{projectRoot}/**/?(*.)+(spec|test).[jt]s?(x)?(.snap)", |
| 13 | "!{projectRoot}/tsconfig.spec.json" |
| 14 | ], |
| 15 | "sharedGlobals": [ |
| 16 | "{workspaceRoot}/.github/workflows/build.yml" |
| 17 | ] |
| 18 | }, |
| 19 | "nxCloudId": "68a45c67c639875b4be60423", |
| 20 | "plugins": [ |
| 21 | { |
| 22 | "plugin": "@nx/vitest", |
| 23 | "options": { |
| 24 | "testTargetName": "test" |
| 25 | } |
| 26 | }, |
| 27 | { |
| 28 | "plugin": "@nx/eslint/plugin", |
| 29 | "options": { |
| 30 | "targetName": "lint" |
| 31 | } |
| 32 | } |
| 33 | ], |
| 34 | "targetDefaults": { |
| 35 | "@nx/js:tsc": { |
| 36 | "cache": true, |
| 37 | "dependsOn": [ |
| 38 | "^build" |
| 39 | ], |
| 40 | "inputs": [ |
| 41 | "production", |
| 42 | "^production" |
| 43 | ] |
| 44 | }, |
| 45 | "@nx/esbuild:esbuild": { |
| 46 | "cache": true, |
| 47 | "dependsOn": [ |
| 48 | "^build" |
| 49 | ], |
| 50 | "inputs": [ |
| 51 | "production", |
| 52 | "^production" |
| 53 | ] |
| 54 | }, |
| 55 | "docker-context": { |
| 56 | "executor": "nx:run-commands", |
| 57 | "options": { |
| 58 | "command": "node scripts/build-docker.mjs {projectName} --context-only", |
| 59 | "cwd": "{workspaceRoot}" |
| 60 | } |
| 61 | }, |
| 62 | "docker-build": { |
| 63 | "executor": "nx:run-commands", |
| 64 | "options": { |
| 65 | "command": "node scripts/build-docker.mjs {projectName} -p", |
| 66 | "cwd": "{workspaceRoot}" |
| 67 | } |
| 68 | }, |
| 69 | "release": { |
| 70 | "executor": "nx:run-commands", |
| 71 | "options": { |
| 72 | "command": "node scripts/release.mjs -p {projectName}", |
| 73 | "cwd": "{workspaceRoot}" |
| 74 | } |
| 75 | }, |
| 76 | "release:build-only": { |
| 77 | "executor": "nx:run-commands", |
| 78 | "dependsOn": [ |
| 79 | "build" |
| 80 | ], |
| 81 | "options": { |
| 82 | "command": "node scripts/release.mjs -p {projectName} --build-only", |
| 83 | "cwd": "{workspaceRoot}" |
| 84 | } |
| 85 | }, |
| 86 | "release:verbose": { |
| 87 | "executor": "nx:run-commands", |
| 88 | "options": { |
| 89 | "command": "node scripts/release.mjs -p {projectName} --verbose", |
| 90 | "cwd": "{workspaceRoot}" |
| 91 | } |
| 92 | }, |
| 93 | "release:dry-run": { |
| 94 | "executor": "nx:run-commands", |
| 95 | "options": { |
| 96 | "command": "node scripts/release.mjs -p {projectName} --dry-run --verbose", |
| 97 | "cwd": "{workspaceRoot}" |
| 98 | } |
| 99 | }, |
| 100 | "@nx/vitest:test": { |
| 101 | "cache": true, |
| 102 | "inputs": [ |
| 103 | "default", |
| 104 | "^production" |
| 105 | ] |
| 106 | } |
| 107 | }, |
| 108 | "release": { |
| 109 | "version": { |
| 110 | "preVersionCommand": "pnpm dlx nx run-many -t build" |
| 111 | } |
| 112 | }, |
| 113 | "tui": { |
| 114 | "enabled": false |
| 115 | }, |
| 116 | "analytics": true |
| 117 | } |