Skip to content

Commit

Permalink
feat(angular): updates angular to v11 (#421)
Browse files Browse the repository at this point in the history
* chore(deps): update angular monorepo to v11

* feat(angular): updates angular to v11

Co-authored-by: Renovate Bot <[email protected]>
Co-authored-by: Sergii <[email protected]>
  • Loading branch information
3 people authored Jan 13, 2021
1 parent 0ff708f commit ec16bf9
Show file tree
Hide file tree
Showing 10 changed files with 164 additions and 169 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"rollup-plugin-sourcemaps": "^0.6.2",
"rollup-plugin-terser": "^7.0.0",
"ts-jest": "^26.4.4",
"typescript": "~4.0.3"
"typescript": "~4.0.0"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion packages/casl-ability/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
"rollup-plugin-terser": "^7.0.0",
"semantic-release": "^17.1.1",
"ts-jest": "^26.4.4",
"typescript": "~4.0.3"
"typescript": "~4.0.0"
},
"files": [
"dist",
Expand Down
4 changes: 3 additions & 1 deletion packages/casl-angular/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ const config = require('../../tools/jest.config');
module.exports = {
...config,
setupFilesAfterEnv: config.setupFilesAfterEnv.concat(
'@abraham/reflection'
'@abraham/reflection',
'zone.js/dist/zone',
'zone.js/dist/zone-testing'
),
};
17 changes: 8 additions & 9 deletions packages/casl-angular/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,19 +48,19 @@
"author": "Sergii Stotskyi <[email protected]>",
"license": "MIT",
"peerDependencies": {
"@angular/core": "^9.0.0 || ^10.0.0",
"@angular/core": "^9.0.0 || ^10.0.0 || ^11.0.0",
"@casl/ability": "^3.0.0 || ^4.0.0 || ^5.1.0",
"rxjs": "^6.0.0",
"tslib": "^2.0.0"
},
"devDependencies": {
"@abraham/reflection": "^0.7.0",
"@angular/common": "^10.0.0",
"@angular/compiler": "^10.0.0",
"@angular/compiler-cli": "^10.0.0",
"@angular/core": "^10.0.0",
"@angular/platform-browser": "^10.0.0",
"@angular/platform-browser-dynamic": "^10.0.0",
"@angular/common": "^11.0.0",
"@angular/compiler": "^11.0.0",
"@angular/compiler-cli": "^11.0.0",
"@angular/core": "^11.0.0",
"@angular/platform-browser": "^11.0.0",
"@angular/platform-browser-dynamic": "^11.0.0",
"@babel/core": "^7.8.4",
"@babel/plugin-proposal-class-properties": "^7.8.3",
"@babel/plugin-proposal-object-rest-spread": "^7.10.0",
Expand All @@ -81,15 +81,14 @@
"eslint-config-airbnb-typescript": "^12.0.0",
"eslint-plugin-import": "^2.20.2",
"jest": "^26.0.0",
"jest-zone-patch": "0.0.10",
"rollup": "^2.10.9",
"rollup-plugin-sourcemaps": "^0.6.2",
"rollup-plugin-terser": "^7.0.0",
"rxjs": "^6.0.0",
"semantic-release": "17.1.1",
"ts-jest": "^26.4.4",
"tslib": "^2.0.0",
"typescript": "~4.0.3",
"typescript": "~4.0.0",
"zone.js": "^0.10.2"
},
"files": [
Expand Down
6 changes: 0 additions & 6 deletions packages/casl-angular/spec/spec_helper.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
import 'zone.js/dist/zone'
import 'zone.js/dist/proxy'
import 'zone.js/dist/sync-test'
import 'zone.js/dist/async-test'
import 'zone.js/dist/fake-async-test'
import 'jest-zone-patch'
import {
BrowserDynamicTestingModule,
platformBrowserDynamicTesting
Expand Down
2 changes: 1 addition & 1 deletion packages/casl-aurelia/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
"rollup-plugin-terser": "^7.0.0",
"semantic-release": "17.1.1",
"ts-jest": "^26.4.4",
"typescript": "~4.0.3"
"typescript": "~4.0.0"
},
"files": [
"dist",
Expand Down
2 changes: 1 addition & 1 deletion packages/casl-mongoose/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
"rollup-plugin-terser": "^7.0.0",
"semantic-release": "17.1.1",
"ts-jest": "^26.4.4",
"typescript": "~4.0.3"
"typescript": "~4.0.0"
},
"files": [
"dist",
Expand Down
2 changes: 1 addition & 1 deletion packages/casl-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
"rollup-plugin-terser": "^7.0.0",
"semantic-release": "17.1.1",
"ts-jest": "^26.4.4",
"typescript": "~4.0.3"
"typescript": "~4.0.0"
},
"files": [
"dist",
Expand Down
2 changes: 1 addition & 1 deletion packages/casl-vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
"rollup-plugin-terser": "^7.0.0",
"semantic-release": "17.1.1",
"ts-jest": "^26.4.4",
"typescript": "~4.0.3",
"typescript": "~4.0.0",
"vue": "^2.5.13",
"vue-template-compiler": "^2.5.13"
},
Expand Down
Loading

0 comments on commit ec16bf9

Please sign in to comment.