Skip to content

Commit bd515ee

Browse files
authored
feat(nx-cloud): set up nx workspace (#214)
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.
1 parent a2399c7 commit bd515ee

File tree

1 file changed

+13
-51
lines changed

1 file changed

+13
-51
lines changed

nx.json

Lines changed: 13 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -1,62 +1,32 @@
11
{
22
"$schema": "./node_modules/nx/schemas/nx-schema.json",
3-
"cli": {
4-
"packageManager": "pnpm"
5-
},
3+
"cli": { "packageManager": "pnpm" },
64
"generators": {
75
"@nx/angular:application": {
86
"e2eTestRunner": "cypress",
97
"linter": "eslint",
108
"style": "scss",
119
"unitTestRunner": "jest"
1210
},
13-
"@nx/angular:library": {
14-
"linter": "eslint",
15-
"unitTestRunner": "jest"
16-
},
17-
"@nx/angular:component": {
18-
"style": "scss"
19-
}
11+
"@nx/angular:library": { "linter": "eslint", "unitTestRunner": "jest" },
12+
"@nx/angular:component": { "style": "scss" }
2013
},
2114
"defaultProject": "examples-lumberjack-app",
2215
"targetDefaults": {
2316
"build": {
24-
"dependsOn": [
25-
{
26-
"target": "build",
27-
"dependencies": true
28-
}
29-
],
17+
"dependsOn": [{ "target": "build", "dependencies": true }],
3018
"inputs": ["production", "^production"],
3119
"cache": true
3220
},
33-
"e2e": {
34-
"inputs": ["default", "^production"],
35-
"cache": true
36-
},
37-
"e2e-ci": {
38-
"inputs": ["default", "^production"],
39-
"cache": true
40-
},
41-
"start": {
42-
"dependsOn": ["^build"],
43-
"inputs": ["production", "^production"]
44-
},
45-
"build-package": {
46-
"cache": true
47-
},
21+
"e2e": { "inputs": ["default", "^production"], "cache": true },
22+
"e2e-ci": { "inputs": ["default", "^production"], "cache": true },
23+
"start": { "dependsOn": ["^build"], "inputs": ["production", "^production"] },
24+
"build-package": { "cache": true },
4825
"@nx/jest:jest": {
4926
"inputs": ["default", "^production", "{workspaceRoot}/jest.preset.js"],
5027
"cache": true,
51-
"options": {
52-
"passWithNoTests": true
53-
},
54-
"configurations": {
55-
"ci": {
56-
"ci": true,
57-
"codeCoverage": true
58-
}
59-
}
28+
"options": { "passWithNoTests": true },
29+
"configurations": { "ci": { "ci": true, "codeCoverage": true } }
6030
},
6131
"@nx/eslint:lint": {
6232
"inputs": ["default", "{workspaceRoot}/.eslintrc.json"],
@@ -69,10 +39,7 @@
6939
"inputs": ["production", "^production"]
7040
}
7141
},
72-
"workspaceLayout": {
73-
"appsDir": "e2e",
74-
"libsDir": "packages"
75-
},
42+
"workspaceLayout": { "appsDir": "e2e", "libsDir": "packages" },
7643
"namedInputs": {
7744
"default": ["{projectRoot}/**/*", "sharedGlobals", "projectSpecificFiles"],
7845
"sharedGlobals": [],
@@ -96,13 +63,8 @@
9663
"ciTargetName": "e2e-ci"
9764
}
9865
},
99-
{
100-
"plugin": "@nx/eslint/plugin",
101-
"options": {
102-
"targetName": "lint"
103-
}
104-
}
66+
{ "plugin": "@nx/eslint/plugin", "options": { "targetName": "lint" } }
10567
],
106-
"nxCloudAccessToken": "M2I0MTZlMmMtYmQ5ZC00ZDg1LWFjOTQtZjU5ZGFkYWM3YjM2fHJlYWQ=",
68+
"nxCloudAccessToken": "OTNjMDE5MjItZjQ3Mi00NTM0LTgxNjYtODBjY2EyMTgzYzhlfHJlYWQtd3JpdGU=",
10769
"defaultBase": "main"
10870
}

0 commit comments

Comments
 (0)