diff --git a/nx.json b/nx.json index a39fda9..f32227e 100644 --- a/nx.json +++ b/nx.json @@ -3,25 +3,30 @@ "affected": { "defaultBase": "develop" }, - "implicitDependencies": { - "package.json": { - "dependencies": "*", - "devDependencies": "*" - }, - ".eslintrc.json": "*" - }, "targetDefaults": { "build": { - "dependsOn": ["^build"], - "cache": true + "dependsOn": [ + "^build" + ], + "cache": true, + "inputs": [ + "production", + "^production" + ] }, "lint": { "cache": true, - "inputs": ["default", "{workspaceRoot}/.eslintrc.json"] + "inputs": [ + "default", + "{workspaceRoot}/.eslintrc.json" + ] }, "test": { "cache": true, - "inputs": ["default", "^default"] + "inputs": [ + "default", + "^default" + ] }, "e2e": { "cache": true @@ -44,5 +49,15 @@ } } }, - "defaultProject": "logging-react-test" + "defaultProject": "logging-react-test", + "namedInputs": { + "default": [ + "{projectRoot}/**/*", + "sharedGlobals" + ], + "sharedGlobals": [], + "production": [ + "default" + ] + } }