Skip to content

Commit

Permalink
feat(nx-cloud): set up nx workspace (#214)
Browse files Browse the repository at this point in the history
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/674536e36d2584a6e15084f8/workspaces/67453b3bcfbda5adf9827c70

**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.
  • Loading branch information
NachoVazquez authored Nov 26, 2024
1 parent a2399c7 commit bd515ee
Showing 1 changed file with 13 additions and 51 deletions.
64 changes: 13 additions & 51 deletions nx.json
Original file line number Diff line number Diff line change
@@ -1,62 +1,32 @@
{
"$schema": "./node_modules/nx/schemas/nx-schema.json",
"cli": {
"packageManager": "pnpm"
},
"cli": { "packageManager": "pnpm" },
"generators": {
"@nx/angular:application": {
"e2eTestRunner": "cypress",
"linter": "eslint",
"style": "scss",
"unitTestRunner": "jest"
},
"@nx/angular:library": {
"linter": "eslint",
"unitTestRunner": "jest"
},
"@nx/angular:component": {
"style": "scss"
}
"@nx/angular:library": { "linter": "eslint", "unitTestRunner": "jest" },
"@nx/angular:component": { "style": "scss" }
},
"defaultProject": "examples-lumberjack-app",
"targetDefaults": {
"build": {
"dependsOn": [
{
"target": "build",
"dependencies": true
}
],
"dependsOn": [{ "target": "build", "dependencies": true }],
"inputs": ["production", "^production"],
"cache": true
},
"e2e": {
"inputs": ["default", "^production"],
"cache": true
},
"e2e-ci": {
"inputs": ["default", "^production"],
"cache": true
},
"start": {
"dependsOn": ["^build"],
"inputs": ["production", "^production"]
},
"build-package": {
"cache": true
},
"e2e": { "inputs": ["default", "^production"], "cache": true },
"e2e-ci": { "inputs": ["default", "^production"], "cache": true },
"start": { "dependsOn": ["^build"], "inputs": ["production", "^production"] },
"build-package": { "cache": true },
"@nx/jest:jest": {
"inputs": ["default", "^production", "{workspaceRoot}/jest.preset.js"],
"cache": true,
"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"],
Expand All @@ -69,10 +39,7 @@
"inputs": ["production", "^production"]
}
},
"workspaceLayout": {
"appsDir": "e2e",
"libsDir": "packages"
},
"workspaceLayout": { "appsDir": "e2e", "libsDir": "packages" },
"namedInputs": {
"default": ["{projectRoot}/**/*", "sharedGlobals", "projectSpecificFiles"],
"sharedGlobals": [],
Expand All @@ -96,13 +63,8 @@
"ciTargetName": "e2e-ci"
}
},
{
"plugin": "@nx/eslint/plugin",
"options": {
"targetName": "lint"
}
}
{ "plugin": "@nx/eslint/plugin", "options": { "targetName": "lint" } }
],
"nxCloudAccessToken": "M2I0MTZlMmMtYmQ5ZC00ZDg1LWFjOTQtZjU5ZGFkYWM3YjM2fHJlYWQ=",
"nxCloudAccessToken": "OTNjMDE5MjItZjQ3Mi00NTM0LTgxNjYtODBjY2EyMTgzYzhlfHJlYWQtd3JpdGU=",
"defaultBase": "main"
}

0 comments on commit bd515ee

Please sign in to comment.