Skip to content

Commit

Permalink
chore: update to ng and cli v9
Browse files Browse the repository at this point in the history
BREAKING CHANGE: ngx-speculoos is now built against Angular 9.0.0. If you want to use it with Angular 8.x, stick to the previous version of ngx-speculoos.
  • Loading branch information
cexbrayat committed Feb 7, 2020
1 parent 0c3a6bf commit 1c0395b
Show file tree
Hide file tree
Showing 6 changed files with 2,689 additions and 1,100 deletions.
9 changes: 7 additions & 2 deletions angular.json
Expand Up @@ -17,7 +17,8 @@
},
"configurations": {
"production": {
"project": "projects/ngx-speculoos/ng-package.prod.json"
"project": "projects/ngx-speculoos/ng-package.prod.json",
"tsConfig": "projects/ngx-speculoos/tsconfig.lib.prod.json"
}
}
},
Expand Down Expand Up @@ -53,6 +54,7 @@
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
"aot": true,
"outputPath": "dist/demo",
"index": "projects/demo/src/index.html",
"main": "projects/demo/src/main.ts",
Expand Down Expand Up @@ -80,7 +82,6 @@
"sourceMap": false,
"extractCss": true,
"namedChunks": false,
"aot": true,
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": true,
Expand All @@ -89,6 +90,10 @@
"type": "initial",
"maximumWarning": "2mb",
"maximumError": "5mb"
},
{
"type": "anyComponentStyle",
"maximumWarning": "6kb"
}
]
}
Expand Down
31 changes: 15 additions & 16 deletions package.json
Expand Up @@ -14,26 +14,27 @@
},
"private": true,
"dependencies": {
"@angular/common": "8.0.0",
"@angular/compiler": "8.0.0",
"@angular/core": "8.0.0",
"@angular/forms": "8.0.0",
"@angular/platform-browser": "8.0.0",
"@angular/platform-browser-dynamic": "8.0.0",
"@angular/router": "8.0.0",
"@angular/common": "9.0.0",
"@angular/compiler": "9.0.0",
"@angular/core": "9.0.0",
"@angular/forms": "9.0.0",
"@angular/platform-browser": "9.0.0",
"@angular/platform-browser-dynamic": "9.0.0",
"@angular/router": "9.0.0",
"rxjs": "6.5.4",
"tslib": "1.10.0",
"zone.js": "0.10.2"
},
"devDependencies": {
"@angular-devkit/build-angular": "0.800.0",
"@angular-devkit/build-ng-packagr": "0.800.0",
"@angular/cli": "8.0.1",
"@angular/compiler-cli": "8.0.0",
"@angular/language-service": "8.0.0",
"@angular-devkit/build-angular": "0.900.1",
"@angular-devkit/build-ng-packagr": "0.900.1",
"@angular/cli": "9.0.1",
"@angular/compiler-cli": "9.0.0",
"@angular/language-service": "9.0.0",
"@compodoc/compodoc": "1.1.11",
"@types/jasmine": "3.5.3",
"@types/jasminewd2": "2.0.8",
"@types/node": "12.12.26",
"@types/node": "12.12.6",
"codecov": "3.6.4",
"codelyzer": "5.2.1",
"jasmine-core": "3.5.0",
Expand All @@ -46,9 +47,7 @@
"ng-packagr": "9.0.0",
"standard-version": "7.1.0",
"ts-node": "8.6.2",
"tsickle": "0.38.0",
"tslib": "1.10.0",
"tslint": "5.20.1",
"typescript": "3.4.5"
"typescript": "3.7.5"
}
}
6 changes: 3 additions & 3 deletions projects/demo/tsconfig.app.json
Expand Up @@ -4,8 +4,8 @@
"outDir": "../../out-tsc/app",
"types": []
},
"exclude": [
"test.ts",
"**/*.spec.ts"
"files": [
"src/main.ts",
"src/polyfills.ts"
]
}
1 change: 0 additions & 1 deletion projects/ngx-speculoos/tsconfig.lib.json
Expand Up @@ -21,7 +21,6 @@
]
},
"angularCompilerOptions": {
"annotateForClosureCompiler": true,
"skipTemplateCodegen": true,
"strictMetadataEmit": true,
"fullTemplateTypeCheck": true,
Expand Down
6 changes: 6 additions & 0 deletions projects/ngx-speculoos/tsconfig.lib.prod.json
@@ -0,0 +1,6 @@
{
"extends": "./tsconfig.lib.json",
"angularCompilerOptions": {
"enableIvy": false
}
}

0 comments on commit 1c0395b

Please sign in to comment.