Skip to content
Snippets Groups Projects
Commit 506eb817 authored by François Grand's avatar François Grand
Browse files

update Angular core/CLI to version 12

refs #500
parent c8717a30
No related branches found
No related tags found
1 merge request!155Resolve "Update to the last version of Angular"
......@@ -11,7 +11,6 @@
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
"aot": true,
"outputPath": "dist",
"index": "src/index.html",
"main": "src/main.ts",
......@@ -72,7 +71,13 @@
"graphlibrary",
"dagre-layout",
"dagre-d3-renderer"
]
],
"vendorChunk": true,
"extractLicenses": false,
"buildOptimizer": false,
"sourceMap": true,
"optimization": false,
"namedChunks": true
},
"configurations": {
"production": {
......@@ -86,7 +91,6 @@
"outputHashing": "all",
"sourceMap": false,
"namedChunks": false,
"aot": true,
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": true,
......@@ -97,7 +101,8 @@
}
]
}
}
},
"defaultConfiguration": ""
},
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
......
This diff is collapsed.
......@@ -18,8 +18,8 @@
"mkdocs2pdf": "node scripts/python3.js mkdocs2pdf.py",
"preprocess": "node scripts/preprocessors.js && npm run mkdocs",
"start": "npm run preprocess && npm run ng serve -- --host 0.0.0.0 --poll 5000",
"build-no-pdf": "npm run preprocess && npm run ng build -- --prod",
"build": "npm run preprocess && npm run mkdocs2pdf && npm run ng build -- --prod",
"build-no-pdf": "npm run preprocess && npm run ng build -- --configuration production",
"build": "npm run preprocess && npm run mkdocs2pdf && npm run ng build -- --configuration production",
"update-dist-index-mimetypes": "node scripts/update-dist-index-mimetypes.js",
"build-cordova": "npm run build-no-pdf && npm run update-dist-index-mimetypes && node scripts/add-cordova-script.js",
"release-android": "node scripts/bump-cordova-version.js && npm run build-cordova && \"node_modules/.bin/cordova\" platform add android; node scripts/remove-duplicate-sitemap.js && \"node_modules/.bin/cordova\" build android && node scripts/move-cordova-release.js",
......@@ -37,15 +37,15 @@
"private": true,
"dependencies": {
"@angular/cdk": "^11.2.13",
"@angular/common": "^11.2.14",
"@angular/compiler": "^11.2.14",
"@angular/core": "^11.2.14",
"@angular/common": "^12.2.16",
"@angular/compiler": "^12.2.16",
"@angular/core": "^12.2.16",
"@angular/flex-layout": "^10.0.0-beta.32",
"@angular/forms": "^11.2.14",
"@angular/forms": "^12.2.16",
"@angular/material": "^11.2.13",
"@angular/platform-browser": "^11.2.14",
"@angular/platform-browser-dynamic": "^11.2.14",
"@angular/router": "^11.2.14",
"@angular/platform-browser": "^12.2.16",
"@angular/platform-browser-dynamic": "^12.2.16",
"@angular/router": "^12.2.16",
"@types/pako": "^1.0.1",
"@types/sprintf-js": "^1.1.2",
"angular2-chartjs": "^0.5.1",
......@@ -74,13 +74,13 @@
"svg-pan-zoom": "^3.6.1",
"tslib": "^2.0.0",
"xlsx": "^0.16.7",
"zone.js": "^0.11.6"
"zone.js": "~0.11.4"
},
"devDependencies": {
"@angular-devkit/core": "^14.0.4",
"@angular/cli": "^11.2.19",
"@angular/compiler-cli": "^11.2.14",
"@angular/language-service": "^11.2.14",
"@angular/cli": "^12.2.17",
"@angular/compiler-cli": "^12.2.16",
"@angular/language-service": "^12.2.16",
"@compodoc/compodoc": "^1.1.11",
"@types/file-saver": "^2.0.1",
"@types/jasmine": "~3.6.0",
......@@ -102,7 +102,7 @@
"protractor": "~7.0.0",
"ts-node": "^9.0.0",
"tslint": "^6.1.3",
"typescript": "~4.1.6",
"typescript": "~4.3.5",
"webpack-dev-server": "^3.11.0"
},
"cordova": {
......@@ -121,4 +121,4 @@
"android"
]
}
}
}
\ No newline at end of file
......@@ -57,7 +57,7 @@
/***************************************************************************************************
* Zone JS is required by Angular itself.
*/
import "zone.js/dist/zone"; // Included with Angular CLI.
import "zone.js"; // Included with Angular CLI.
......
......@@ -7,7 +7,6 @@
"sourceMap": true,
"declaration": false,
"moduleResolution": "node",
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"target": "es2015",
"typeRoots": [
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment