diff --git a/.prettierignore b/.prettierignore index 8bf9dc13276..84a6a4c5846 100644 --- a/.prettierignore +++ b/.prettierignore @@ -33,3 +33,6 @@ public/mockServiceWorker.js # Crowdin files public/locales/**/*.json + +/.nx/cache +/.nx/workspace-data diff --git a/nx.json b/nx.json index 7be94a5d32c..4e3c6cd0a84 100644 --- a/nx.json +++ b/nx.json @@ -1,16 +1,9 @@ { "$schema": "./node_modules/nx/schemas/nx-schema.json", - "tasksRunnerOptions": { - "default": { - "runner": "nx/tasks-runners/default", - "options": { - "cacheableOperations": ["build", "generate"] - } - } - }, "targetDefaults": { "build": { - "outputs": ["{projectRoot}/dist"] + "outputs": ["{projectRoot}/dist"], + "cache": true }, "pack": { "executor": "nx:run-commands", @@ -18,6 +11,9 @@ "command": "yarn pack --out \"../../npm-artifacts/%s-%v.tgz\"", "cwd": "{projectRoot}" } + }, + "generate": { + "cache": true } }, "release": {