Skip to content

Commit 329e78b

Browse files
committed
refactor(pmp): scope of the libs within repository domain
refs #141 closes #141
1 parent dbeb370 commit 329e78b

File tree

9 files changed

+129
-40
lines changed

9 files changed

+129
-40
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ A brilliant tool that will pimp your pull requests by collecting and presenting
1111
- copy `.env-sample` file as `.env` in project root
1212
- fill the `.env` file
1313
- install dependencies by `npm install` and run `node ./scripts/init.js`
14-
or manually copy all sample files under `libs/pmp-web/core/src/lib/environment/` directory
14+
or manually copy all sample files under `libs/pmp-web/core/src/lib/environmentSample/` directory
1515
without `.sample` key word and fill that files with proper configuration
1616

1717
Generate repository platform client credentials:

apps/pmp-web/src/environments/environment.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// This file can be replaced during build by using the `fileReplacements` array.
2-
// `ng build --prod` replaces `environment.ts` with `environment.prod.ts`.
2+
// `ng build --prod` replaces `environment.sample.ts` with `environmentSample.prod.ts`.
33
// The list of file replacements can be found in `angular.json`.
44

55
export const environment = {
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
export * from './lib/configs/bitbucket-auth.config';
22
export * from './lib/configs/github-auth.config';
3-
export * from './lib/environment/environment';
3+
export * from './lib/environment/environment.sample';
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
environment.ts
1+
environment.sample.ts
22
environment.prod.ts

libs/pmp-web/shared/config/src/lib/environment/environment.sample.ts

-5
This file was deleted.

nx.json

+16-10
Original file line numberDiff line numberDiff line change
@@ -63,28 +63,28 @@
6363
"tags": ["platform:web", "scope:repository", "type:data-access"]
6464
},
6565
"pmp-web-repository-repository-statistics-feature": {
66-
"tags": ["platform:web", "scope:repository", "type:feature"]
66+
"tags": ["platform:web", "scope:repository-statistics", "type:feature"]
6767
},
6868
"pmp-web-repository-repository-statistics-data-access": {
69-
"tags": ["platform:web", "scope:repository", "type:data-access"]
69+
"tags": ["platform:web", "scope:repository-statistics", "type:data-access"]
7070
},
7171
"pmp-web-repository-repositories-statistics-feature": {
72-
"tags": ["platform:web", "scope:repository", "type:feature"]
72+
"tags": ["platform:web", "scope:repositories-statistics", "type:feature"]
7373
},
7474
"pmp-web-repository-repositories-statistics-data-access": {
75-
"tags": ["platform:web", "scope:repository", "type:data-access"]
75+
"tags": ["platform:web", "scope:repositories-statistics", "type:data-access"]
7676
},
7777
"pmp-web-repository-reviewer-statistics-feature": {
78-
"tags": ["platform:web", "scope:repository", "type:feature"]
78+
"tags": ["platform:web", "scope:reviewer-statistics", "type:feature"]
7979
},
8080
"pmp-web-repository-reviewer-statistics-data-access": {
81-
"tags": ["platform:web", "scope:repository", "type:data-access"]
81+
"tags": ["platform:web", "scope:reviewer-statistics", "type:data-access"]
8282
},
8383
"pmp-web-repository-reviewers-statistics-feature": {
84-
"tags": ["platform:web", "scope:repository", "type:feature"]
84+
"tags": ["platform:web", "scope:reviewers-statistics", "type:feature"]
8585
},
8686
"pmp-web-repository-reviewers-statistics-data-access": {
87-
"tags": ["platform:web", "scope:repository", "type:data-access"]
87+
"tags": ["platform:web", "scope:reviewers-statistics", "type:data-access"]
8888
},
8989
"pmp-web-repository-domain": {
9090
"tags": ["platform:web", "scope:repository", "type:domain"]
@@ -93,10 +93,10 @@
9393
"tags": ["platform:web", "scope:repository", "type:shell"]
9494
},
9595
"pmp-web-repository-repository-settings-feature": {
96-
"tags": ["platform:web", "scope:repository", "type:feature"]
96+
"tags": ["platform:web", "scope:repository-settings", "type:feature"]
9797
},
9898
"pmp-web-repository-repository-settings-ui": {
99-
"tags": ["platform:web", "scope:repository", "type:ui"]
99+
"tags": ["platform:web", "scope:repository-settings", "type:ui"]
100100
},
101101
"server-repository-api-rest": {
102102
"tags": ["platform:server", "scope:repository", "type:api"]
@@ -185,6 +185,9 @@
185185
"pmp-web-shared-util-ngrx": {
186186
"tags": ["platform:web", "scope:shared", "type:util"]
187187
},
188+
"server-user-api-rest": {
189+
"tags": ["platform:server", "scope:user", "type:api"]
190+
},
188191
"server-shared-util-bitbucket": {
189192
"tags": ["platform:server", "scope:shared", "type:util"]
190193
},
@@ -199,6 +202,9 @@
199202
},
200203
"pmp-web-shared-core": {
201204
"tags": ["platform:web", "type:core"]
205+
},
206+
"pmp-web-shared-ui-generic-dialog": {
207+
"tags": ["platform:web", "scope:shared", "type:ui"]
202208
}
203209
}
204210
}

0 commit comments

Comments
 (0)