Skip to content

Commit e795e69

Browse files
committed
fix: πŸ› remove redundant peer deps
βœ… Closes: #130
1 parent 09dbc33 commit e795e69

File tree

3 files changed

+60
-55
lines changed

3 files changed

+60
-55
lines changed

β€Žangular.json

Lines changed: 11 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
{
2-
"version": 1,
2+
"version": 2,
33
"projects": {
44
"playground": {
55
"projectType": "application",
66
"root": "apps/playground",
77
"sourceRoot": "apps/playground/src",
88
"prefix": "ngneat",
9-
"architect": {
9+
"targets": {
1010
"build": {
11-
"builder": "@angular-devkit/build-angular:browser",
11+
"executor": "@angular-devkit/build-angular:browser",
1212
"outputs": ["{options.outputPath}"],
1313
"options": {
1414
"outputPath": "dist/apps/playground",
@@ -57,7 +57,7 @@
5757
"defaultConfiguration": "production"
5858
},
5959
"serve": {
60-
"builder": "@angular-devkit/build-angular:dev-server",
60+
"executor": "@angular-devkit/build-angular:dev-server",
6161
"configurations": {
6262
"production": {
6363
"browserTarget": "playground:build:production"
@@ -69,13 +69,13 @@
6969
"defaultConfiguration": "development"
7070
},
7171
"extract-i18n": {
72-
"builder": "@angular-devkit/build-angular:extract-i18n",
72+
"executor": "@angular-devkit/build-angular:extract-i18n",
7373
"options": {
7474
"browserTarget": "playground:build"
7575
}
7676
},
7777
"lint": {
78-
"builder": "@nrwl/linter:eslint",
78+
"executor": "@nrwl/linter:eslint",
7979
"options": {
8080
"lintFilePatterns": [
8181
"apps/playground/src/**/*.ts",
@@ -84,7 +84,7 @@
8484
}
8585
},
8686
"test": {
87-
"builder": "@nrwl/jest:jest",
87+
"executor": "@nrwl/jest:jest",
8888
"outputs": ["coverage/apps/playground"],
8989
"options": {
9090
"jestConfig": "apps/playground/jest.config.js",
@@ -98,9 +98,9 @@
9898
"root": "apps/playground-e2e",
9999
"sourceRoot": "apps/playground-e2e/src",
100100
"projectType": "application",
101-
"architect": {
101+
"targets": {
102102
"e2e": {
103-
"builder": "@nrwl/cypress:cypress",
103+
"executor": "@nrwl/cypress:cypress",
104104
"options": {
105105
"cypressConfig": "apps/playground-e2e/cypress.json",
106106
"devServerTarget": "playground:serve:development",
@@ -113,7 +113,7 @@
113113
}
114114
},
115115
"lint": {
116-
"builder": "@nrwl/linter:eslint",
116+
"executor": "@nrwl/linter:eslint",
117117
"outputs": ["{options.outputFile}"],
118118
"options": {
119119
"lintFilePatterns": ["apps/playground-e2e/**/*.{js,ts}"]
@@ -123,47 +123,6 @@
123123
"tags": [],
124124
"implicitDependencies": ["playground"]
125125
},
126-
"reactive-forms": {
127-
"projectType": "library",
128-
"root": "libs/reactive-forms",
129-
"sourceRoot": "libs/reactive-forms/src",
130-
"prefix": "ngneat",
131-
"architect": {
132-
"build": {
133-
"builder": "@nrwl/angular:package",
134-
"outputs": ["dist/libs/reactive-forms"],
135-
"options": {
136-
"project": "libs/reactive-forms/ng-package.json"
137-
},
138-
"configurations": {
139-
"production": {
140-
"tsConfig": "libs/reactive-forms/tsconfig.lib.prod.json"
141-
},
142-
"development": {
143-
"tsConfig": "libs/reactive-forms/tsconfig.lib.json"
144-
}
145-
},
146-
"defaultConfiguration": "production"
147-
},
148-
"test": {
149-
"builder": "@nrwl/jest:jest",
150-
"outputs": ["coverage/libs/reactive-forms"],
151-
"options": {
152-
"jestConfig": "libs/reactive-forms/jest.config.js",
153-
"passWithNoTests": true
154-
}
155-
},
156-
"lint": {
157-
"builder": "@nrwl/linter:eslint",
158-
"options": {
159-
"lintFilePatterns": [
160-
"libs/reactive-forms/src/**/*.ts",
161-
"libs/reactive-forms/src/**/*.html"
162-
]
163-
}
164-
}
165-
},
166-
"tags": []
167-
}
126+
"reactive-forms": "libs/reactive-forms"
168127
}
169128
}

β€Žlibs/reactive-forms/package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,10 @@
2626
},
2727
"homepage": "https://github.com/ngneat/reactive-forms#readme",
2828
"peerDependencies": {
29-
"@angular/forms": ">= 13.0.0",
30-
"rxjs": "*"
29+
"@angular/forms": ">= 13.0.0"
3130
},
3231
"repository": {
3332
"type": "git",
3433
"url": "https://github.com/ngneat/reactive-forms"
3534
}
36-
}
35+
}

β€Žlibs/reactive-forms/project.json

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
{
2+
"projectType": "library",
3+
"root": "libs/reactive-forms",
4+
"sourceRoot": "libs/reactive-forms/src",
5+
"prefix": "ngneat",
6+
"targets": {
7+
"build": {
8+
"executor": "@nrwl/angular:package",
9+
"outputs": [
10+
"dist/libs/reactive-forms"
11+
],
12+
"options": {
13+
"project": "libs/reactive-forms/ng-package.json",
14+
"updateBuildableProjectDepsInPackageJson": false
15+
},
16+
"configurations": {
17+
"production": {
18+
"tsConfig": "libs/reactive-forms/tsconfig.lib.prod.json"
19+
},
20+
"development": {
21+
"tsConfig": "libs/reactive-forms/tsconfig.lib.json"
22+
}
23+
},
24+
"defaultConfiguration": "production"
25+
},
26+
"test": {
27+
"executor": "@nrwl/jest:jest",
28+
"outputs": [
29+
"coverage/libs/reactive-forms"
30+
],
31+
"options": {
32+
"jestConfig": "libs/reactive-forms/jest.config.js",
33+
"passWithNoTests": true
34+
}
35+
},
36+
"lint": {
37+
"executor": "@nrwl/linter:eslint",
38+
"options": {
39+
"lintFilePatterns": [
40+
"libs/reactive-forms/src/**/*.ts",
41+
"libs/reactive-forms/src/**/*.html"
42+
]
43+
}
44+
}
45+
},
46+
"tags": []
47+
}

0 commit comments

Comments
Β (0)