Skip to content

Commit 5d9a283

Browse files
authored
Create nx.json
1 parent 92c4959 commit 5d9a283

File tree

1 file changed

+78
-0
lines changed

1 file changed

+78
-0
lines changed

nx.json

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
{
2+
"$schema": "./node_modules/nx/schemas/nx-schema.json",
3+
"namedInputs": {
4+
"default": ["{projectRoot}/**/*", "sharedGlobals"],
5+
"nxCloudId": ["67a3831acafec34e47159841"],
6+
"production": [
7+
"default",
8+
"!{projectRoot}/.eslintrc.json",
9+
"!{projectRoot}/eslint.config.mjs",
10+
"!{projectRoot}/**/?(*.)+(spec|test).[jt]s?(x)?(.snap)",
11+
"!{projectRoot}/tsconfig.spec.json",
12+
"!{projectRoot}/jest.config.[jt]s",
13+
"!{projectRoot}/src/test-setup.[jt]s",
14+
"!{projectRoot}/test-setup.[jt]s"
15+
],
16+
"sharedGlobals": ["{workspaceRoot}/.github/workflows/ci.yml"]
17+
},
18+
"nxCloudId": "67b72b5c86db7789c5ca1378",
19+
"plugins": [
20+
{
21+
"plugin": "@nx/webpack/plugin",
22+
"options": {
23+
"buildTargetName": "build",
24+
"serveTargetName": "serve",
25+
"previewTargetName": "preview",
26+
"buildDepsTargetName": "build-deps",
27+
"watchDepsTargetName": "watch-deps"
28+
}
29+
},
30+
{
31+
"plugin": "@nx/eslint/plugin",
32+
"options": {
33+
"targetName": "lint"
34+
}
35+
},
36+
{
37+
"plugin": "@nx/playwright/plugin",
38+
"options": {
39+
"targetName": "e2e"
40+
}
41+
},
42+
{
43+
"plugin": "@nx/jest/plugin",
44+
"options": {
45+
"targetName": "test"
46+
}
47+
}
48+
],
49+
"targetDefaults": {
50+
"e2e-ci--**/*": {
51+
"dependsOn": ["^build"]
52+
}
53+
},
54+
"generators": {
55+
"@nx/react": {
56+
"application": {
57+
"babel": true,
58+
"style": "tailwind",
59+
"linter": "eslint",
60+
"bundler": "webpack"
61+
},
62+
"component": {
63+
"style": "tailwind"
64+
},
65+
"library": {
66+
"style": "tailwind",
67+
"linter": "eslint"
68+
}
69+
}
70+
},
71+
"projects": {
72+
"hatch_project": {
73+
"root": "hatch-project/src/hatch_project",
74+
"sourceRoot": "hatch-project/src/hatch_project/src",
75+
"projectType": "application"
76+
}
77+
}
78+
}

0 commit comments

Comments
 (0)