Skip to content

Commit 5eb5548

Browse files
committed
style: replace outdated updateBuildableProjectDepsInPackageJson
1 parent a36b22b commit 5eb5548

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

libs/ng-mockito/ng-mockito/.eslintrc.json

+7
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,13 @@
3434
"files": ["*.html"],
3535
"extends": ["plugin:@nx/angular-template"],
3636
"rules": {}
37+
},
38+
{
39+
"files": ["*.json"],
40+
"parser": "jsonc-eslint-parser",
41+
"rules": {
42+
"@nx/dependency-checks": "error"
43+
}
3744
}
3845
]
3946
}

libs/ng-mockito/ng-mockito/project.json

+5-3
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@
99
"executor": "@nx/angular:package",
1010
"options": {
1111
"tsConfig": "libs/ng-mockito/ng-mockito/tsconfig.lib.json",
12-
"project": "libs/ng-mockito/ng-mockito/ng-package.json",
13-
"updateBuildableProjectDepsInPackageJson": true
12+
"project": "libs/ng-mockito/ng-mockito/ng-package.json"
1413
},
1514
"configurations": {
1615
"production": {
@@ -21,7 +20,10 @@
2120
"lint": {
2221
"executor": "@nx/eslint:lint",
2322
"options": {
24-
"lintFilePatterns": ["libs/ng-mockito/ng-mockito/src/**/*.ts"]
23+
"lintFilePatterns": [
24+
"libs/ng-mockito/ng-mockito/src/**/*.ts",
25+
"libs/my-lib/package.json"
26+
]
2527
}
2628
},
2729
"test": {

0 commit comments

Comments
 (0)