Update to Angular 13

pull/681/head
pabloFuente 2022-01-10 15:30:18 +01:00
parent a976ab8390
commit 21e81baa03
6 changed files with 1036 additions and 3300 deletions

View File

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

View File

@ -90,16 +90,6 @@
"src/favicon.ico" "src/favicon.ico"
] ]
} }
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": [
"src/tsconfig.app.json",
"src/tsconfig.spec.json"
],
"exclude": []
}
} }
} }
}, },
@ -114,15 +104,6 @@
"protractorConfig": "./protractor.conf.js", "protractorConfig": "./protractor.conf.js",
"devServerTarget": "openvidu-server-frontend:serve" "devServerTarget": "openvidu-server-frontend:serve"
} }
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": [
"e2e/tsconfig.e2e.json"
],
"exclude": []
}
} }
} }
} }

File diff suppressed because it is too large Load Diff

View File

@ -1,16 +1,16 @@
{ {
"dependencies": { "dependencies": {
"@angular/animations": "12.2.15", "@angular/animations": "13.1.1",
"@angular/cdk": "12.2.13", "@angular/cdk": "12.2.13",
"@angular/common": "12.2.15", "@angular/common": "13.1.1",
"@angular/compiler": "12.2.15", "@angular/compiler": "13.1.1",
"@angular/core": "12.2.15", "@angular/core": "13.1.1",
"@angular/flex-layout": "12.0.0-beta.35", "@angular/flex-layout": "12.0.0-beta.35",
"@angular/forms": "12.2.15", "@angular/forms": "13.1.1",
"@angular/material": "12.2.13", "@angular/material": "12.2.13",
"@angular/platform-browser": "12.2.15", "@angular/platform-browser": "13.1.1",
"@angular/platform-browser-dynamic": "12.2.15", "@angular/platform-browser-dynamic": "13.1.1",
"@angular/router": "12.2.15", "@angular/router": "13.1.1",
"core-js": "3.9.1", "core-js": "3.9.1",
"jquery": "3.6.0", "jquery": "3.6.0",
"openvidu-browser": "2.20.0", "openvidu-browser": "2.20.0",
@ -19,10 +19,10 @@
"zone.js": "~0.11.4" "zone.js": "~0.11.4"
}, },
"devDependencies": { "devDependencies": {
"@angular-devkit/build-angular": "12.2.14", "@angular-devkit/build-angular": "13.1.2",
"@angular/cli": "12.2.14", "@angular/cli": "13.1.2",
"@angular/compiler-cli": "12.2.15", "@angular/compiler-cli": "13.1.1",
"@angular/language-service": "12.2.15", "@angular/language-service": "13.1.1",
"@types/jasmine": "3.6.6", "@types/jasmine": "3.6.6",
"@types/node": "14.14.32", "@types/node": "14.14.32",
"codelyzer": "6.0.1", "codelyzer": "6.0.1",
@ -36,7 +36,7 @@
"protractor": "7.0.0", "protractor": "7.0.0",
"ts-node": "9.1.1", "ts-node": "9.1.1",
"tslint": "6.1.3", "tslint": "6.1.3",
"typescript": "4.3.5" "typescript": "4.5.4"
}, },
"license": "Apache-2.0", "license": "Apache-2.0",
"name": "frontend", "name": "frontend",

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

View File

@ -22,7 +22,9 @@ __karma__.loaded = function () {};
// First, initialize the Angular testing environment. // First, initialize the Angular testing environment.
getTestBed().initTestEnvironment( getTestBed().initTestEnvironment(
BrowserDynamicTestingModule, BrowserDynamicTestingModule,
platformBrowserDynamicTesting() platformBrowserDynamicTesting(), {
teardown: { destroyAfterEach: false }
}
); );
// Then we find all the tests. // Then we find all the tests.
const context = require.context('./', true, /\.spec\.ts$/); const context = require.context('./', true, /\.spec\.ts$/);