Passage à la version 11.1.4 d'Angular et mise à jour des packages

develop
Yanaël GRETTE 4 years ago
parent 940cdd8801
commit 8d91f16b86
  1. 0
      .browserslistrc
  2. 1
      angular.json
  3. 2
      e2e/tsconfig.json
  4. 9302
      package-lock.json
  5. 62
      package.json
  6. 2
      src/app/app-routing.module.ts
  7. 2
      src/app/app.component.spec.ts
  8. 2
      src/app/shared/api-swagger/api.module.ts
  9. 2
      tsconfig.json

@ -40,7 +40,6 @@
"optimization": true, "optimization": true,
"outputHashing": "all", "outputHashing": "all",
"sourceMap": false, "sourceMap": false,
"extractCss": true,
"namedChunks": false, "namedChunks": false,
"extractLicenses": true, "extractLicenses": true,
"vendorChunk": false, "vendorChunk": false,

@ -3,7 +3,7 @@
"compilerOptions": { "compilerOptions": {
"outDir": "../out-tsc/e2e", "outDir": "../out-tsc/e2e",
"module": "commonjs", "module": "commonjs",
"target": "es5", "target": "es2018",
"types": [ "types": [
"jasmine", "jasmine",
"jasminewd2", "jasminewd2",

9302
package-lock.json generated

File diff suppressed because it is too large Load Diff

@ -12,41 +12,41 @@
}, },
"private": true, "private": true,
"dependencies": { "dependencies": {
"@angular-material-components/datetime-picker": "^2.0.4", "@angular-material-components/datetime-picker": "^5.0.3",
"@angular/animations": "~9.1.9", "@angular/animations": "~11.1.2",
"@angular/cdk": "^9.2.4", "@angular/cdk": "^11.1.2",
"@angular/common": "~9.1.9", "@angular/common": "~11.1.2",
"@angular/compiler": "~9.1.9", "@angular/compiler": "~11.1.2",
"@angular/core": "~9.1.9", "@angular/core": "~11.1.2",
"@angular/forms": "~9.1.9", "@angular/forms": "~11.1.2",
"@angular/material": "^9.2.4", "@angular/material": "^11.1.2",
"@angular/platform-browser": "~9.1.9", "@angular/platform-browser": "~11.1.2",
"@angular/platform-browser-dynamic": "~9.1.9", "@angular/platform-browser-dynamic": "~11.1.2",
"@angular/router": "~9.1.9", "@angular/router": "~11.1.2",
"angular-oauth2-oidc": "^9.2.2", "angular-oauth2-oidc": "^10.0.3",
"rxjs": "~6.5.4", "rxjs": "~6.6.3",
"tslib": "^1.10.0", "tslib": "^2.1.0",
"zone.js": "~0.10.2" "zone.js": "~0.11.3"
}, },
"devDependencies": { "devDependencies": {
"@angular-devkit/build-angular": "~0.901.7", "@angular-devkit/build-angular": "~0.1101.4",
"@angular/cli": "~9.1.7", "@angular/cli": "~11.1.4",
"@angular/compiler-cli": "~9.1.9", "@angular/compiler-cli": "~11.1.2",
"@compodoc/compodoc": "^1.1.11", "@compodoc/compodoc": "^1.1.11",
"@types/jasmine": "~3.5.0", "@types/jasmine": "~3.6.3",
"@types/jasminewd2": "~2.0.3", "@types/jasminewd2": "~2.0.8",
"@types/node": "^12.11.1", "@types/node": "^14.14.25",
"codelyzer": "^5.1.2", "codelyzer": "^6.0.1",
"jasmine-core": "~3.5.0", "jasmine-core": "~3.6.0",
"jasmine-spec-reporter": "~4.2.1", "jasmine-spec-reporter": "~6.0.0",
"karma": "~5.0.0", "karma": "~6.1.0",
"karma-chrome-launcher": "~3.1.0", "karma-chrome-launcher": "~3.1.0",
"karma-coverage-istanbul-reporter": "~2.1.0", "karma-coverage-istanbul-reporter": "~3.0.3",
"karma-jasmine": "~3.0.1", "karma-jasmine": "~4.0.1",
"karma-jasmine-html-reporter": "^1.4.2", "karma-jasmine-html-reporter": "^1.5.4",
"protractor": "~7.0.0", "protractor": "~7.0.0",
"ts-node": "~8.3.0", "ts-node": "~9.1.1",
"tslint": "~6.1.0", "tslint": "^6.1.3",
"typescript": "~3.8.3" "typescript": "~4.1.3"
} }
} }

@ -68,7 +68,7 @@ const routes: Routes = [
]; ];
@NgModule({ @NgModule({
imports: [RouterModule.forRoot(routes)], imports: [RouterModule.forRoot(routes, { relativeLinkResolution: 'legacy' })],
exports: [RouterModule], exports: [RouterModule],
providers: [AuthGuard] providers: [AuthGuard]
}) })

@ -1,4 +1,4 @@
import { TestBed, async } from '@angular/core/testing'; import { TestBed, waitForAsync } from '@angular/core/testing';
import { AppComponent } from './app.component'; import { AppComponent } from './app.component';
/* /*

@ -31,7 +31,7 @@ import { ReferentsEPService } from './api/referentsEP.service';
ReferentsEPService ] ReferentsEPService ]
}) })
export class ApiModule { export class ApiModule {
public static forRoot(configurationFactory: () => Configuration): ModuleWithProviders { public static forRoot(configurationFactory: () => Configuration): ModuleWithProviders<ApiModule> {
return { return {
ngModule: ApiModule, ngModule: ApiModule,
providers: [ { provide: Configuration, useFactory: configurationFactory } ] providers: [ { provide: Configuration, useFactory: configurationFactory } ]

@ -11,7 +11,7 @@
"declaration": false, "declaration": false,
"downlevelIteration": true, "downlevelIteration": true,
"experimentalDecorators": true, "experimentalDecorators": true,
"module": "esnext", "module": "es2020",
"moduleResolution": "node", "moduleResolution": "node",
"importHelpers": true, "importHelpers": true,
"target": "es2015", "target": "es2015",

Loading…
Cancel
Save