Browse Source
Merge pull request #3336 from abpframework/chore/new-environment
Added a new environment named internal
pull/3347/head
Levent Arman Özak
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with
14 additions and
2 deletions
-
npm/ng-packs/.gitignore
-
npm/ng-packs/angular.json
-
npm/ng-packs/package.json
|
|
|
@ -45,4 +45,5 @@ testem.log |
|
|
|
.DS_Store |
|
|
|
Thumbs.db |
|
|
|
|
|
|
|
!**/[Pp]ackages/* |
|
|
|
!**/[Pp]ackages/* |
|
|
|
*.internal.* |
|
|
|
@ -485,6 +485,14 @@ |
|
|
|
"maximumError": "10kb" |
|
|
|
} |
|
|
|
] |
|
|
|
}, |
|
|
|
"internal": { |
|
|
|
"fileReplacements": [ |
|
|
|
{ |
|
|
|
"replace": "apps/dev-app/src/environments/environment.ts", |
|
|
|
"with": "apps/dev-app/src/environments/environment.internal.ts" |
|
|
|
} |
|
|
|
] |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
@ -496,6 +504,9 @@ |
|
|
|
"configurations": { |
|
|
|
"production": { |
|
|
|
"browserTarget": "dev-app:build:production" |
|
|
|
}, |
|
|
|
"internal": { |
|
|
|
"browserTarget": "dev-app:build:internal" |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
|
|
|
|
@ -6,9 +6,9 @@ |
|
|
|
}, |
|
|
|
"scripts": { |
|
|
|
"ng": "ng", |
|
|
|
"abpng": "abpng", |
|
|
|
"symlink": "symlink", |
|
|
|
"start": "ng serve dev-app", |
|
|
|
"start:internal": "ng serve dev-app --configuration=internal", |
|
|
|
"test": "ng test --watchAll --runInBand", |
|
|
|
"commit": "git-cz", |
|
|
|
"lint": "ng lint", |
|
|
|
|