Skip to content

Commit

Permalink
chore: bump to ng and cli v13
Browse files Browse the repository at this point in the history
BREAKING CHANGE: `ngx-speculoos` is now based on Angular 13.x. If you want to use it with an older version of Angular, then stick to the previous version of `ngx-speculoos`.
  • Loading branch information
cexbrayat committed Nov 4, 2021
1 parent f17af7e commit 6ca161c
Show file tree
Hide file tree
Showing 6 changed files with 1,128 additions and 2,784 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -31,6 +31,7 @@ chrome-profiler-events.json
.history/*

# misc
/.angular/cache
/.sass-cache
/connect.lock
**/coverage
Expand Down
24 changes: 12 additions & 12 deletions package.json
Expand Up @@ -17,26 +17,26 @@
},
"private": true,
"dependencies": {
"@angular/common": "12.2.13",
"@angular/compiler": "12.2.13",
"@angular/core": "12.2.13",
"@angular/forms": "12.2.13",
"@angular/platform-browser": "12.2.13",
"@angular/platform-browser-dynamic": "12.2.13",
"@angular/router": "12.2.13",
"@angular/common": "13.0.0",
"@angular/compiler": "13.0.0",
"@angular/core": "13.0.0",
"@angular/forms": "13.0.0",
"@angular/platform-browser": "13.0.0",
"@angular/platform-browser-dynamic": "13.0.0",
"@angular/router": "13.0.0",
"rxjs": "7.4.0",
"tslib": "2.3.1",
"zone.js": "0.11.4"
},
"devDependencies": {
"@angular-devkit/build-angular": "12.2.13",
"@angular-devkit/build-angular": "13.0.0",
"@angular-eslint/builder": "12.6.1",
"@angular-eslint/eslint-plugin": "12.6.1",
"@angular-eslint/eslint-plugin-template": "12.6.1",
"@angular-eslint/schematics": "12.6.1",
"@angular-eslint/template-parser": "12.6.1",
"@angular/cli": "12.2.13",
"@angular/compiler-cli": "12.2.13",
"@angular/cli": "13.0.0",
"@angular/compiler-cli": "13.0.0",
"@compodoc/compodoc": "1.1.15",
"@types/jasmine": "3.10.2",
"@types/node": "16.11.6",
Expand All @@ -54,9 +54,9 @@
"karma-coverage": "2.0.3",
"karma-jasmine": "4.0.1",
"karma-jasmine-html-reporter": "1.7.0",
"ng-packagr": "12.2.5",
"ng-packagr": "13.0.0",
"prettier": "2.4.1",
"standard-version": "9.3.2",
"typescript": "4.2.4"
"typescript": "4.4.4"
}
}
12 changes: 0 additions & 12 deletions projects/demo/src/polyfills.ts
Expand Up @@ -17,18 +17,6 @@
* BROWSER POLYFILLS
*/

/**
* IE11 requires the following for NgClass support on SVG elements
*/
// import 'classlist.js'; // Run `npm install --save classlist.js`.

/**
* Web Animations `@angular/platform-browser/animations`
* Only required if AnimationBuilder is used within the application and using IE/Edge or Safari.
* Standard animation support in Angular DOES NOT require any polyfills (as of Angular 6.0).
*/
// import 'web-animations-js'; // Run `npm install --save web-animations-js`.

/**
* By default, zone.js will patch all possible macroTask and DomEvents
* user can disable parts of macroTask/DomEvents patch by setting following flags
Expand Down
8 changes: 4 additions & 4 deletions projects/ngx-speculoos/package.json
Expand Up @@ -3,10 +3,10 @@
"version": "6.0.0",
"description": "Helps writing Angular unit tests",
"peerDependencies": {
"@angular/core": "^12.0.0",
"@angular/platform-browser": "^12.0.0",
"@angular/router": "^12.0.0",
"rxjs": "^7.0.0"
"@angular/core": "^13.0.0",
"@angular/platform-browser": "^13.0.0",
"@angular/router": "^13.0.0",
"rxjs": "^7.4.0"
},
"license": "MIT",
"repository": {
Expand Down
3 changes: 1 addition & 2 deletions projects/ngx-speculoos/src/lib/route.ts
@@ -1,6 +1,5 @@
import { ActivatedRoute, ActivatedRouteSnapshot, convertToParamMap, Data, Params, Route, UrlSegment } from '@angular/router';
import { Observable } from 'rxjs';
import { map } from 'rxjs/operators';
import { Observable, map } from 'rxjs';
import { Type } from '@angular/core';

/**
Expand Down

0 comments on commit 6ca161c

Please sign in to comment.