diff --git a/nx.json b/nx.json index 458918f5..63b93568 100644 --- a/nx.json +++ b/nx.json @@ -57,28 +57,26 @@ }, "targetDefaults": { "build": { - "dependsOn": [ - "^build" - ], - "inputs": [ - "production", - "^production" - ], + "dependsOn": ["^build"], + "inputs": ["production", "^production"], "cache": true }, "component-test": { - "inputs": [ - "default", - "^production" - ], + "inputs": ["default", "^production"], "cache": true }, - "@nx/jest:jest": { + "test-ui": { "inputs": [ "default", "^production", - "{workspaceRoot}/jest.preset.js" + { + "runtime": "env | grep PW" + } ], + "cache": true + }, + "@nx/jest:jest": { + "inputs": ["default", "^production", "{workspaceRoot}/jest.preset.js"], "cache": true, "options": { "passWithNoTests": true @@ -91,18 +89,12 @@ } }, "@nx/eslint:lint": { - "inputs": [ - "default", - "{workspaceRoot}/.eslintrc.json" - ], + "inputs": ["default", "{workspaceRoot}/.eslintrc.json"], "cache": true } }, "namedInputs": { - "default": [ - "{projectRoot}/**/*", - "sharedGlobals" - ], + "default": ["{projectRoot}/**/*", "sharedGlobals"], "sharedGlobals": [], "production": [ "default",