Browse Source

升级到ng12

beijing
刘向辉 2 years ago
parent
commit
9b9404197d
  1. 12
      angular.json
  2. 167
      package.json
  3. 2
      src/environments/environment.ts
  4. 2
      src/polyfills.ts
  5. 2
      src/test.ts
  6. 3842
      yarn.lock

12
angular.json

@ -23,7 +23,6 @@
"main": "src/main.ts",
"polyfills": "src/polyfills.ts",
"tsConfig": "tsconfig.app.json",
"aot": true,
"assets": [
"src/favicon.ico",
"src/assets",
@ -53,7 +52,13 @@
"./node_modules/swiper/js/swiper.min.js",
"node_modules/@aspnet/signalr/dist/browser/signalr.min.js",
"node_modules/abp-web-resources/Abp/Framework/scripts/abp.js"
]
],
"vendorChunk": true,
"extractLicenses": false,
"buildOptimizer": false,
"sourceMap": true,
"optimization": false,
"namedChunks": true
},
"configurations": {
"production": {
@ -83,7 +88,8 @@
}
]
}
}
},
"defaultConfiguration": ""
},
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",

167
package.json

@ -1,84 +1,87 @@
{
"name": "anxin119",
"version": "0.0.0",
"scripts": {
"ng": "ng",
"start": "ng serve --proxy-config proxy.config.json --open --port 4200 ",
"build": "node --max_old_space_size=5048 ./node_modules/@angular/cli/bin/ng build --prod",
"test": "ng test",
"lint": "ng lint",
"e2e": "ng e2e"
},
"private": true,
"dependencies": {
"@angular/animations": "^11.2.14",
"@angular/cdk": "^9.2.4",
"@angular/common": "~11.2.14",
"@angular/compiler": "~11.2.14",
"@angular/core": "~11.2.14",
"@angular/fire": "^5.3.0",
"@angular/forms": "~11.2.14",
"@angular/material": "9",
"@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",
"@babylonjs/inspector": "4.2.1",
"@babylonjs/loaders": "4.2.1",
"@babylonjs/materials": "4.2.1",
"@types/cesium": "^1.59.5",
"@types/earcut": "^2.1.1",
"@types/react-dom": "^17.0.10",
"@types/swiper": "^5.2.1",
"abp-ng2-module": "^6.4.0",
"abp-web-resources": "^5.4.0",
"angular-calendar": "^0.28.2",
"babylonjs": "4.2.1",
"bson-objectid": "^1.3.1",
"cesium": "^1.64.0",
"class-transformer": "^0.4.0",
"e-ngx-cesium": "^6.3.2",
"earcut": "^2.2.3",
"echarts": "^4.9.0",
"firebase": "^7.6.2",
"grpc": "^1.24.2",
"install": "^0.13.0",
"js-base64": "^3.7.2",
"linqjs": "^1.0.2",
"moment": "^2.29.1",
"ng-zorro-antd": "^9.3.0",
"ngx-cookie-service": "^3.0.2",
"ngx-countdown": "^11.0.0",
"ngx-echarts": "^4.2.2",
"ngx-perfect-scrollbar": "^8.0.0",
"reflect-metadata": "^0.1.13",
"rxjs": "~6.5.4",
"swiper": "^5.3.6",
"tslib": "^2.0.0",
"viewerjs": "^1.6.2",
"zone.js": "~0.10.3"
},
"devDependencies": {
"@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": "^6.0.0",
"jasmine-core": "~3.6.0",
"jasmine-spec-reporter": "~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",
"karma-jasmine-html-reporter": "^1.5.0",
"protractor": "~7.0.0",
"ts-node": "~7.0.0",
"tslint": "~6.1.0",
"typescript": "~4.0.8"
}
"name": "anxin119",
"version": "0.0.0",
"scripts": {
"ng": "ng",
"start": "ng serve --proxy-config proxy.config.json --open --port 4200 ",
"build": "node --max_old_space_size=5048 ./node_modules/@angular/cli/bin/ng build --configuration production",
"test": "ng test",
"lint": "ng lint",
"e2e": "ng e2e"
},
"private": true,
"dependencies": {
"@angular/animations": "^12.2.16",
"@angular/cdk": "^9.2.4",
"@angular/common": "~12.2.16",
"@angular/compiler": "~12.2.16",
"@angular/core": "~12.2.16",
"@angular/fire": "^5.3.0",
"@angular/forms": "~12.2.16",
"@angular/material": "9",
"@angular/platform-browser": "~12.2.16",
"@angular/platform-browser-dynamic": "~12.2.16",
"@angular/router": "~12.2.16",
"@aspnet/signalr": "^1.1.4",
"@babylonjs/core": "5.27.0",
"@babylonjs/gui": "^5.27.0",
"@babylonjs/gui-editor": "^5.27.0",
"@babylonjs/inspector": "^5.27.0",
"@babylonjs/loaders": "^5.27.0",
"@babylonjs/materials": "^5.27.0",
"@types/cesium": "^1.59.5",
"@types/earcut": "^2.1.1",
"@types/react": "^18.0.21",
"@types/react-dom": "^17.0.10",
"@types/swiper": "^5.2.1",
"abp-ng2-module": "^6.4.0",
"abp-web-resources": "^5.4.0",
"angular-calendar": "^0.28.2",
"babylonjs": "4.2.1",
"babylonjs-gltf2interface": "^5.28.0",
"bson-objectid": "^1.3.1",
"cesium": "^1.64.0",
"class-transformer": "^0.4.0",
"e-ngx-cesium": "^6.3.2",
"earcut": "^2.2.3",
"echarts": "^4.9.0",
"firebase": "^7.6.2",
"grpc": "^1.24.2",
"install": "^0.13.0",
"js-base64": "^3.7.2",
"linqjs": "^1.0.2",
"moment": "^2.29.1",
"ng-zorro-antd": "^9.3.0",
"ngx-cookie-service": "^3.0.2",
"ngx-countdown": "^11.0.0",
"ngx-echarts": "^4.2.2",
"ngx-perfect-scrollbar": "^8.0.0",
"reflect-metadata": "^0.1.13",
"rxjs": "~6.5.4",
"swiper": "^5.3.6",
"tslib": "^2.0.0",
"viewerjs": "^1.6.2",
"zone.js": "~0.11.4"
},
"devDependencies": {
"@angular-devkit/build-angular": "~12.2.18",
"@angular/cli": "~12.2.18",
"@angular/compiler-cli": "~12.2.16",
"@angular/language-service": "~12.2.16",
"@types/jasmine": "~3.6.0",
"@types/jasminewd2": "~2.0.3",
"@types/node": "^12.11.1",
"codelyzer": "^6.0.0",
"jasmine-core": "~3.6.0",
"jasmine-spec-reporter": "~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",
"karma-jasmine-html-reporter": "^1.5.0",
"protractor": "~7.0.0",
"ts-node": "~7.0.0",
"tslint": "~6.1.0",
"typescript": "~4.5.2"
}
}

2
src/environments/environment.ts

@ -13,4 +13,4 @@ export const environment = {
* This import should be commented out in production mode because it will have a negative impact
* on performance if an error is thrown.
*/
// import 'zone.js/dist/zone-error'; // Included with Angular CLI.
// import 'zone.js/plugins/zone-error'; // Included with Angular CLI.

2
src/polyfills.ts

@ -55,7 +55,7 @@
/***************************************************************************************************
* Zone JS is required by default for Angular itself.
*/
import 'zone.js/dist/zone'; // Included with Angular CLI.
import 'zone.js'; // Included with Angular CLI.
/***************************************************************************************************

2
src/test.ts

@ -1,6 +1,6 @@
// This file is required by karma.conf.js and loads recursively all the .spec and framework files
import 'zone.js/dist/zone-testing';
import 'zone.js/testing';
import { getTestBed } from '@angular/core/testing';
import {
BrowserDynamicTestingModule,

3842
yarn.lock

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