From 01327a3f0fc3a30c2b96623f732a283cd2103b1c Mon Sep 17 00:00:00 2001 From: LironEr Date: Tue, 6 Oct 2026 19:41:42 +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/6ac532a3d0bf89bef46ccf7a/workspaces/6ac532c841537b09f9351afc > [!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 | 48 +++++++++++++++++++++++++++++++++++++----------- 1 file changed, 37 insertions(+), 11 deletions(-) diff --git a/nx.json b/nx.json index 9d6622d..dc83317 100644 --- a/nx.json +++ b/nx.json @@ -13,12 +13,21 @@ }, "targetDefaults": { "build": { - "dependsOn": ["^build"], + "dependsOn": [ + "^build" + ], "cache": true, - "inputs": ["production", "^production"] + "inputs": [ + "production", + "^production" + ] }, "lint": { - "inputs": ["default", "{workspaceRoot}/.eslintrc.json", "{workspaceRoot}/.eslintignore"], + "inputs": [ + "default", + "{workspaceRoot}/.eslintrc.json", + "{workspaceRoot}/.eslintignore" + ], "cache": true }, "test": { @@ -26,12 +35,20 @@ }, "@nx/vite:test": { "cache": true, - "inputs": ["default", "^production"] + "inputs": [ + "default", + "^production" + ] }, "@nx/vite:build": { "cache": true, - "dependsOn": ["^build"], - "inputs": ["production", "^production"] + "dependsOn": [ + "^build" + ], + "inputs": [ + "production", + "^production" + ] }, "nx-release-publish": { "options": { @@ -54,7 +71,9 @@ } ], "release": { - "projects": ["packages/*"], + "projects": [ + "packages/*" + ], "projectsRelationship": "independent", "releaseTagPattern": "{projectName}@v{version}", "changelog": { @@ -75,8 +94,14 @@ } }, "namedInputs": { - "default": ["{projectRoot}/**/*", "sharedGlobals"], - "sharedGlobals": ["{workspaceRoot}/tsconfig.base.json", "{workspaceRoot}/nx.json"], + "default": [ + "{projectRoot}/**/*", + "sharedGlobals" + ], + "sharedGlobals": [ + "{workspaceRoot}/tsconfig.base.json", + "{workspaceRoot}/nx.json" + ], "production": [ "default", "!{projectRoot}/__tests__/**/*", @@ -100,5 +125,6 @@ "linter": "eslint" } } - } -} + }, + "nxCloudAccessToken": "ZjQ2MzQ5ZDgtN2ExMi00M2QwLTgwNTQtZDI5ZjAyM2FmZDQzfHJlYWQtd3JpdGU=" +} \ No newline at end of file