chore(angular): upgrade test app to Angular 13 (#24621)

This commit is contained in:
Sean Perkins
2022-01-24 11:50:27 -05:00
committed by GitHub
parent 94d033c421
commit 034d049209
6 changed files with 6033 additions and 9016 deletions

View File

@ -5,7 +5,7 @@ runs:
steps: steps:
- uses: actions/setup-node@v1 - uses: actions/setup-node@v1
with: with:
node-version: 15.x node-version: 16
- name: Cache Core Node Modules - name: Cache Core Node Modules
uses: actions/cache@v2 uses: actions/cache@v2

View File

@ -29,6 +29,7 @@ speed-measure-plugin.json
!.vscode/extensions.json !.vscode/extensions.json
# misc # misc
/.angular/cache
/.sass-cache /.sass-cache
/connect.lock /connect.lock
/coverage /coverage

File diff suppressed because it is too large Load Diff

View File

@ -20,15 +20,15 @@
"test.watch": "concurrently \"npm run start\" \"wait-on http-get://localhost:4200 && npm run cy.open\" --kill-others --success first" "test.watch": "concurrently \"npm run start\" \"wait-on http-get://localhost:4200 && npm run cy.open\" --kill-others --success first"
}, },
"dependencies": { "dependencies": {
"@angular/animations": "^12.2.8", "@angular/animations": "^13.1.3",
"@angular/common": "^12.2.8", "@angular/common": "^13.1.3",
"@angular/compiler": "^12.2.8", "@angular/compiler": "^13.1.3",
"@angular/core": "^12.2.8", "@angular/core": "^13.1.3",
"@angular/forms": "^12.2.8", "@angular/forms": "^13.1.3",
"@angular/platform-browser": "^12.2.8", "@angular/platform-browser": "^13.1.3",
"@angular/platform-browser-dynamic": "^12.2.8", "@angular/platform-browser-dynamic": "^13.1.3",
"@angular/platform-server": "^12.2.8", "@angular/platform-server": "^13.1.3",
"@angular/router": "^12.2.8", "@angular/router": "^13.1.3",
"@ionic/angular": "^5.3.1", "@ionic/angular": "^5.3.1",
"@ionic/angular-server": "^5.3.1", "@ionic/angular-server": "^5.3.1",
"@nguniversal/express-engine": "^12.1.1", "@nguniversal/express-engine": "^12.1.1",
@ -41,16 +41,16 @@
"zone.js": "^0.11.4" "zone.js": "^0.11.4"
}, },
"devDependencies": { "devDependencies": {
"@angular-devkit/build-angular": "^12.2.8", "@angular-devkit/build-angular": "^13.1.4",
"@angular-eslint/builder": "12.5.0", "@angular-eslint/builder": "13.0.1",
"@angular-eslint/eslint-plugin": "12.5.0", "@angular-eslint/eslint-plugin": "13.0.1",
"@angular-eslint/eslint-plugin-template": "12.5.0", "@angular-eslint/eslint-plugin-template": "13.0.1",
"@angular-eslint/schematics": "12.5.0", "@angular-eslint/schematics": "13.0.1",
"@angular-eslint/template-parser": "12.5.0", "@angular-eslint/template-parser": "13.0.1",
"@angular/cli": "^12.2.8", "@angular/cli": "^13.1.4",
"@angular/compiler-cli": "^12.2.8", "@angular/compiler-cli": "^13.1.3",
"@angular/language-service": "^12.2.8", "@angular/language-service": "^13.1.3",
"@nguniversal/builders": "^12.1.1", "@nguniversal/builders": "^13.0.2",
"@types/express": "^4.17.7", "@types/express": "^4.17.7",
"@types/node": "^12.12.54", "@types/node": "^12.12.54",
"@typescript-eslint/eslint-plugin": "4.28.2", "@typescript-eslint/eslint-plugin": "4.28.2",
@ -60,7 +60,7 @@
"eslint": "^7.26.0", "eslint": "^7.26.0",
"ts-loader": "^6.2.2", "ts-loader": "^6.2.2",
"ts-node": "^8.3.0", "ts-node": "^8.3.0",
"typescript": "^4.3.5", "typescript": "^4.5.5",
"wait-on": "^5.2.1", "wait-on": "^5.2.1",
"webpack": "^5.61.0", "webpack": "^5.61.0",
"webpack-cli": "^3.3.12" "webpack-cli": "^3.3.12"

View File

@ -65,10 +65,6 @@ import { AlertComponent } from './alert/alert.component';
ReactiveFormsModule, ReactiveFormsModule,
IonicModule.forRoot({ keyboardHeight: 12345 }), IonicModule.forRoot({ keyboardHeight: 12345 }),
], ],
entryComponents: [
ModalExampleComponent,
NavComponent
],
providers: [ providers: [
{ provide: RouteReuseStrategy, useClass: IonicRouteStrategy }, { provide: RouteReuseStrategy, useClass: IonicRouteStrategy },
], ],

View File

@ -18,16 +18,6 @@
* BROWSER POLYFILLS * BROWSER POLYFILLS
*/ */
/** IE10 and 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 * By default, zone.js will patch all possible macroTask and DomEvents
* user can disable parts of macroTask/DomEvents patch by setting following flags * user can disable parts of macroTask/DomEvents patch by setting following flags