Skip to content

Commit

Permalink
feat: upgrade to angular 8
Browse files Browse the repository at this point in the history
BREAKING CHANGE: requires angular 8
  • Loading branch information
scttcper committed Aug 5, 2019
1 parent e5953f4 commit 80c2530
Show file tree
Hide file tree
Showing 8 changed files with 2,661 additions and 2,422 deletions.
12 changes: 12 additions & 0 deletions browserslist
@@ -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'.
72 changes: 36 additions & 36 deletions package.json
Expand Up @@ -19,52 +19,52 @@
},
"private": true,
"dependencies": {
"@angular/animations": "7.2.13",
"@angular/cdk": "7.3.7",
"@angular/common": "7.2.13",
"@angular/compiler": "7.2.13",
"@angular/core": "7.2.13",
"@angular/forms": "7.2.13",
"@angular/material": "7.3.7",
"@angular/platform-browser": "7.2.13",
"@angular/platform-browser-dynamic": "7.2.13",
"@angular/router": "7.2.13",
"@ng-bootstrap/ng-bootstrap": "4.1.1",
"@uirouter/angular": "3.0.0",
"@angular/animations": "8.2.0",
"@angular/cdk": "8.1.2",
"@angular/common": "8.2.0",
"@angular/compiler": "8.2.0",
"@angular/core": "8.2.0",
"@angular/forms": "8.2.0",
"@angular/material": "8.1.2",
"@angular/platform-browser": "8.2.0",
"@angular/platform-browser-dynamic": "8.2.0",
"@angular/router": "8.2.0",
"@ng-bootstrap/ng-bootstrap": "5.1.0",
"@uirouter/angular": "4.0.0",
"bootstrap": "4.3.1",
"core-js": "2.6.3",
"rxjs": "6.4.0",
"zone.js": "0.9.0"
"core-js": "3.1.4",
"rxjs": "6.5.2",
"zone.js": "0.10.1"
},
"devDependencies": {
"@angular-devkit/build-angular": "0.13.8",
"@angular/cli": "7.3.8",
"@angular/compiler-cli": "7.2.13",
"@angular/language-service": "7.2.13",
"@angular-devkit/build-angular": "0.802.0",
"@angular/cli": "8.2.0",
"@angular/compiler-cli": "8.2.0",
"@angular/language-service": "8.2.0",
"@types/applicationinsights-js": "1.0.9",
"@types/facebook-pixel": "0.0.19",
"@types/fs-extra": "5.0.5",
"@types/google.analytics": "0.0.39",
"@types/jasmine": "3.3.12",
"@types/node": "~11.13.4",
"@types/segment-analytics": "0.0.30",
"codelyzer": "5.0.0",
"fs-extra": "7.0.1",
"@types/fs-extra": "8.0.0",
"@types/google.analytics": "0.0.40",
"@types/jasmine": "3.3.16",
"@types/node": "~12.6.9",
"@types/segment-analytics": "0.0.32",
"codelyzer": "5.1.0",
"fs-extra": "8.1.0",
"jasmine-core": "3.4.0",
"karma": "4.1.0",
"karma-chrome-launcher": "2.2.0",
"karma": "4.2.0",
"karma-chrome-launcher": "3.0.0",
"karma-cli": "2.0.0",
"karma-coverage-istanbul-reporter": "2.0.5",
"karma-coverage-istanbul-reporter": "2.1.0",
"karma-jasmine": "2.0.1",
"karma-jasmine-html-reporter": "1.4.0",
"karma-jasmine-html-reporter": "1.4.2",
"karma-mocha-reporter": "2.2.5",
"ng-packagr": "5.1.0",
"ng-packagr": "5.4.3",
"rimraf": "2.6.3",
"semantic-release": "15.13.3",
"ts-node": "8.1.0",
"tsickle": "0.34.3",
"tslint": "5.15.0",
"typescript": "3.2.4"
"semantic-release": "15.13.19",
"ts-node": "8.3.0",
"tsickle": "0.36.0",
"tslint": "5.18.0",
"typescript": "3.5.3"
},
"release": {
"branch": "master"
Expand Down
11 changes: 0 additions & 11 deletions src/browserslist

This file was deleted.

6 changes: 3 additions & 3 deletions src/lib/core/package.json
Expand Up @@ -38,8 +38,8 @@
"dest": "../../../dist/core"
},
"peerDependencies": {
"@angular/common": ">=6.0.0 <9.0.0",
"@angular/core": ">=6.0.0 <9.0.0",
"rxjs": "^6.1.0"
"@angular/common": ">=8.0.0",
"@angular/core": ">=8.0.0",
"rxjs": "^6.5.0"
}
}
5 changes: 4 additions & 1 deletion tsconfig.app.json
Expand Up @@ -9,12 +9,15 @@
"facebook-pixel"
]
},
"files": [
"src/main.ts",
"src/polyfills.ts"
],
"include": [
"src/**/*.ts"
],
"exclude": [
"src/test.ts",
"src/lib/test.mocks.ts",
"src/**/*.spec.ts"
]
}
10 changes: 7 additions & 3 deletions tsconfig.json
Expand Up @@ -5,12 +5,12 @@
"outDir": "./dist/out-tsc",
"sourceMap": true,
"declaration": false,
"downlevelIteration": true,
"experimentalDecorators": true,
"module": "esnext",
"moduleResolution": "node",
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"importHelpers": true,
"target": "es5",
"target": "es2015",
"typeRoots": [
"node_modules/@types"
],
Expand All @@ -21,5 +21,9 @@
"paths": {
"angulartics2": ["./src/lib/core/public_api"]
}
},
"angularCompilerOptions": {
"fullTemplateTypeCheck": true,
"strictInjectionParameters": true
}
}
1 change: 0 additions & 1 deletion tslint.json
Expand Up @@ -31,7 +31,6 @@
"no-string-literal": false,
"no-redundant-jsdoc": true,
"no-switch-case-fall-through": true,
"no-use-before-declare": true,
"no-var-requires": false,
"object-literal-key-quotes": [true, "as-needed"],
"object-literal-sort-keys": false,
Expand Down

0 comments on commit 80c2530

Please sign in to comment.