Skip to content

Commit 72fe3e7

Browse files
committed
chore: nx migrate 12.9
1 parent fcc9c84 commit 72fe3e7

File tree

5 files changed

+1024
-421
lines changed

5 files changed

+1024
-421
lines changed

jest.config.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
module.exports = {
2-
projects: ['<rootDir>/packages/nx', '<rootDir>/e2e/nx-e2e'],
3-
};
1+
const { getJestProjects } = require('@nrwl/jest');
2+
3+
module.exports = { projects: [...getJestProjects(), '<rootDir>/e2e/nx-e2e'] };

nx.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,13 @@
3434
"workspaceLayout": {
3535
"appsDir": "e2e",
3636
"libsDir": "packages"
37+
},
38+
"targetDependencies": {
39+
"build": [
40+
{
41+
"target": "build",
42+
"projects": "dependencies"
43+
}
44+
]
3745
}
3846
}

package.json

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -34,28 +34,29 @@
3434
"@angular-devkit/architect": "^0.1200.0",
3535
"@angular-devkit/core": "^12.0.0",
3636
"@angular-devkit/schematics": "^12.0.0",
37-
"@nrwl/cli": "12.4.0",
38-
"@nrwl/eslint-plugin-nx": "12.4.0",
39-
"@nrwl/jest": "12.4.0",
40-
"@nrwl/nx-plugin": "12.4.0",
41-
"@nrwl/tao": "12.4.0",
42-
"@nrwl/workspace": "12.4.0",
37+
"@nrwl/cli": "12.9.0",
38+
"@nrwl/eslint-plugin-nx": "12.9.0",
39+
"@nrwl/jest": "12.9.0",
40+
"@nrwl/nx-plugin": "12.9.0",
41+
"@nrwl/tao": "12.9.0",
42+
"@nrwl/workspace": "12.9.0",
4343
"@types/jest": "26.0.8",
4444
"@types/node": "14.14.33",
4545
"@typescript-eslint/eslint-plugin": "^4.3.0",
4646
"@typescript-eslint/parser": "^4.3.0",
4747
"conventional-changelog-cli": "^2.1.1",
4848
"cz-conventional-changelog": "^3.3.0",
4949
"doctoc": "^2.0.0",
50-
"dotenv": "8.2.0",
50+
"dotenv": "10.0.0",
5151
"eslint": "7.22.0",
5252
"eslint-config-prettier": "8.1.0",
5353
"jest": "27.0.3",
5454
"jsonc-parser": "3.0.0",
55-
"prettier": "2.2.1",
55+
"prettier": "2.4.1",
5656
"ts-jest": "27.0.3",
5757
"ts-node": "9.1.1",
5858
"tslint": "6.1.3",
59-
"typescript": "4.2.4"
59+
"typescript": "4.3.5"
6060
}
6161
}
62+

workspace.json

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,7 @@
1010
"lint": {
1111
"builder": "@nrwl/linter:eslint",
1212
"options": {
13-
"lintFilePatterns": [
14-
"packages/nx/**/*.ts"
15-
]
13+
"lintFilePatterns": ["packages/nx/**/*.ts"]
1614
}
1715
},
1816
"test": {
@@ -21,9 +19,7 @@
2119
"jestConfig": "packages/nx/jest.config.js",
2220
"passWithNoTests": true
2321
},
24-
"outputs": [
25-
"coverage/packages/nx"
26-
]
22+
"outputs": ["coverage/packages/nx"]
2723
},
2824
"build": {
2925
"builder": "@nrwl/node:package",
@@ -56,9 +52,7 @@
5652
}
5753
]
5854
},
59-
"outputs": [
60-
"{options.outputPath}"
61-
]
55+
"outputs": ["{options.outputPath}"]
6256
}
6357
}
6458
},
@@ -82,4 +76,4 @@
8276
"cli": {
8377
"defaultCollection": "@nrwl/workspace"
8478
}
85-
}
79+
}

0 commit comments

Comments
 (0)