Skip to content

Commit 0bd659e

Browse files
committed
feat(nx-cloud): setup nx cloud workspace
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/6682e6879ffce0ea161a681a/workspaces/670ebadac0c313acbf9ee13c **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.
1 parent 5821665 commit 0bd659e

File tree

1 file changed

+35
-58
lines changed

1 file changed

+35
-58
lines changed

nx.json

Lines changed: 35 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -1,60 +1,37 @@
11
{
2-
"$schema": "./node_modules/nx/schemas/nx-schema.json",
3-
"defaultProject": "react-kit-demo",
4-
"namedInputs": {
5-
"default": [
6-
"{projectRoot}/**/*",
7-
"sharedGlobals"
8-
],
9-
"production": [
10-
"default",
11-
"!{projectRoot}/**/?(*.)+(spec|test).[jt]s?(x)?(.snap)",
12-
"!{projectRoot}/tsconfig.spec.json",
13-
"!{projectRoot}/.eslintrc.json",
14-
"!{projectRoot}/eslint.config.js"
15-
],
16-
"sharedGlobals": []
17-
},
18-
"plugins": [
19-
{
20-
"plugin": "@nx/vite/plugin",
21-
"options": {
22-
"buildTargetName": "build",
23-
"testTargetName": "test",
24-
"serveTargetName": "serve",
25-
"previewTargetName": "preview",
26-
"serveStaticTargetName": "serve-static"
27-
}
28-
},
29-
{
30-
"plugin": "@nx/eslint/plugin",
31-
"options": {
32-
"targetName": "lint"
33-
}
34-
},
35-
{
36-
"plugin": "@nx/playwright/plugin",
37-
"options": {
38-
"targetName": "e2e"
39-
}
40-
}
41-
],
42-
"generators": {
43-
"@nx/react": {
44-
"application": {
45-
"babel": true,
46-
"style": "scss",
47-
"linter": "eslint",
48-
"bundler": "vite"
49-
},
50-
"component": {
51-
"style": "scss"
52-
},
53-
"library": {
54-
"style": "scss",
55-
"linter": "eslint",
56-
"unitTestRunner": "vitest"
57-
}
58-
}
59-
}
2+
"$schema": "./node_modules/nx/schemas/nx-schema.json",
3+
"defaultProject": "react-kit-demo",
4+
"namedInputs": {
5+
"default": ["{projectRoot}/**/*", "sharedGlobals"],
6+
"production": [
7+
"default",
8+
"!{projectRoot}/**/?(*.)+(spec|test).[jt]s?(x)?(.snap)",
9+
"!{projectRoot}/tsconfig.spec.json",
10+
"!{projectRoot}/.eslintrc.json",
11+
"!{projectRoot}/eslint.config.js"
12+
],
13+
"sharedGlobals": []
14+
},
15+
"plugins": [
16+
{
17+
"plugin": "@nx/vite/plugin",
18+
"options": {
19+
"buildTargetName": "build",
20+
"testTargetName": "test",
21+
"serveTargetName": "serve",
22+
"previewTargetName": "preview",
23+
"serveStaticTargetName": "serve-static"
24+
}
25+
},
26+
{ "plugin": "@nx/eslint/plugin", "options": { "targetName": "lint" } },
27+
{ "plugin": "@nx/playwright/plugin", "options": { "targetName": "e2e" } }
28+
],
29+
"generators": {
30+
"@nx/react": {
31+
"application": { "babel": true, "style": "scss", "linter": "eslint", "bundler": "vite" },
32+
"component": { "style": "scss" },
33+
"library": { "style": "scss", "linter": "eslint", "unitTestRunner": "vitest" }
34+
}
35+
},
36+
"nxCloudId": "670ebadac0c313acbf9ee13c"
6037
}

0 commit comments

Comments
 (0)