Skip to content

Commit

Permalink
refactor(pmp): scope of the libs within repository domain
Browse files Browse the repository at this point in the history
refs #141
closes #141
  • Loading branch information
Damian070 committed Apr 24, 2020
1 parent 0597955 commit 2288381
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ A brilliant tool that will pimp your pull requests by collecting and presenting
- copy `.env-sample` file as `.env` in project root
- fill the `.env` file
- install dependencies by `npm install` and run `node ./scripts/init.js`
or manually copy all sample files under `libs/pmp-web/core/src/lib/environment/` directory
or manually copy all sample files under `libs/pmp-web/core/src/lib/environmentSample/` directory
without `.sample` key word and fill that files with proper configuration

Generate repository platform client credentials:
Expand Down
2 changes: 1 addition & 1 deletion apps/pmp-web/src/environments/environment.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file can be replaced during build by using the `fileReplacements` array.
// `ng build --prod` replaces `environment.ts` with `environment.prod.ts`.
// `ng build --prod` replaces `environment.sample.ts` with `environmentSample.prod.ts`.
// The list of file replacements can be found in `angular.json`.

export const environment = {
Expand Down
2 changes: 1 addition & 1 deletion libs/pmp-web/shared/config/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
export * from './lib/configs/bitbucket-auth.config';
export * from './lib/configs/github-auth.config';
export * from './lib/environment/environment';
export * from './lib/environment/environment.sample';
2 changes: 1 addition & 1 deletion libs/pmp-web/shared/config/src/lib/environment/.gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
environment.ts
environment.sample.ts
environment.prod.ts
6 changes: 6 additions & 0 deletions nx.json
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,9 @@
"pmp-web-shared-util-ngrx": {
"tags": ["platform:web", "scope:shared", "type:util"]
},
"server-user-api-rest": {
"tags": ["platform:server", "scope:user", "type:api"]
},
"server-shared-util-bitbucket": {
"tags": ["platform:server", "scope:shared", "type:util"]
},
Expand All @@ -199,6 +202,9 @@
},
"pmp-web-shared-core": {
"tags": ["platform:web", "type:core"]
},
"pmp-web-shared-ui-generic-dialog": {
"tags": ["platform:web", "scope:shared", "type:ui"]
}
}
}

0 comments on commit 2288381

Please sign in to comment.