Skip to content

Commit

Permalink
feat(nx-cloud): setup nx cloud workspace
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/64f9f6349ef06684181b88d5/workspaces/6675efbd481cbf16cc3fdd5a

**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
beeman committed Jun 21, 2024
1 parent d116544 commit d538704
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 31 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,5 @@ libs/anchor/target/.rustc_info.json
!libs/anchor/target/idl/*.json
!libs/anchor/target/types/*.ts
test-ledger
.yarn
.yarn
nx-cloud.env
37 changes: 7 additions & 30 deletions nx.json
Original file line number Diff line number Diff line change
@@ -1,44 +1,21 @@
{
"$schema": "./node_modules/nx/schemas/nx-schema.json",
"workspaceLayout": {
"projectNameAndRootFormat": "as-provided"
},
"workspaceLayout": { "projectNameAndRootFormat": "as-provided" },
"targetDefaults": {
"build": {
"dependsOn": ["^build"],
"cache": true
},
"e2e": {
"cache": true
},
"build": { "dependsOn": ["^build"], "cache": true },
"e2e": { "cache": true },
"@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/eslint:lint": {
"inputs": ["default", "{workspaceRoot}/.eslintrc.json", "{workspaceRoot}/.eslintignore"],
"cache": true
}
},
"generators": {
"@nx/react": {
"application": {
"babel": true
},
"library": {
"unitTestRunner": "none"
}
}
},
"nxCloudAccessToken": "NWI4MDc3OTctOTgyZi00ZjhhLWI2NmMtMDM0N2NmNTc5OGZlfHJlYWQtd3JpdGU=",
"generators": { "@nx/react": { "application": { "babel": true }, "library": { "unitTestRunner": "none" } } },
"nxCloudAccessToken": "MDZiODc0MDgtZjk3Zi00YmQyLTllNTktNWE1NjAzOGRiZWRmfHJlYWQ=",
"useInferencePlugins": false
}

0 comments on commit d538704

Please sign in to comment.