From 6a98998ae82816a425a86e12f41cae61f6d76c74 Mon Sep 17 00:00:00 2001 From: "fryorcraken.eth" Date: Mon, 31 Oct 2022 11:32:03 +1100 Subject: [PATCH] chore: cache lerna actions --- nx.json | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 nx.json diff --git a/nx.json b/nx.json new file mode 100644 index 0000000000..ab6f6e697e --- /dev/null +++ b/nx.json @@ -0,0 +1,40 @@ +{ + "tasksRunnerOptions": { + "default": { + "runner": "nx/tasks-runners/default", + "options": { + "cacheableOperations": [ + "build", + "build:esm", + "build:bundle", + "fix", + "fix:prettier", + "fix:lint", + "check", + "check:lint", + "check:prettier", + "check:spelling", + "check:tsc", + "test", + "test:node", + "test:browser", + "proto" + ] + } + } + }, + "targetDefaults": { + "build": { + "dependsOn": ["^build"], + "outputs": ["{projectRoot}/dist, {projectRoot}/bundle"] + }, + "build:esm": { + "dependsOn": ["^build:esm"], + "outputs": ["{projectRoot}/dist"] + }, + "build:bundle": { + "dependsOn": ["^build:bundle"], + "outputs": ["{projectRoot}/bundle"] + } + } +}