Skip to content

Commit ea17c8d

Browse files
committed
chore: fix nx config
1 parent d5a8835 commit ea17c8d

File tree

2 files changed

+41
-16
lines changed

2 files changed

+41
-16
lines changed

nx.json

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,5 @@
11
{
2-
"implicitDependencies": {
3-
"package.json": "*",
4-
"package-lock.json": "*",
5-
"nx.json": "*",
6-
"tsconfig.base.json": "*"
7-
},
2+
"$schema": "./node_modules/nx/schemas/nx-schema.json",
83
"tasksRunnerOptions": {
94
"default": {
105
"runner": "nx/tasks-runners/default",
@@ -21,5 +16,15 @@
2116
"test": {
2217
"dependsOn": ["build"]
2318
}
19+
},
20+
"namedInputs": {
21+
"default": ["{projectRoot}/**/*", "sharedGlobals"],
22+
"sharedGlobals": [
23+
"{workspaceRoot}/nx.json",
24+
"{workspaceRoot}/package.json",
25+
"{workspaceRoot}/pnpm-lock.yaml",
26+
"{workspaceRoot}/tsconfig.base.json"
27+
],
28+
"production": ["default"]
2429
}
2530
}

pnpm-lock.yaml

Lines changed: 30 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)