Browse Source

升级ng11

beijing
刘向辉 2 years ago
parent
commit
55b60ab93c
  1. 1
      angular.json
  2. 34
      package.json
  3. 2
      src/app/app-routing.module.ts
  4. 4
      src/app/system-management/menu/addmenu/addmenu.component.spec.ts
  5. 3978
      yarn.lock

1
angular.json

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

34
package.json

@ -11,17 +11,17 @@
},
"private": true,
"dependencies": {
"@angular/animations": "^10.2.5",
"@angular/animations": "^11.2.14",
"@angular/cdk": "^9.2.4",
"@angular/common": "~10.2.5",
"@angular/compiler": "~10.2.5",
"@angular/core": "~10.2.5",
"@angular/common": "~11.2.14",
"@angular/compiler": "~11.2.14",
"@angular/core": "~11.2.14",
"@angular/fire": "^5.3.0",
"@angular/forms": "~10.2.5",
"@angular/forms": "~11.2.14",
"@angular/material": "9",
"@angular/platform-browser": "~10.2.5",
"@angular/platform-browser-dynamic": "~10.2.5",
"@angular/router": "~10.2.5",
"@angular/platform-browser": "~11.2.14",
"@angular/platform-browser-dynamic": "~11.2.14",
"@angular/router": "~11.2.14",
"@aspnet/signalr": "^1.1.4",
"@babylonjs/core": "4.2.1",
"@babylonjs/gui": "4.2.1",
@ -61,17 +61,17 @@
"zone.js": "~0.10.3"
},
"devDependencies": {
"@angular-devkit/build-angular": "~0.1002.4",
"@angular/cli": "~10.2.4",
"@angular/compiler-cli": "~10.2.5",
"@angular/language-service": "~10.2.5",
"@types/jasmine": "~3.3.8",
"@angular-devkit/build-angular": "~0.1102.19",
"@angular/cli": "~11.2.19",
"@angular/compiler-cli": "~11.2.14",
"@angular/language-service": "~11.2.14",
"@types/jasmine": "~3.6.0",
"@types/jasminewd2": "~2.0.3",
"@types/node": "^12.11.1",
"codelyzer": "^5.1.2",
"jasmine-core": "~3.5.0",
"codelyzer": "^6.0.0",
"jasmine-core": "~3.6.0",
"jasmine-spec-reporter": "~5.0.0",
"karma": "~5.0.0",
"karma": "~6.4.1",
"karma-chrome-launcher": "~3.1.0",
"karma-coverage-istanbul-reporter": "~3.0.2",
"karma-jasmine": "~4.0.0",
@ -81,4 +81,4 @@
"tslint": "~6.1.0",
"typescript": "~4.0.8"
}
}
}

2
src/app/app-routing.module.ts

@ -27,7 +27,7 @@ const routes: Routes = [
];
@NgModule({
imports: [RouterModule.forRoot(routes)],
imports: [RouterModule.forRoot(routes, { relativeLinkResolution: 'legacy' })],
exports: [RouterModule]
})
export class AppRoutingModule { }

4
src/app/system-management/menu/addmenu/addmenu.component.spec.ts

@ -1,4 +1,4 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
import { AddmenuComponent } from './addmenu.component';
@ -6,7 +6,7 @@ describe('AddmenuComponent', () => {
let component: AddmenuComponent;
let fixture: ComponentFixture<AddmenuComponent>;
beforeEach(async(() => {
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
declarations: [ AddmenuComponent ]
})

3978
yarn.lock

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save