Skip to content

Commit 16ec5e1

Browse files
Tony133jmcdo29
authored andcommitted
chore(deps): upgrade nx v15.0.4
1 parent 7aeef1b commit 16ec5e1

File tree

5 files changed

+124
-82
lines changed

5 files changed

+124
-82
lines changed

migrations.json

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"migrations": [
3+
{
4+
"cli": "nx",
5+
"version": "15.0.0-beta.1",
6+
"description": "Replace implicitDependencies with namedInputs + target inputs",
7+
"implementation": "./src/migrations/update-15-0-0/migrate-to-inputs",
8+
"package": "nx",
9+
"name": "15.0.0-migrate-to-inputs"
10+
},
11+
{
12+
"cli": "nx",
13+
"version": "15.0.0-beta.1",
14+
"description": "Prefix outputs with {workspaceRoot}/{projectRoot} if needed",
15+
"implementation": "./src/migrations/update-15-0-0/prefix-outputs",
16+
"package": "nx",
17+
"name": "15.0.0-prefix-outputs"
18+
},
19+
{
20+
"version": "15.0.0-beta.0",
21+
"cli": "nx",
22+
"description": "Stop hashing jest spec files and config files for build targets and dependent tasks",
23+
"factory": "./src/migrations/update-15-0-0/add-jest-inputs",
24+
"package": "@nrwl/jest",
25+
"name": "add-jest-inputs"
26+
}
27+
]
28+
}

nx.json

Lines changed: 22 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,6 @@
66
"cli": {
77
"defaultCollection": "@nrwl/nest"
88
},
9-
"implicitDependencies": {
10-
"package.json": {
11-
"dependencies": "*",
12-
"devDependencies": "*"
13-
},
14-
".eslintrc.json": "*"
15-
},
169
"tasksRunnerOptions": {
1710
"default": {
1811
"runner": "@nrwl/workspace/tasks-runners/default",
@@ -29,5 +22,26 @@
2922
}
3023
]
3124
},
32-
"defaultProject": "testing-nestjs"
25+
"defaultProject": "testing-nestjs",
26+
"namedInputs": {
27+
"default": ["{projectRoot}/**/*", "sharedGlobals"],
28+
"sharedGlobals": [],
29+
"production": [
30+
"default",
31+
"!{projectRoot}/**/?(*.)+(spec|test).[jt]s?(x)?(.snap)",
32+
"!{projectRoot}/tsconfig.spec.json",
33+
"!{projectRoot}/jest.config.[jt]s"
34+
]
35+
},
36+
"targetDefaults": {
37+
"build": {
38+
"inputs": ["production", "^production"]
39+
},
40+
"test": {
41+
"inputs": ["default", "^production", "{workspaceRoot}/jest.preset.js"]
42+
},
43+
"e2e": {
44+
"inputs": ["default", "^production", "{workspaceRoot}/jest.preset.js"]
45+
}
46+
}
3347
}

package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -90,12 +90,12 @@
9090
"@nestjs/cli": "^9.1.4",
9191
"@nestjs/schematics": "^9.0.3",
9292
"@nestjs/testing": "^9.1.2",
93-
"@nrwl/cli": "15.0.0",
94-
"@nrwl/jest": "^15.0.0",
95-
"@nrwl/nest": "^15.0.0",
96-
"@nrwl/node": "^15.0.0",
97-
"@nrwl/tao": "^15.0.0",
98-
"@nrwl/workspace": "^15.0.0",
93+
"@nrwl/cli": "15.0.4",
94+
"@nrwl/jest": "15.0.4",
95+
"@nrwl/nest": "15.0.4",
96+
"@nrwl/node": "15.0.4",
97+
"@nrwl/tao": "15.0.4",
98+
"@nrwl/workspace": "15.0.4",
9999
"@types/express": "^4.17.1",
100100
"@types/jest": "^27.5.2",
101101
"@types/multer": "^1.4.7",
@@ -115,7 +115,7 @@
115115
"jest": "^27.5.1",
116116
"lint-staged": "^10.5.4",
117117
"multer": "1.4.5-lts.1",
118-
"nx": "^15.0.0",
118+
"nx": "15.0.4",
119119
"pactum": "^3.2.2",
120120
"prettier": "^2.2.1",
121121
"prisma": "^3.1.1",

pnpm-lock.yaml

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

workspace.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@
9696
},
9797
"test": {
9898
"executor": "@nrwl/jest:jest",
99-
"outputs": ["coverage/apps/file-up-and-down-sample"],
99+
"outputs": ["{workspaceRoot}/coverage/apps/file-up-and-down-sample"],
100100
"options": {
101101
"jestConfig": "apps/file-up-and-down-sample/jest.config.js",
102102
"passWithNoTests": true

0 commit comments

Comments
 (0)