From 93cc0b5bca37cc658dbcabbb759ef1e6746e32b7 Mon Sep 17 00:00:00 2001 From: Hugo van Rijswijk Date: Tue, 31 Oct 2023 11:20:15 +0100 Subject: [PATCH] Apply nx migrations --- .gitignore | 2 ++ .prettierignore | 2 ++ nx.json | 23 ++++++++++------------- 3 files changed, 14 insertions(+), 13 deletions(-) diff --git a/.gitignore b/.gitignore index 13f888ff3..36d7d0175 100644 --- a/.gitignore +++ b/.gitignore @@ -15,3 +15,5 @@ _site/ pom.xml.versionsBackup packages/*/mvn/resources/ .scala-build/ + +.nx/cache \ No newline at end of file diff --git a/.prettierignore b/.prettierignore index fce9cf547..ba43bceed 100644 --- a/.prettierignore +++ b/.prettierignore @@ -17,3 +17,5 @@ packages/metrics-scala/README.md report.json testResources + +/.nx/cache \ No newline at end of file diff --git a/nx.json b/nx.json index 52c62586d..5b27730cb 100644 --- a/nx.json +++ b/nx.json @@ -1,13 +1,5 @@ { "extends": "nx/presets/npm.json", - "tasksRunnerOptions": { - "default": { - "runner": "nx/tasks-runners/default", - "options": { - "cacheableOperations": ["build", "test", "stryker", "generate", "lint"] - } - } - }, "targetDefaults": { "build:tsc": { "dependsOn": ["^generate"], @@ -15,20 +7,25 @@ }, "build": { "dependsOn": ["^build", "root:build:tsc", "generate"], - "outputs": ["{projectRoot}/dist", "{projectRoot}/dist-test", "{projectRoot}/target"] + "outputs": ["{projectRoot}/dist", "{projectRoot}/dist-test", "{projectRoot}/target"], + "cache": true }, "generate": { - "outputs": ["{projectRoot}/src-generated"] + "outputs": ["{projectRoot}/src-generated"], + "cache": true }, "test": { - "dependsOn": ["generate", "build", "root:build:tsc"] + "dependsOn": ["generate", "build", "root:build:tsc"], + "cache": true }, "stryker": { "dependsOn": ["^build", "root:build:tsc"], - "outputs": ["{projectRoot}/reports", "{projectRoot}/target-stryker4s-report-*/"] + "outputs": ["{projectRoot}/reports", "{projectRoot}/target-stryker4s-report-*/"], + "cache": true }, "lint": { - "dependsOn": ["build", "root:build:tsc"] + "dependsOn": ["build", "root:build:tsc"], + "cache": true } } }