Skip to content

Commit be4652d

Browse files
committed
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. **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 0590582 commit be4652d

File tree

2 files changed

+27
-2751
lines changed

2 files changed

+27
-2751
lines changed

nx.json

Lines changed: 13 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -11,30 +11,18 @@
1111
]
1212
},
1313
"targetDefaults": {
14-
"e2e-ci": {
15-
"dependsOn": ["^build"]
16-
},
14+
"e2e-ci": { "dependsOn": ["^build"] },
1715
"nx-release-publish": {
18-
"options": {
19-
"packageRoot": "packages/{projectName}"
20-
}
16+
"options": { "packageRoot": "packages/{projectName}" }
2117
},
2218
"docs": {
2319
"dependsOn": ["build", "^build", "^docs"],
2420
"cache": true,
2521
"outputs": ["{projectRoot}/docs"]
2622
},
27-
"serve": {
28-
"cache": false,
29-
"dependsOn": ["^build"]
30-
},
31-
"e2e": {
32-
"dependsOn": ["^build"],
33-
"cache": true
34-
},
35-
"test": {
36-
"dependsOn": ["^build"]
37-
},
23+
"serve": { "cache": false, "dependsOn": ["^build"] },
24+
"e2e": { "dependsOn": ["^build"], "cache": true },
25+
"test": { "dependsOn": ["^build"] },
3826
"build": {
3927
"dependsOn": ["^build"],
4028
"inputs": ["production", "^production"],
@@ -46,20 +34,14 @@
4634
"outputs": ["{projectRoot}/coverage"],
4735
"cache": true
4836
},
49-
"@nx/eslint:lint": {
50-
"dependsOn": ["^build", "^lint"],
51-
"cache": true
52-
},
37+
"@nx/eslint:lint": { "dependsOn": ["^build", "^lint"], "cache": true },
5338
"@nx/vite:build": {
5439
"dependsOn": ["^build"],
5540
"inputs": ["production", "^production"],
5641
"cache": true,
5742
"outputs": ["{projectRoot}/dist"]
5843
},
59-
"@nx/playwright:run": {
60-
"dependsOn": ["^build"],
61-
"cache": true
62-
},
44+
"@nx/playwright:run": { "dependsOn": ["^build"], "cache": true },
6345
"@nx/esbuild:esbuild": {
6446
"inputs": ["production", "^production"],
6547
"dependsOn": ["^build"],
@@ -78,10 +60,7 @@
7860
}
7961
},
8062
"parallel": 1,
81-
"workspaceLayout": {
82-
"appsDir": "",
83-
"libsDir": ""
84-
},
63+
"workspaceLayout": { "appsDir": "", "libsDir": "" },
8564
"release": {
8665
"projects": ["packages/*"],
8766
"version": {
@@ -91,13 +70,8 @@
9170
"preserveLocalDependencyProtocols": false
9271
},
9372
"changelog": {
94-
"git": {
95-
"commit": true,
96-
"tag": true
97-
},
98-
"workspaceChangelog": {
99-
"createRelease": "github"
100-
},
73+
"git": { "commit": true, "tag": true },
74+
"workspaceChangelog": { "createRelease": "github" },
10175
"projectChangelogs": true
10276
},
10377
"releaseTag": {
@@ -107,18 +81,10 @@
10781
"plugins": [
10882
{
10983
"plugin": "@nx/playwright/plugin",
110-
"options": {
111-
"ciTargetName": "e2e-ci",
112-
"targetName": "e2e"
113-
},
84+
"options": { "ciTargetName": "e2e-ci", "targetName": "e2e" },
11485
"include": ["e2e/**/**/*"]
11586
},
116-
{
117-
"plugin": "@nx/eslint/plugin",
118-
"options": {
119-
"targetName": "lint"
120-
}
121-
},
87+
{ "plugin": "@nx/eslint/plugin", "options": { "targetName": "lint" } },
12288
{
12389
"plugin": "@nx/vite/plugin",
12490
"options": {
@@ -160,5 +126,5 @@
160126
"useDaemonProcess": true,
161127
"useInferencePlugins": true,
162128
"defaultBase": "develop",
163-
"nxCloudId": "691f768cc413573260509d11"
129+
"nxCloudId": "691f769b1b6c37fb36143efb"
164130
}

0 commit comments

Comments
 (0)