Skip to content

Commit c9db2ce

Browse files
committed
test: upgrade nx fixture
1 parent 91b5687 commit c9db2ce

File tree

2 files changed

+23
-6
lines changed

2 files changed

+23
-6
lines changed

tests/fixtures/nx-integrated/.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,12 @@ testem.log
3939
Thumbs.db
4040

4141
.nx/cache
42+
.nx/workspace-data
4243

4344
# Next.js
4445
.next
4546

4647
# Local Netlify folder
4748
.netlify
49+
.cursor/rules/nx-rules.mdc
50+
.github/instructions/nx.instructions.md

tests/fixtures/nx-integrated/nx.json

Lines changed: 20 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,33 @@
33
"targetDefaults": {
44
"build": {
55
"cache": true,
6-
"dependsOn": ["^build"],
7-
"inputs": ["production", "^production"]
6+
"dependsOn": [
7+
"^build"
8+
],
9+
"inputs": [
10+
"production",
11+
"^production"
12+
]
813
},
914
"lint": {
1015
"cache": true
1116
},
1217
"@nx/next:build": {
1318
"cache": true,
14-
"dependsOn": ["^build"],
15-
"inputs": ["production", "^production"]
19+
"dependsOn": [
20+
"^build"
21+
],
22+
"inputs": [
23+
"production",
24+
"^production"
25+
]
1626
}
1727
},
1828
"namedInputs": {
19-
"default": ["{projectRoot}/**/*", "sharedGlobals"],
29+
"default": [
30+
"{projectRoot}/**/*",
31+
"sharedGlobals"
32+
],
2033
"production": [
2134
"default",
2235
"!{projectRoot}/**/?(*.)+(spec|test).[jt]s?(x)?(.snap)",
@@ -31,5 +44,6 @@
3144
"linter": "eslint"
3245
}
3346
}
34-
}
47+
},
48+
"useInferencePlugins": false
3549
}

0 commit comments

Comments
 (0)