Skip to content

Commit

Permalink
build: update to angular 9 (#184)
Browse files Browse the repository at this point in the history
  • Loading branch information
dherges authored Sep 14, 2019
1 parent 19acb2b commit c153c9d
Show file tree
Hide file tree
Showing 8 changed files with 2,375 additions and 1,211 deletions.
12 changes: 12 additions & 0 deletions browserslist
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# This file is used by the build system to adjust CSS and JS output to support the specified browsers below.
# For additional information regarding the format and rule options, please see:
# https://github.com/browserslist/browserslist#queries

# You can see what browsers were selected by your queries by running:
# npx browserslist

> 0.5%
last 2 versions
Firefox ESR
not dead
not IE 9-11 # For IE 9-11 support, remove 'not'.
33 changes: 16 additions & 17 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,31 +19,30 @@
"release": "standard-version --message 'release: prepare release and deployment of v%s'"
},
"dependencies": {
"@angular/common": "8.0.0-rc.2",
"@angular/compiler": "8.0.0-rc.2",
"@angular/core": "8.0.0-rc.2",
"@angular/forms": "8.0.0-rc.2",
"@angular/http": "8.0.0-beta.6",
"@angular/platform-browser": "8.0.0-rc.2",
"@angular/platform-browser-dynamic": "8.0.0-rc.2",
"@angular/router": "8.0.0-rc.2",
"@angular/common": "9.0.0-next.6",
"@angular/compiler": "9.0.0-next.6",
"@angular/core": "9.0.0-next.6",
"@angular/forms": "9.0.0-next.6",
"@angular/platform-browser": "9.0.0-next.6",
"@angular/platform-browser-dynamic": "9.0.0-next.6",
"@angular/router": "9.0.0-next.6",
"bootstrap": "~4.0.0-beta",
"core-js": "~2.6.0",
"normalize.css": "~8.0.0",
"rxjs": "~6.5.1",
"zone.js": "~0.9.0"
"rxjs": "~6.5.3",
"zone.js": "~0.9.1"
},
"devDependencies": {
"@angular-devkit/build-angular": "~0.13.0",
"@angular/cli": "8.0.0-beta.4",
"@angular/compiler-cli": "8.0.0-rc.2",
"@angular/language-service": "8.0.0-rc.2",
"@angular-devkit/build-angular": "~0.803.4",
"@angular/cli": "8.3.4",
"@angular/compiler-cli": "9.0.0-next.6",
"@angular/language-service": "9.0.0-next.6",
"@types/chai": "~4.2.0",
"@types/cucumber": "~4.0.0",
"@types/jasmine": "~3.4.0",
"@types/node": "~12.0.0",
"chai": "~4.2.0",
"codelyzer": "~5.0.1",
"codelyzer": "^5.0.1",
"cucumber": "~5.1.0",
"gh-pages": "~2.0.0",
"http-server": "~0.11.0",
Expand All @@ -61,6 +60,6 @@
"standard-version": "^6.0.0",
"ts-node": "~8.2.0",
"tslint": "~5.16.0",
"typescript": "3.4.5"
"typescript": "3.5.3"
}
}
}
5 changes: 2 additions & 3 deletions src/app/app.module.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { FormsModule } from '@angular/forms';
import { HttpModule } from '@angular/http';

import { HttpClientModule } from '@angular/common/http';
import { AppRoutingModule } from './app-routing.module';
import { AppComponent } from './app.component';
import { FooterModule } from './shared/footer/footer.module';
Expand All @@ -16,7 +15,7 @@ import { HomeModule } from './content/home/home.module';
// @angular packages
BrowserModule,
FormsModule,
HttpModule,
HttpClientModule,

// app packages
AppRoutingModule,
Expand Down
1 change: 0 additions & 1 deletion src/tsconfig.app.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"extends": "../tsconfig.json",
"compilerOptions": {
"outDir": "../out-tsc/app",
"module": "es2015",
"baseUrl": "",
"types": []
},
Expand Down
2 changes: 0 additions & 2 deletions src/tsconfig.spec.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
"extends": "../tsconfig.json",
"compilerOptions": {
"outDir": "../out-tsc/spec",
"module": "commonjs",
"target": "es5",
"baseUrl": "",
"types": [
"jasmine",
Expand Down
4 changes: 3 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
{
"compileOnSave": false,
"compilerOptions": {
"downlevelIteration": true,
"module": "esnext",
"outDir": "./dist/out-tsc",
"baseUrl": "src",
"sourceMap": true,
"declaration": false,
"moduleResolution": "node",
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"target": "es5",
"target": "es2015",
"typeRoots": [
"node_modules/@types"
],
Expand Down
8 changes: 4 additions & 4 deletions tslint.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,12 +100,12 @@

"directive-selector": [true, "attribute", "sp", "camelCase"],
"component-selector": [true, "element", "sp", "kebab-case"],
"use-input-property-decorator": true,
"use-output-property-decorator": true,
"use-host-property-decorator": true,
"no-inputs-metadata-property": true,
"no-outputs-metadata-property": true,
"no-host-metadata-property": true,
"no-input-rename": true,
"no-output-rename": true,
"use-life-cycle-interface": true,
"use-lifecycle-interface": true,
"use-pipe-transform-interface": true,
"component-class-suffix": true,
"directive-class-suffix": true,
Expand Down
Loading

0 comments on commit c153c9d

Please sign in to comment.