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
parent
commit
2d6e91a9b6
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      npm/ng-packs/.gitignore
  2. 11
      npm/ng-packs/angular.json
  3. 2
      npm/ng-packs/package.json

3
npm/ng-packs/.gitignore

@ -45,4 +45,5 @@ testem.log
.DS_Store .DS_Store
Thumbs.db Thumbs.db
!**/[Pp]ackages/* !**/[Pp]ackages/*
*.internal.*

11
npm/ng-packs/angular.json

@ -485,6 +485,14 @@
"maximumError": "10kb" "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": { "configurations": {
"production": { "production": {
"browserTarget": "dev-app:build:production" "browserTarget": "dev-app:build:production"
},
"internal": {
"browserTarget": "dev-app:build:internal"
} }
} }
}, },

2
npm/ng-packs/package.json

@ -6,9 +6,9 @@
}, },
"scripts": { "scripts": {
"ng": "ng", "ng": "ng",
"abpng": "abpng",
"symlink": "symlink", "symlink": "symlink",
"start": "ng serve dev-app", "start": "ng serve dev-app",
"start:internal": "ng serve dev-app --configuration=internal",
"test": "ng test --watchAll --runInBand", "test": "ng test --watchAll --runInBand",
"commit": "git-cz", "commit": "git-cz",
"lint": "ng lint", "lint": "ng lint",

Loading…
Cancel
Save