From ac6b83e424c5038285c8c5ee6efa00fb34981d6e Mon Sep 17 00:00:00 2001 From: Edouard Maleix Date: Wed, 24 Jul 2024 21:53:11 +0200 Subject: [PATCH] feat(nx-cloud): setup nx cloud workspace This commit set up Nx Cloud for your Nx workspace enabling distributed caching and GitHub integration for fast CI and improved Developer Experience. You can access your Nx Cloud workspace by going to https://cloud.nx.app/orgs/60f015e7efc18700052941d5/workspaces/66a15ba6e470dd7bf0197105 **Note:** This commit attempts to maintain formatting of the nx.json, however you may need to correct formatting by running an nx format command and committing the changes. --- nx.json | 46 ++++++++++------------------------------------ 1 file changed, 10 insertions(+), 36 deletions(-) diff --git a/nx.json b/nx.json index 3d70a97..c88e545 100644 --- a/nx.json +++ b/nx.json @@ -1,34 +1,16 @@ { - "pluginsConfig": { - "@nx/js": { - "analyzeSourceFiles": true - } - }, + "pluginsConfig": { "@nx/js": { "analyzeSourceFiles": true } }, "generators": { - "@nx/react": { - "application": { - "babel": true - } - }, - "@nx/next": { - "application": { - "style": "css", - "linter": "eslint" - } - }, + "@nx/react": { "application": { "babel": true } }, + "@nx/next": { "application": { "style": "css", "linter": "eslint" } }, "@nx/angular:application": { "style": "css", "linter": "eslint", "unitTestRunner": "jest", "e2eTestRunner": "cypress" }, - "@nx/angular:library": { - "linter": "eslint", - "unitTestRunner": "jest" - }, - "@nx/angular:component": { - "style": "css" - } + "@nx/angular:library": { "linter": "eslint", "unitTestRunner": "jest" }, + "@nx/angular:component": { "style": "css" } }, "$schema": "./node_modules/nx/schemas/nx-schema.json", "targetDefaults": { @@ -37,18 +19,10 @@ "inputs": ["production", "^production"], "cache": true }, - "version": { - "dependsOn": ["^version"] - }, - "lint": { - "cache": true - }, - "test": { - "cache": true - }, - "e2e": { - "cache": true - }, + "version": { "dependsOn": ["^version"] }, + "lint": { "cache": true }, + "test": { "cache": true }, + "e2e": { "cache": true }, "@nx/eslint:lint": { "cache": true, "inputs": [ @@ -71,7 +45,7 @@ "!{projectRoot}/**/jest.setup.[jt]s" ] }, - "nxCloudAccessToken": "NzI5M2ZhYzctNzIyOS00NjAwLWI4ZjMtNjg1YjBjYTRhNGNhfHJlYWQtd3JpdGU=", + "nxCloudAccessToken": "NDUzNzFiNzctMTY0Yi00N2NiLWFjZjEtZDk5OTVkNDk5YzBlfHJlYWQtd3JpdGU=", "parallel": 1, "useInferencePlugins": false, "defaultBase": "main"