From 72649d309eafc44090a716985bf864265d6cd228 Mon Sep 17 00:00:00 2001 From: Alex H Date: Wed, 5 Mar 2025 15:04:15 +0100 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/629486e54f3e270005dc0526/workspaces/67c859dd862a93f16da79c89 **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 | 40 +++++++++------------------------------- 1 file changed, 9 insertions(+), 31 deletions(-) diff --git a/nx.json b/nx.json index 63589c20..f181e693 100644 --- a/nx.json +++ b/nx.json @@ -23,18 +23,8 @@ "previewTargetName": "preview" } }, - { - "plugin": "@nx/eslint/plugin", - "options": { - "targetName": "lint" - } - }, - { - "plugin": "@nx/jest/plugin", - "options": { - "targetName": "test" - } - } + { "plugin": "@nx/eslint/plugin", "options": { "targetName": "lint" } }, + { "plugin": "@nx/jest/plugin", "options": { "targetName": "test" } } ], "targetDefaults": { "@nx/js:tsc": { @@ -47,9 +37,7 @@ "dependsOn": ["^build"], "inputs": ["production", "^production"] }, - "test": { - "cache": true - }, + "test": { "cache": true }, "@nx/angular:ng-packagr-lite": { "cache": true, "dependsOn": ["^build"], @@ -63,20 +51,11 @@ "style": "css", "unitTestRunner": "jest" }, - "@nx/angular:library": { - "linter": "eslint", - "unitTestRunner": "jest" - }, - "@nx/angular:component": { - "style": "css" - } + "@nx/angular:library": { "linter": "eslint", "unitTestRunner": "jest" }, + "@nx/angular:component": { "style": "css" } }, "release": { - "changelog": { - "projectChangelogs": { - "createRelease": "github" - } - }, + "changelog": { "projectChangelogs": { "createRelease": "github" } }, "projectsRelationship": "independent", "projects": [ "*", @@ -93,10 +72,9 @@ "version": { "preVersionCommand": "npx nx run-many -t build -p nestjs-json-rpc,nestjs-json-rpc-sdk,json-api-nestjs,json-api-nestjs-sdk", "conventionalCommits": true, - "generatorOptions": { - "fallbackCurrentVersionResolver": "1.0.0" - } + "generatorOptions": { "fallbackCurrentVersionResolver": "1.0.0" } } }, - "useLegacyCache": true + "useLegacyCache": true, + "nxCloudId": "67c859dd862a93f16da79c89" }