From 0f48459633b582fafa9c9112d6bb0d2305257d9d Mon Sep 17 00:00:00 2001 From: Marco Roth Date: Sat, 6 Jun 2026 09:48:09 +0200 Subject: [PATCH] feat(nx-cloud): setup nx cloud workspace This commit sets up Nx Cloud for your Nx workspace, enabling distributed caching and the Nx Cloud GitHub integration for fast CI and improved developer experience. You can access your Nx Cloud workspace by going to https://cloud.nx.app/orgs/6a23d0b47587613bc81804ce/workspaces/6a23d0b57587613bc81804d3 > [!TIP] > Run `npx nx generate ci-workflow` if you don't have a CI script configured yet. **Note:** This commit attempts to maintain formatting of the nx.json file, however you may need to correct formatting by running an nx format command and committing the changes. --- nx.json | 26 +++++++++++++++++++------- 1 file changed, 19 insertions(+), 7 deletions(-) diff --git a/nx.json b/nx.json index a380df539..15b4ec524 100644 --- a/nx.json +++ b/nx.json @@ -2,7 +2,10 @@ "$schema": "./node_modules/nx/schemas/nx-schema.json", "npmScope": "herb-tools", "namedInputs": { - "default": ["{projectRoot}/**/*", "sharedGlobals"], + "default": [ + "{projectRoot}/**/*", + "sharedGlobals" + ], "production": [ "default", "!{projectRoot}/**/?(*.)+(spec|test).[jt]s?(x)?(.snap)" @@ -18,26 +21,34 @@ "default": { "runner": "nx/tasks-runners/default", "options": { - "cacheableOperations": ["build"], + "cacheableOperations": [ + "build" + ], "packageManager": "yarn" } } }, "targetDefaults": { "build": { - "dependsOn": ["^build"], + "dependsOn": [ + "^build" + ], "options": { "parallel": false } }, "test": { - "dependsOn": ["^build"] + "dependsOn": [ + "^build" + ] }, "clean": { "cache": false, "executor": "nx:run-commands", "options": { - "commands": ["npx nx reset"], + "commands": [ + "npx nx reset" + ], "parallel": true } } @@ -64,5 +75,6 @@ } } }, - "analytics": false -} + "analytics": false, + "nxCloudId": "6a23d0b57587613bc81804d3" +} \ No newline at end of file