Skip to content

Commit

Permalink
Fix stratos build
Browse files Browse the repository at this point in the history
  • Loading branch information
KlapTrap committed Nov 20, 2018
1 parent 7536852 commit 02028fc
Show file tree
Hide file tree
Showing 2 changed files with 128 additions and 1 deletion.
127 changes: 127 additions & 0 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,133 @@
"version": 1,
"newProjectRoot": "src/frontend/packages",
"projects": {
"stratos": {
"root": "",
"sourceRoot": "src/frontend",
"projectType": "application",
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
"preserveSymlinks": true,
"outputPath": "dist",
"index": "src/frontend/packages/core/src/index.html",
"main": "src/frontend/packages/core/src/main.ts",
"tsConfig": "src/frontend/packages/core/tsconfig.app.json",
"polyfills": "src/frontend/packages/core/src/polyfills.ts",
"assets": [
"src/frontend/packages/core/assets",
"src/frontend/packages/core/src/favicon.ico"
],
"styles": [
"src/frontend/packages/core/src/styles.scss",
"node_modules/xterm/dist/xterm.css"
],
"scripts": []
},
"configurations": {
"production": {
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
"extractCss": true,
"namedChunks": false,
"aot": true,
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": true,
"fileReplacements": [
{
"replace": "src/frontend/packages/core/src/environments/environment.ts",
"with": "src/frontend/packages/core/src/environments/environment.prod.ts"
}
]
}
}
},
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
"aot": true,
"sslCert": "dev-ssl/server.crt",
"proxyConfig": "proxy.conf.js",
"ssl": true,
"sslKey": "dev-ssl/server.key",
"browserTarget": "stratos:build"
},
"configurations": {
"production": {
"browserTarget": "stratos:build:production"
}
}
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"browserTarget": "stratos:build"
}
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"preserveSymlinks": true,
"sourceMap": false,
"main": "src/frontend/test.ts",
"karmaConfig": "./karma.conf.js",
"polyfills": "src/frontend/polyfills.ts",
"tsConfig": "src/frontend/tsconfig.spec.json",
"scripts": [],
"styles": [
"src/frontend/styles.scss",
"node_modules/xterm/dist/xterm.css"
],
"assets": [
"src/frontend/assets",
"src/frontend/favicon.ico"
]
}
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"typeCheck": true,
"format": "stylish",
"tsConfig": [
"src/frontend/tsconfig.app.json",
"src/frontend/tsconfig.spec.json"
],
"exclude": [
"**/node_modules/**"
]
}
}
}
},
"stratos-e2e": {
"root": "",
"sourceRoot": "",
"projectType": "application",
"architect": {
"e2e": {
"builder": "@angular-devkit/build-angular:protractor",
"options": {
"protractorConfig": "./protractor.conf.js",
"devServerTarget": "stratos:serve"
}
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": [
"src/test-e2e/tsconfig.e2e.json"
],
"exclude": [
"**/node_modules/**"
]
}
}
}
},
"core": {
"root": "src/frontend/packages/core/",
"sourceRoot": "src/frontend/packages/core/src",
Expand Down
2 changes: 1 addition & 1 deletion src/frontend/packages/core/tsconfig.app.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"types": []
},
"exclude": [
"test.ts",
"./src/test.ts",
"**/*.spec.ts"
]
}

0 comments on commit 02028fc

Please sign in to comment.