Verified Commit 201dff38 authored by Raphael Ochsenbein's avatar Raphael Ochsenbein
Browse files

Run Angualar 12 migrations

parent ae264c44
...@@ -53,7 +53,6 @@ ...@@ -53,7 +53,6 @@
"build": { "build": {
"builder": "@angular-devkit/build-angular:browser", "builder": "@angular-devkit/build-angular:browser",
"options": { "options": {
"aot": true,
"outputPath": "dist/example-app", "outputPath": "dist/example-app",
"index": "projects/example-app/src/index.html", "index": "projects/example-app/src/index.html",
"main": "projects/example-app/src/main.ts", "main": "projects/example-app/src/main.ts",
...@@ -66,17 +65,18 @@ ...@@ -66,17 +65,18 @@
"styles": [ "styles": [
"projects/example-app/src/styles.css" "projects/example-app/src/styles.css"
], ],
"scripts": [] "scripts": [],
"vendorChunk": true,
"extractLicenses": false,
"buildOptimizer": false,
"sourceMap": true,
"optimization": false,
"namedChunks": true
}, },
"configurations": { "configurations": {
"es5": { "es5": {
"tsConfig": "./projects/example-app/tsconfig-es5.app.json", "tsConfig": "./projects/example-app/tsconfig-es5.app.json",
"sourceMap": true,
"namedChunks": true,
"aot": true,
"extractLicenses": true, "extractLicenses": true,
"vendorChunk": true,
"buildOptimizer": false,
"budgets": [ "budgets": [
{ {
"type": "initial", "type": "initial",
...@@ -97,7 +97,6 @@ ...@@ -97,7 +97,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,
......
This diff is collapsed.
...@@ -129,25 +129,25 @@ ...@@ -129,25 +129,25 @@
"compileSources": true "compileSources": true
}, },
"dependencies": { "dependencies": {
"@angular/animations": "~11.0.0", "@angular/animations": "~12.0.0",
"@angular/common": "~11.0.0", "@angular/common": "~12.0.0",
"@angular/compiler": "~11.0.0", "@angular/compiler": "~12.0.0",
"@angular/core": "~11.0.0", "@angular/core": "~12.0.0",
"@angular/forms": "~11.0.0", "@angular/forms": "~12.0.0",
"@angular/platform-browser": "~11.0.0", "@angular/platform-browser": "~12.0.0",
"@angular/platform-browser-dynamic": "~11.0.0", "@angular/platform-browser-dynamic": "~12.0.0",
"@angular/router": "~11.0.0", "@angular/router": "~12.0.0",
"core-js": "^3.1.3", "core-js": "^3.1.3",
"rxjs": "~6.5.4", "rxjs": "~6.5.4",
"svg-to-ts": "^5.0.1", "svg-to-ts": "^5.0.1",
"tslib": "^2.0.0", "tslib": "^2.2.0",
"zone.js": "~0.10.2" "zone.js": "~0.11.4"
}, },
"devDependencies": { "devDependencies": {
"@angular-devkit/build-angular": "~0.1100.1", "@angular-devkit/build-angular": "~12.0.0",
"@angular/cli": "~11.0.1", "@angular/cli": "~12.0.0",
"@angular/compiler-cli": "~11.0.0", "@angular/compiler-cli": "~12.0.0",
"@angular/language-service": "~11.0.0", "@angular/language-service": "~12.0.0",
"@types/jasmine": "~3.6.0", "@types/jasmine": "~3.6.0",
"@types/jasminewd2": "~2.0.3", "@types/jasminewd2": "~2.0.3",
"@types/node": "^12.11.1", "@types/node": "^12.11.1",
...@@ -155,17 +155,17 @@ ...@@ -155,17 +155,17 @@
"cpx": "^1.5.0", "cpx": "^1.5.0",
"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.2",
"karma-chrome-launcher": "~3.1.0", "karma-chrome-launcher": "~3.1.0",
"karma-coverage-istanbul-reporter": "~3.0.2", "karma-coverage-istanbul-reporter": "~3.0.2",
"karma-jasmine": "~4.0.0", "karma-jasmine": "~4.0.0",
"karma-jasmine-html-reporter": "^1.5.0", "karma-jasmine-html-reporter": "^1.5.0",
"ng-packagr": "^11.0.2", "ng-packagr": "^12.0.0",
"protractor": "~7.0.0", "protractor": "~7.0.0",
"rxjs-marbles": "^5.0.2", "rxjs-marbles": "^5.0.2",
"ts-node": "~8.2.0", "ts-node": "~8.2.0",
"tslint": "~6.1.0", "tslint": "~6.1.0",
"typescript": "~4.0.5", "typescript": "~4.2.4",
"webpack-bundle-analyzer": "^3.6.1" "webpack-bundle-analyzer": "^3.6.1"
} }
} }
...@@ -13,4 +13,4 @@ export const environment = { ...@@ -13,4 +13,4 @@ export const environment = {
* This import should be commented out in production mode because it will have a negative impact * This import should be commented out in production mode because it will have a negative impact
* on performance if an error is thrown. * 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.
...@@ -55,7 +55,7 @@ ...@@ -55,7 +55,7 @@
/*************************************************************************************************** /***************************************************************************************************
* Zone JS is required by default for Angular itself. * 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 is required by karma.conf.js and loads recursively all the .spec and framework files // 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 { getTestBed } from '@angular/core/testing';
import { import {
BrowserDynamicTestingModule, BrowserDynamicTestingModule,
......
// This file is required by karma.conf.js and loads recursively all the .spec and framework files // This file is required by karma.conf.js and loads recursively all the .spec and framework files
import 'core-js/proposals/reflect-metadata'; import 'core-js/proposals/reflect-metadata';
import 'zone.js/dist/zone'; import 'zone.js';
import 'zone.js/dist/zone-testing'; import 'zone.js/testing';
import { getTestBed } from '@angular/core/testing'; import { getTestBed } from '@angular/core/testing';
import { import {
BrowserDynamicTestingModule, BrowserDynamicTestingModule,
......
...@@ -9,7 +9,6 @@ ...@@ -9,7 +9,6 @@
"declaration": true, "declaration": true,
"sourceMap": true, "sourceMap": true,
"inlineSources": true, "inlineSources": true,
"emitDecoratorMetadata": true,
"experimentalDecorators": true, "experimentalDecorators": true,
"importHelpers": true, "importHelpers": true,
"types": [], "types": [],
......
...@@ -7,7 +7,6 @@ ...@@ -7,7 +7,6 @@
"declaration": false, "declaration": false,
"module": "es2020", "module": "es2020",
"moduleResolution": "node", "moduleResolution": "node",
"emitDecoratorMetadata": true,
"experimentalDecorators": true, "experimentalDecorators": true,
"importHelpers": true, "importHelpers": true,
"target": "es2015", "target": "es2015",
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment