From 1bbac267ebc746f6efb51650dcc8d4206329ec11 Mon Sep 17 00:00:00 2001 From: Edouard Maleix Date: Wed, 24 Jul 2024 21:55:37 +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/66a15c377832df592220f0c5 **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 | 41 ++++++++--------------------------------- 1 file changed, 8 insertions(+), 33 deletions(-) diff --git a/nx.json b/nx.json index 39022c1..b2c333a 100644 --- a/nx.json +++ b/nx.json @@ -1,9 +1,5 @@ { - "pluginsConfig": { - "@nx/js": { - "analyzeSourceFiles": true - } - }, + "pluginsConfig": { "@nx/js": { "analyzeSourceFiles": true } }, "extends": "nx/presets/npm.json", "$schema": "./node_modules/nx/schemas/nx-schema.json", "namedInputs": { @@ -16,21 +12,12 @@ "release": { "projects": ["packages/*"], "projectsRelationship": "independent", - "changelog": { - "projectChangelogs": { - "createRelease": "github" - } - }, + "changelog": { "projectChangelogs": { "createRelease": "github" } }, "version": { "conventionalCommits": true, - "generatorOptions": { - "skipLockFileUpdate": true - } + "generatorOptions": { "skipLockFileUpdate": true } }, - "git": { - "commit": true, - "tag": true - } + "git": { "commit": true, "tag": true } }, "targetDefaults": { "build": { @@ -41,27 +28,15 @@ "@nx/jest:jest": { "cache": true, "inputs": ["default", "^default", "{workspaceRoot}/jest.preset.js"], - "options": { - "passWithNoTests": true - }, - "configurations": { - "ci": { - "ci": true, - "codeCoverage": true - } - } + "options": { "passWithNoTests": true }, + "configurations": { "ci": { "ci": true, "codeCoverage": true } } }, "nx-release-publish": { "options": { "packageRoot": "dist/{projectRoot}", "registry": "https://registry.npmjs.org/" }, - "dependsOn": [ - { - "target": "build", - "params": "forward" - } - ] + "dependsOn": [{ "target": "build", "params": "forward" }] }, "@nx/eslint:lint": { "cache": true, @@ -73,6 +48,6 @@ ] } }, - "nxCloudAccessToken": "ZDU0ZWUwNDktM2YzZC00ODgzLWFiNTktYzQzNDVmOWZlNTE0fHJlYWQtd3JpdGU=", + "nxCloudAccessToken": "ODFiNmMyMzAtODQ1OS00NGQzLWJjYmYtNzA2MmNlMTc2NTc5fHJlYWQtd3JpdGU=", "useInferencePlugins": false }