Skip to content

Commit 8521847

Browse files
committed
chore(deps): update nx to v15.0.0
1 parent 68a23ff commit 8521847

5 files changed

Lines changed: 289 additions & 226 deletions

File tree

nx.json

Lines changed: 20 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,6 @@
44
"affected": {
55
"defaultBase": "main"
66
},
7-
"implicitDependencies": {
8-
"package.json": {
9-
"dependencies": "*",
10-
"devDependencies": "*"
11-
},
12-
".eslintrc.json": "*"
13-
},
147
"tasksRunnerOptions": {
158
"default": {
169
"runner": "nx/tasks-runners/default",
@@ -21,12 +14,30 @@
2114
},
2215
"targetDefaults": {
2316
"build": {
24-
"dependsOn": ["^build"]
17+
"dependsOn": ["^build"],
18+
"inputs": ["production", "^production"]
19+
},
20+
"test": {
21+
"inputs": ["default", "^production", "{workspaceRoot}/jest.preset.js"]
22+
},
23+
"lint": {
24+
"inputs": ["default", "{workspaceRoot}/.eslintrc.json"]
2525
}
2626
},
2727
"workspaceLayout": {
2828
"appsDir": "packages",
2929
"libsDir": "packages"
3030
},
31-
"defaultProject": "tfjs-node-helpers-example"
31+
"defaultProject": "tfjs-node-helpers-example",
32+
"namedInputs": {
33+
"default": ["{projectRoot}/**/*", "sharedGlobals"],
34+
"sharedGlobals": [],
35+
"production": [
36+
"default",
37+
"!{projectRoot}/**/?(*.)+(spec|test).[jt]s?(x)?(.snap)",
38+
"!{projectRoot}/tsconfig.spec.json",
39+
"!{projectRoot}/jest.config.[jt]s",
40+
"!{projectRoot}/.eslintrc.json"
41+
]
42+
}
3243
}

0 commit comments

Comments
 (0)