/ nx.json
nx.json
1 { 2 "$schema": "./node_modules/nx/schemas/nx-schema.json", 3 "targetDefaults": { 4 "build": { 5 "cache": true, 6 "dependsOn": ["^build"], 7 "inputs": ["production", "^production"] 8 }, 9 "@nx/jest:jest": { 10 "cache": true, 11 "inputs": ["default", "^production", "{workspaceRoot}/jest.preset.js"], 12 "options": { 13 "passWithNoTests": true 14 }, 15 "configurations": { 16 "ci": { 17 "ci": true, 18 "codeCoverage": true 19 } 20 } 21 }, 22 "@nx/eslint:lint": { 23 "cache": true, 24 "inputs": [ 25 "default", 26 "{workspaceRoot}/.eslintrc.json", 27 "{workspaceRoot}/.eslintignore", 28 "{workspaceRoot}/eslint.config.js" 29 ] 30 }, 31 "typecheck": { 32 "cache": true, 33 "dependsOn": ["^build"], 34 "inputs": ["default", "^production"], 35 "executor": "nx:run-script", 36 "options": { 37 "script": "tsc --noEmit" 38 } 39 } 40 }, 41 "namedInputs": { 42 "default": ["{projectRoot}/**/*", "sharedGlobals"], 43 "production": [ 44 "default", 45 "!{projectRoot}/**/?(*.)+(spec|test).[jt]s?(x)?(.snap)", 46 "!{projectRoot}/tsconfig.spec.json", 47 "!{projectRoot}/jest.config.[jt]s", 48 "!{projectRoot}/src/test-setup.[jt]s", 49 "!{projectRoot}/test-setup.[jt]s", 50 "!{projectRoot}/.eslintrc.json", 51 "!{projectRoot}/eslint.config.js" 52 ], 53 "sharedGlobals": [] 54 }, 55 "generators": { 56 "@nx/react": { 57 "application": { 58 "babel": true 59 }, 60 "library": {} 61 }, 62 "@nx/next": { 63 "application": { 64 "style": "css", 65 "linter": "eslint" 66 } 67 } 68 }, 69 "nxCloudId": "6569c66de45f071042cbe4f2" 70 }