forked from bojidaryovchev/nest-angular
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- updated Angular to v6.0.1 and @nguniversal to v6.0.0 - updated RxJS to v6.0.0 (also added rxjs-compat@v6.0.1) - updated Webpack to v4.8.3 (also added webpack-cli@v2.1.3) - added HotModuleReplacement support
- Loading branch information
1 parent
8820d0e
commit b3db783
Showing
19 changed files
with
245 additions
and
179 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,139 @@ | ||
{ | ||
"$schema": "./node_modules/@angular/cli/lib/config/schema.json", | ||
"version": 1, | ||
"newProjectRoot": "projects", | ||
"projects": { | ||
"nest-angular": { | ||
"root": "", | ||
"sourceRoot": "src/client", | ||
"projectType": "application", | ||
"architect": { | ||
"build": { | ||
"builder": "@angular-devkit/build-angular:browser", | ||
"options": { | ||
"outputPath": "./dist/browser", | ||
"index": "./src/client/index.html", | ||
"main": "./src/client/main.ts", | ||
"tsConfig": "./src/client/tsconfig.browser.json", | ||
"polyfills": "./src/client/polyfills.ts", | ||
"assets": [ | ||
"./src/client/assets", | ||
"./src/client/favicon.ico" | ||
], | ||
"styles": [ | ||
"node_modules/bootstrap/dist/css/bootstrap.min.css", | ||
"./src/client/styles.scss" | ||
], | ||
"scripts": [] | ||
}, | ||
"configurations": { | ||
"production": { | ||
"optimization": true, | ||
"outputHashing": "all", | ||
"sourceMap": false, | ||
"extractCss": true, | ||
"namedChunks": false, | ||
"aot": true, | ||
"extractLicenses": true, | ||
"vendorChunk": false, | ||
"buildOptimizer": true, | ||
"fileReplacements": [ | ||
{ | ||
"replace": "./src/client/environments/environment.ts", | ||
"with": "./src/client/environments/environment.prod.ts" | ||
} | ||
] | ||
} | ||
} | ||
}, | ||
"serve": { | ||
"builder": "@angular-devkit/build-angular:dev-server", | ||
"options": { | ||
"browserTarget": "nest-angular:build" | ||
}, | ||
"configurations": { | ||
"production": { | ||
"browserTarget": "nest-angular:build:production" | ||
} | ||
} | ||
}, | ||
"extract-i18n": { | ||
"builder": "@angular-devkit/build-angular:extract-i18n", | ||
"options": { | ||
"browserTarget": "nest-angular:build" | ||
} | ||
}, | ||
"test": { | ||
"builder": "@angular-devkit/build-angular:karma", | ||
"options": { | ||
"main": "./src/client/test.ts", | ||
"karmaConfig": "./src/client/karma.conf.js", | ||
"polyfills": "./src/client/polyfills.ts", | ||
"tsConfig": "./src/client/tsconfig.spec.json", | ||
"scripts": [], | ||
"styles": [ | ||
"node_modules/bootstrap/dist/css/bootstrap.min.css", | ||
"./src/client/styles.scss" | ||
], | ||
"assets": [ | ||
"./src/client/assets", | ||
"./src/client/favicon.ico" | ||
] | ||
} | ||
}, | ||
"lint": { | ||
"builder": "@angular-devkit/build-angular:tslint", | ||
"options": { | ||
"tsConfig": [ | ||
"./src/client/tsconfig.app.json", | ||
"./src/client/tsconfig.spec.json" | ||
], | ||
"exclude": [ | ||
"**/node_modules/**" | ||
] | ||
} | ||
}, | ||
"server": { | ||
"builder": "@angular-devkit/build-angular:server", | ||
"options": { | ||
"outputPath": "./dist/server", | ||
"main": "./src/client/main.server.ts", | ||
"tsConfig": "./src/client/tsconfig.server.json" | ||
} | ||
} | ||
} | ||
}, | ||
"nest-angular-e2e": { | ||
"root": "./e2e/", | ||
"projectType": "application", | ||
"architect": { | ||
"e2e": { | ||
"builder": "@angular-devkit/build-angular:protractor", | ||
"options": { | ||
"protractorConfig": "./e2e/protractor.conf.js", | ||
"devServerTarget": "nest-angular:serve" | ||
} | ||
}, | ||
"lint": { | ||
"builder": "@angular-devkit/build-angular:tslint", | ||
"options": { | ||
"tsConfig": "./e2e/tsconfig.e2e.json", | ||
"exclude": [ | ||
"**/node_modules/**" | ||
] | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"defaultProject": "nest-angular", | ||
"schematics": { | ||
"@schematics/angular:component": { | ||
"prefix": "app", | ||
"styleext": "scss" | ||
}, | ||
"@schematics/angular:directive": { | ||
"prefix": "app" | ||
} | ||
} | ||
} |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.