Skip to content

Commit efaad70

Browse files
feat(nx-cloud): set up nx workspace (#110)
2 parents 86f1ec0 + 8c2d1b2 commit efaad70

File tree

1 file changed

+14
-53
lines changed

1 file changed

+14
-53
lines changed

Diff for: nx.json

+14-53
Original file line numberDiff line numberDiff line change
@@ -16,53 +16,20 @@
1616
"sharedGlobals": []
1717
},
1818
"targetDefaults": {
19-
"build": {
20-
"dependsOn": ["^build"],
21-
"inputs": ["default", "^default"],
22-
"cache": true
23-
},
24-
"build-storybook": {
25-
"cache": true
26-
},
27-
"e2e": {
28-
"cache": true
29-
},
30-
"@nx/eslint:lint": {
31-
"inputs": ["default", "{workspaceRoot}/.eslintrc.json"],
32-
"cache": true
33-
},
34-
"@nx/vite:test": {
35-
"cache": true,
36-
"inputs": ["default", "^default"]
37-
},
19+
"build": { "dependsOn": ["^build"], "inputs": ["default", "^default"], "cache": true },
20+
"build-storybook": { "cache": true },
21+
"e2e": { "cache": true },
22+
"@nx/eslint:lint": { "inputs": ["default", "{workspaceRoot}/.eslintrc.json"], "cache": true },
23+
"@nx/vite:test": { "cache": true, "inputs": ["default", "^default"] },
3824
"@nx/jest:jest": {
3925
"inputs": ["default", "^default", "{workspaceRoot}/jest.preset.js"],
4026
"cache": true,
41-
"options": {
42-
"passWithNoTests": true
43-
},
44-
"configurations": {
45-
"ci": {
46-
"ci": true,
47-
"codeCoverage": true
48-
}
49-
}
50-
},
51-
"@nx/esbuild:esbuild": {
52-
"cache": true,
53-
"dependsOn": ["^build"],
54-
"inputs": ["production", "^production"]
27+
"options": { "passWithNoTests": true },
28+
"configurations": { "ci": { "ci": true, "codeCoverage": true } }
5529
},
56-
"@nx/angular:browser-esbuild": {
57-
"cache": true,
58-
"dependsOn": ["^build"],
59-
"inputs": ["production", "^production"]
60-
},
61-
"@nx/angular:ng-packagr-lite": {
62-
"cache": true,
63-
"dependsOn": ["^build"],
64-
"inputs": ["production", "^production"]
65-
}
30+
"@nx/esbuild:esbuild": { "cache": true, "dependsOn": ["^build"], "inputs": ["production", "^production"] },
31+
"@nx/angular:browser-esbuild": { "cache": true, "dependsOn": ["^build"], "inputs": ["production", "^production"] },
32+
"@nx/angular:ng-packagr-lite": { "cache": true, "dependsOn": ["^build"], "inputs": ["production", "^production"] }
6633
},
6734
"generators": {
6835
"@nx/angular:application": {
@@ -85,17 +52,10 @@
8552
"compilationMode": "partial",
8653
"style": "scss"
8754
},
88-
"@nx/angular:component": {
89-
"style": "scss"
90-
}
55+
"@nx/angular:component": { "style": "scss" }
9156
},
9257
"plugins": [
93-
{
94-
"plugin": "@nx/eslint/plugin",
95-
"options": {
96-
"targetName": "eslint:lint"
97-
}
98-
},
58+
{ "plugin": "@nx/eslint/plugin", "options": { "targetName": "eslint:lint" } },
9959
{
10060
"plugin": "@nx/vite/plugin",
10161
"options": {
@@ -113,5 +73,6 @@
11373
"packages/user-flow-replay/**/*"
11474
]
11575
}
116-
]
76+
],
77+
"nxCloudId": "67b1e61a2185ed22a4099d4a"
11778
}

0 commit comments

Comments
 (0)