Skip to content

Commit

Permalink
Update angular to v13.0.0 (#181)
Browse files Browse the repository at this point in the history
  • Loading branch information
djgovani authored Nov 9, 2021
1 parent 62d82fe commit f89d4ca
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 28 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ speed-measure-plugin.json
.history/*

# misc
/.angular/cache
/.sass-cache
/connect.lock
/coverage
Expand Down
30 changes: 15 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,25 +12,25 @@
},
"private": true,
"dependencies": {
"@angular/animations": "12.0.2",
"@angular/cdk": "12.0.2",
"@angular/common": "12.0.2",
"@angular/compiler": "12.0.2",
"@angular/core": "12.0.2",
"@angular/forms": "12.0.2",
"@angular/material": "12.0.2",
"@angular/platform-browser": "12.0.2",
"@angular/platform-browser-dynamic": "12.0.2",
"@angular/router": "12.0.2",
"@angular/service-worker": "12.0.2",
"@angular/animations": "13.0.0",
"@angular/cdk": "13.0.0",
"@angular/common": "13.0.0",
"@angular/compiler": "13.0.0",
"@angular/core": "13.0.0",
"@angular/forms": "13.0.0",
"@angular/material": "13.0.0",
"@angular/platform-browser": "13.0.0",
"@angular/platform-browser-dynamic": "13.0.0",
"@angular/router": "13.0.0",
"@angular/service-worker": "13.0.0",
"rxjs": "6.6.7",
"tslib": "2.2.0",
"zone.js": "0.11.4"
},
"devDependencies": {
"@angular-devkit/build-angular": "12.0.2",
"@angular/cli": "12.0.2",
"@angular/compiler-cli": "12.0.2",
"@angular-devkit/build-angular": "13.0.1",
"@angular/cli": "13.0.1",
"@angular/compiler-cli": "13.0.0",
"@types/jasmine": "3.7.6",
"@types/node": "14.17.1",
"all-contributors-cli": "6.20.0",
Expand All @@ -42,6 +42,6 @@
"karma-jasmine-html-reporter": "1.6.0",
"karma-coverage-istanbul-reporter": "3.0.3",
"jasmine-spec-reporter": "7.0.0",
"typescript": "4.2.4"
"typescript": "4.4.4"
}
}
12 changes: 0 additions & 12 deletions src/polyfills.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,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
4 changes: 3 additions & 1 deletion src/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ declare const require: {
// First, initialize the Angular testing environment.
getTestBed().initTestEnvironment(
BrowserDynamicTestingModule,
platformBrowserDynamicTesting()
platformBrowserDynamicTesting(), {
teardown: { destroyAfterEach: false }
}
);
// Then we find all the tests.
const context = require.context('./', true, /\.spec\.ts$/);
Expand Down

0 comments on commit f89d4ca

Please sign in to comment.