feat: up Angular packages to 12

This commit is contained in:
Sergey Andrievskiy 2021-06-27 19:19:50 +03:00
parent 7b2be34873
commit dbc3082274
5 changed files with 6785 additions and 6440 deletions

View file

@ -11,7 +11,6 @@
"build": { "build": {
"builder": "@angular-devkit/build-angular:browser", "builder": "@angular-devkit/build-angular:browser",
"options": { "options": {
"aot": true,
"preserveSymlinks": true, "preserveSymlinks": true,
"outputPath": "dist", "outputPath": "dist",
"index": "src/index.html", "index": "src/index.html",
@ -58,7 +57,13 @@
"zrender/lib/svg/svg", "zrender/lib/svg/svg",
"zrender/lib/vml/vml", "zrender/lib/vml/vml",
"style-loader!leaflet/dist/leaflet.css" "style-loader!leaflet/dist/leaflet.css"
] ],
"vendorChunk": true,
"extractLicenses": false,
"buildOptimizer": false,
"sourceMap": true,
"optimization": false,
"namedChunks": true
}, },
"configurations": { "configurations": {
"production": { "production": {
@ -72,7 +77,6 @@
"outputHashing": "all", "outputHashing": "all",
"sourceMap": false, "sourceMap": false,
"namedChunks": false, "namedChunks": false,
"aot": true,
"extractLicenses": true, "extractLicenses": true,
"vendorChunk": false, "vendorChunk": false,
"buildOptimizer": true, "buildOptimizer": true,
@ -83,7 +87,8 @@
} }
] ]
} }
} },
"defaultConfiguration": ""
}, },
"serve": { "serve": {
"builder": "@angular-devkit/build-angular:dev-server", "builder": "@angular-devkit/build-angular:dev-server",

13173
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -14,7 +14,7 @@
"conventional-changelog": "conventional-changelog", "conventional-changelog": "conventional-changelog",
"start": "ng serve", "start": "ng serve",
"build": "ng build", "build": "ng build",
"build:prod": "npm run build -- --prod --aot", "build:prod": "npm run build -- --configuration production --aot",
"test": "ng test", "test": "ng test",
"test:coverage": "rimraf coverage && npm run test -- --code-coverage", "test:coverage": "rimraf coverage && npm run test -- --code-coverage",
"lint": "ng lint", "lint": "ng lint",
@ -31,16 +31,16 @@
}, },
"dependencies": { "dependencies": {
"@akveo/ng2-completer": "^9.0.1", "@akveo/ng2-completer": "^9.0.1",
"@angular/animations": "^11.0.9", "@angular/animations": "^12.1.0",
"@angular/cdk": "11.0.4", "@angular/cdk": "12.1.0",
"@angular/common": "^11.0.9", "@angular/common": "^12.1.0",
"@angular/compiler": "^11.0.9", "@angular/compiler": "^12.1.0",
"@angular/core": "^11.0.9", "@angular/core": "^12.1.0",
"@angular/forms": "^11.0.9", "@angular/forms": "^12.1.0",
"@angular/google-maps": "^11.0.4", "@angular/google-maps": "^12.1.0",
"@angular/platform-browser": "^11.0.9", "@angular/platform-browser": "^12.1.0",
"@angular/platform-browser-dynamic": "^11.0.9", "@angular/platform-browser-dynamic": "^12.1.0",
"@angular/router": "^11.0.9", "@angular/router": "^12.1.0",
"@asymmetrik/ngx-leaflet": "3.0.1", "@asymmetrik/ngx-leaflet": "3.0.1",
"@nebular/auth": "7.0.0", "@nebular/auth": "7.0.0",
"@nebular/eva-icons": "7.0.0", "@nebular/eva-icons": "7.0.0",
@ -74,13 +74,13 @@
"tslib": "^2.0.0", "tslib": "^2.0.0",
"typeface-exo": "0.0.22", "typeface-exo": "0.0.22",
"web-animations-js": "^2.3.2", "web-animations-js": "^2.3.2",
"zone.js": "~0.10.3" "zone.js": "~0.11.4"
}, },
"devDependencies": { "devDependencies": {
"@angular-devkit/build-angular": "~0.1100.7", "@angular-devkit/build-angular": "~12.1.0",
"@angular/cli": "^11.0.7", "@angular/cli": "^12.1.0",
"@angular/compiler-cli": "^11.0.9", "@angular/compiler-cli": "^12.1.0",
"@angular/language-service": "11.0.9", "@angular/language-service": "12.1.0",
"@compodoc/compodoc": "1.0.1", "@compodoc/compodoc": "1.0.1",
"@fortawesome/fontawesome-free": "^5.2.0", "@fortawesome/fontawesome-free": "^5.2.0",
"@types/d3-color": "1.0.5", "@types/d3-color": "1.0.5",
@ -94,7 +94,7 @@
"husky": "0.13.3", "husky": "0.13.3",
"jasmine-core": "~3.6.0", "jasmine-core": "~3.6.0",
"jasmine-spec-reporter": "~5.0.0", "jasmine-spec-reporter": "~5.0.0",
"karma": "~5.1.1", "karma": "~6.3.4",
"karma-chrome-launcher": "~3.1.0", "karma-chrome-launcher": "~3.1.0",
"karma-cli": "1.0.1", "karma-cli": "1.0.1",
"karma-coverage-istanbul-reporter": "~3.0.2", "karma-coverage-istanbul-reporter": "~3.0.2",
@ -107,6 +107,6 @@
"ts-node": "3.2.2", "ts-node": "3.2.2",
"tslint": "~6.1.0", "tslint": "~6.1.0",
"tslint-language-service": "^0.9.9", "tslint-language-service": "^0.9.9",
"typescript": "4.0.5" "typescript": "4.3.4"
} }
} }

View file

@ -38,7 +38,7 @@ import 'core-js/es7/reflect';
/*************************************************************************************************** /***************************************************************************************************
* Zone JS is required by Angular itself. * Zone JS is required by Angular itself.
*/ */
import 'zone.js/dist/zone'; // Included with Angular CLI. import 'zone.js'; // Included with Angular CLI.
/*************************************************************************************************** /***************************************************************************************************

View file

@ -7,7 +7,6 @@
"sourceMap": true, "sourceMap": true,
"declaration": false, "declaration": false,
"moduleResolution": "node", "moduleResolution": "node",
"emitDecoratorMetadata": true,
"experimentalDecorators": true, "experimentalDecorators": true,
"target": "es2015", "target": "es2015",
"typeRoots": [ "typeRoots": [