Skip to content

Commit 2c8f76e

Browse files
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/6412ca9d1c251d000efa21ba/workspaces/68d74dda9d18071f643ecda4 **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 39aa447 commit 2c8f76e

1 file changed

Lines changed: 51 additions & 16 deletions

File tree

nx.json

Lines changed: 51 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -23,38 +23,73 @@
2323
"targetDefaults": {
2424
"test:lib": {
2525
"cache": true,
26-
"dependsOn": ["^build"],
27-
"inputs": ["default", "^production"],
28-
"outputs": ["{projectRoot}/coverage"]
26+
"dependsOn": [
27+
"^build"
28+
],
29+
"inputs": [
30+
"default",
31+
"^production"
32+
],
33+
"outputs": [
34+
"{projectRoot}/coverage"
35+
]
2936
},
3037
"test:eslint": {
3138
"cache": true,
32-
"dependsOn": ["^build"],
33-
"inputs": ["default", "^production", "{workspaceRoot}/eslint.config.js"]
39+
"dependsOn": [
40+
"^build"
41+
],
42+
"inputs": [
43+
"default",
44+
"^production",
45+
"{workspaceRoot}/eslint.config.js"
46+
]
3447
},
3548
"test:types": {
3649
"cache": true,
37-
"dependsOn": ["^build"],
38-
"inputs": ["default", "^production"]
50+
"dependsOn": [
51+
"^build"
52+
],
53+
"inputs": [
54+
"default",
55+
"^production"
56+
]
3957
},
4058
"test:build": {
4159
"cache": true,
42-
"dependsOn": ["build"],
43-
"inputs": ["production"]
60+
"dependsOn": [
61+
"build"
62+
],
63+
"inputs": [
64+
"production"
65+
]
4466
},
4567
"build": {
4668
"cache": true,
47-
"dependsOn": ["^build"],
48-
"inputs": ["production", "^production"],
49-
"outputs": ["{projectRoot}/build", "{projectRoot}/dist"]
69+
"dependsOn": [
70+
"^build"
71+
],
72+
"inputs": [
73+
"production",
74+
"^production"
75+
],
76+
"outputs": [
77+
"{projectRoot}/build",
78+
"{projectRoot}/dist"
79+
]
5080
},
5181
"test:knip": {
5282
"cache": true,
53-
"inputs": ["{workspaceRoot}/**/*"]
83+
"inputs": [
84+
"{workspaceRoot}/**/*"
85+
]
5486
},
5587
"test:sherif": {
5688
"cache": true,
57-
"inputs": ["{workspaceRoot}/**/package.json"]
89+
"inputs": [
90+
"{workspaceRoot}/**/package.json"
91+
]
5892
}
59-
}
60-
}
93+
},
94+
"nxCloudId": "68d74dda9d18071f643ecda4"
95+
}

0 commit comments

Comments
 (0)