From bcb184fcbcf151eda06000b8999f98f3a405ab92 Mon Sep 17 00:00:00 2001 From: Timothy Pierce Date: Mon, 7 Apr 2025 08:35:30 -0600 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/67f3e2a8666d0960f371edc9/workspaces/67f3e2b064b88f0d606afa5b **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 | 51 ++++++++++----------------------------------------- 1 file changed, 10 insertions(+), 41 deletions(-) diff --git a/nx.json b/nx.json index 89ced8a..ef5cc10 100644 --- a/nx.json +++ b/nx.json @@ -15,32 +15,19 @@ "{workspaceRoot}/eslint.config.js" ] }, - "e2e": { - "cache": true, - "inputs": ["default", "^production"] - }, + "e2e": { "cache": true, "inputs": ["default", "^production"] }, "@nx/jest:jest": { "cache": true, "inputs": ["default", "^production", "{workspaceRoot}/jest.preset.js"], - "options": { - "passWithNoTests": true - }, - "configurations": { - "ci": { - "ci": true, - "codeCoverage": true - } - } + "options": { "passWithNoTests": true }, + "configurations": { "ci": { "ci": true, "codeCoverage": true } } }, "@nx/esbuild:esbuild": { "cache": true, "dependsOn": ["^build"], "inputs": ["production", "^production"] }, - "@nx/vite:test": { - "cache": true, - "inputs": ["default", "^production"] - } + "@nx/vite:test": { "cache": true, "inputs": ["default", "^production"] } }, "namedInputs": { "default": ["{projectRoot}/**/*", "sharedGlobals"], @@ -79,30 +66,12 @@ "openTargetName": "open-cypress" } }, - { - "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" } } ], "generators": { - "@nx/next": { - "application": { - "style": "scss", - "linter": "eslint" - } - }, - "@nx/react": { - "library": { - "unitTestRunner": "jest" - } - } - } + "@nx/next": { "application": { "style": "scss", "linter": "eslint" } }, + "@nx/react": { "library": { "unitTestRunner": "jest" } } + }, + "nxCloudId": "67f3e2b064b88f0d606afa5b" }