Skip to content

Commit

Permalink
angular 12 update
Browse files Browse the repository at this point in the history
  • Loading branch information
nkmdev committed Feb 16, 2022
1 parent a1ac65a commit 79cad3b
Show file tree
Hide file tree
Showing 6 changed files with 3,314 additions and 4,109 deletions.
12 changes: 10 additions & 2 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,14 @@
"assets": ["src/assets", "src/favicon.ico"],
"styles": ["node_modules/font-awesome/css/font-awesome.css", "src/styles/app.scss"],
"scripts": ["node_modules/chart.js/dist/Chart.js"],
"allowedCommonJsDependencies": ["chart.js"]
"allowedCommonJsDependencies": ["chart.js"],
"aot": false,
"vendorChunk": true,
"extractLicenses": false,
"buildOptimizer": false,
"sourceMap": true,
"optimization": false,
"namedChunks": true
},
"configurations": {
"production": {
Expand All @@ -45,7 +52,8 @@
}
]
}
}
},
"defaultConfiguration": ""
},
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
Expand Down
38 changes: 19 additions & 19 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,24 +5,24 @@
"scripts": {
"ng": "ng",
"start": "ng serve",
"build": "ng build --prod",
"gitbuild": "ng build --prod --base-href /start-angular/SB-Admin-BS4-Angular-7/master/dist/",
"build": "ng build --configuration production",
"gitbuild": "ng build --configuration production --base-href /start-angular/SB-Admin-BS4-Angular-7/master/dist/",
"test": "ng test",
"test-ci": "TEST_CI=true ng test",
"lint": "ng lint",
"e2e": "ng e2e"
},
"private": true,
"dependencies": {
"@angular/animations": "11.2.9",
"@angular/common": "11.2.9",
"@angular/compiler": "11.2.9",
"@angular/core": "11.2.9",
"@angular/forms": "11.2.9",
"@angular/localize": "11.2.9",
"@angular/platform-browser": "11.2.9",
"@angular/platform-browser-dynamic": "11.2.9",
"@angular/router": "11.2.9",
"@angular/animations": "12.2.16",
"@angular/common": "12.2.16",
"@angular/compiler": "12.2.16",
"@angular/core": "12.2.16",
"@angular/forms": "12.2.16",
"@angular/localize": "12.2.16",
"@angular/platform-browser": "12.2.16",
"@angular/platform-browser-dynamic": "12.2.16",
"@angular/router": "12.2.16",
"@ng-bootstrap/ng-bootstrap": "7.0.0",
"@ngx-translate/core": "13.0.0",
"@ngx-translate/http-loader": "6.0.0",
Expand All @@ -32,20 +32,20 @@
"ng2-charts": "2.4.2",
"rxjs": "6.6.3",
"tslib": "^2.0.0",
"zone.js": "~0.10.3"
"zone.js": "~0.11.4"
},
"devDependencies": {
"@angular-devkit/build-angular": "~0.1102.8",
"@angular/cli": "11.2.8",
"@angular/compiler-cli": "11.2.9",
"@angular/language-service": "11.2.9",
"@angular-devkit/build-angular": "~12.2.16",
"@angular/cli": "12.2.16",
"@angular/compiler-cli": "12.2.16",
"@angular/language-service": "12.2.16",
"@types/jasmine": "~3.6.0",
"@types/jasminewd2": "2.0.8",
"@types/node": "13.7.6",
"codelyzer": "^6.0.0",
"jasmine-core": "~3.6.0",
"jasmine-spec-reporter": "~5.0.0",
"karma": "5.2.3",
"karma": "6.3.16",
"karma-chrome-launcher": "~3.1.0",
"karma-cli": "2.0.0",
"karma-coverage-istanbul-reporter": "2.1.1",
Expand All @@ -55,7 +55,7 @@
"protractor": "7.0.0",
"ts-node": "8.6.2",
"tslint": "6.1.3",
"typescript": "4.0.3",
"typescript": "4.3.5",
"yarn": "1.22.10"
}
}
}
2 changes: 1 addition & 1 deletion src/environments/environment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 changes: 1 addition & 1 deletion src/polyfills.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import 'core-js/es/reflect';
/***************************************************************************************************
* 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.
/**
* This file includes polyfills needed by Angular and is loaded before the app.
* You can add your own extra polyfills to this file.
Expand Down
1 change: 0 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
"declaration": false,
"module": "esnext",
"moduleResolution": "node",
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"target": "es2015",
"typeRoots": ["node_modules/@types"],
Expand Down
Loading

0 comments on commit 79cad3b

Please sign in to comment.