Skip to content

Commit 2288381

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

File tree

5 files changed

+10
-4
lines changed

5 files changed

+10
-4
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

nx.json

+6
Original file line numberDiff line numberDiff line change
@@ -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)