Skip to content

Commit

Permalink
feat(nx-cloud): setup nx cloud workspace (#94)
Browse files Browse the repository at this point in the history
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/61d312fe6b72bd00054227d4/workspaces/670f1a9222b1a18844d39578

**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.
  • Loading branch information
yann510 authored Oct 16, 2024
1 parent 4d7e53a commit 768711d
Showing 1 changed file with 7 additions and 24 deletions.
31 changes: 7 additions & 24 deletions nx.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,24 +5,17 @@
"runner": "nx-cloud",
"options": {
"cacheableOperations": ["build", "lint", "test", "e2e"],
"accessToken": "MjQ2ZjUxOTUtYWEyOS00M2I4LTg0NmUtOWZiYzY1OWFkMTUyfHJlYWQtd3JpdGU="
"accessToken": "Y2FjNGUxZWQtYzgxNS00NjJhLTg0NTQtMTcyYTIxNzliZDVmfHJlYWQtd3JpdGU="
}
}
},
"workspaceLayout": {
"projectNameAndRootFormat": "as-provided"
},
"workspaceLayout": { "projectNameAndRootFormat": "as-provided" },
"targetDefaults": {
"build": {
"dependsOn": ["^build"],
"inputs": ["production", "^production"]
},
"build": { "dependsOn": ["^build"], "inputs": ["production", "^production"] },
"lint": {
"inputs": ["default", "{workspaceRoot}/.eslintrc.json", "{workspaceRoot}/.eslintignore", "{workspaceRoot}/eslint.config.js"]
},
"test": {
"inputs": ["default", "^production", "{workspaceRoot}/jest.preset.js"]
}
"test": { "inputs": ["default", "^production", "{workspaceRoot}/jest.preset.js"] }
},
"namedInputs": {
"default": ["{projectRoot}/**/*", "sharedGlobals"],
Expand All @@ -40,19 +33,9 @@
},
"generators": {
"@nx/react": {
"application": {
"style": "css",
"linter": "eslint",
"bundler": "rspack",
"babel": true
},
"component": {
"style": "css"
},
"library": {
"style": "css",
"linter": "eslint"
}
"application": { "style": "css", "linter": "eslint", "bundler": "rspack", "babel": true },
"component": { "style": "css" },
"library": { "style": "css", "linter": "eslint" }
}
}
}

0 comments on commit 768711d

Please sign in to comment.