Commit f2b3e8bc authored by Zéfling's avatar Zéfling 🎨
Browse files

npx ng update @angular/cli@11 --force

parent 3b7d74ef
......@@ -43,7 +43,6 @@
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
"extractCss": true,
"namedChunks": false,
"aot": true,
"extractLicenses": true,
......@@ -146,7 +145,7 @@
"prefix": "lib",
"architect": {
"build": {
"builder": "@angular-devkit/build-ng-packagr:build",
"builder": "@angular-devkit/build-angular:ng-packagr",
"options": {
"tsConfig": "projects/json2html/tsconfig.lib.json",
"project": "projects/json2html/ng-package.json"
......
This diff is collapsed.
......@@ -18,41 +18,40 @@
},
"private": true,
"dependencies": {
"@angular/animations": "~10.0.11",
"@angular/common": "~10.0.11",
"@angular/compiler": "~10.0.11",
"@angular/core": "~10.0.11",
"@angular/forms": "~10.0.11",
"@angular/platform-browser": "~10.0.11",
"@angular/platform-browser-dynamic": "~10.0.11",
"@angular/router": "~10.0.11",
"@angular/animations": "~11.2.14",
"@angular/common": "~11.2.14",
"@angular/compiler": "~11.2.14",
"@angular/core": "~11.2.14",
"@angular/forms": "~11.2.14",
"@angular/platform-browser": "~11.2.14",
"@angular/platform-browser-dynamic": "~11.2.14",
"@angular/router": "~11.2.14",
"core-js": "^2.5.4",
"rxjs": "~6.6.2",
"tslib": "^2.0.0",
"zone.js": "~0.10.2"
},
"devDependencies": {
"@angular-devkit/build-angular": "~0.1000.7",
"@angular-devkit/build-ng-packagr": "~0.1000.7",
"@angular/cli": "^10.2.4",
"@angular/compiler-cli": "~10.0.11",
"@angular/language-service": "~10.0.11",
"@types/jasmine": "~2.8.8",
"@angular-devkit/build-angular": "~0.1102.18",
"@angular/cli": "^11.2.18",
"@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.5.0",
"jasmine-core": "~3.6.0",
"jasmine-spec-reporter": "~5.0.0",
"karma": "~5.0.0",
"karma": "~6.3.16",
"karma-chrome-launcher": "~3.1.0",
"karma-coverage-istanbul-reporter": "~3.0.2",
"karma-jasmine": "~3.3.0",
"karma-jasmine": "~4.0.0",
"karma-jasmine-html-reporter": "^1.5.0",
"ng-packagr": "^10.0.0",
"ng-packagr": "^11.2.4",
"protractor": "~7.0.0",
"ts-node": "~7.0.0",
"tslint": "~6.1.0",
"typescript": "~3.9.7"
"typescript": "~4.1.6"
},
"keywords": [
"typescript",
......
......@@ -2,6 +2,7 @@
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"outDir": "../../out-tsc/lib",
"declarationMap": true,
"target": "es2015",
"module": "es2015",
"moduleResolution": "node",
......
{
"extends": "./tsconfig.lib.json",
"compilerOptions": {
"declarationMap": false
},
"angularCompilerOptions": {
"enableIvy": false
}
......
  • The installed Angular CLI version is outdated.
    Installing a temporary Angular CLI versioned 11.2.18 to perform the update.
    Installing packages for tooling via npm.
    Installed packages for tooling via npm.
    Using package manager: 'npm'
    Collecting installed dependencies...
    Found 33 dependencies.
    Fetching dependency metadata from registry...
        Updating package.json with dependency @angular-devkit/build-angular @ "0.1102.18" (was "0.1000.7")...
        Updating package.json with dependency @angular/cli @ "11.2.18" (was "10.2.4")...
        Updating package.json with dependency @angular/compiler-cli @ "11.2.14" (was "10.0.11")...
        Updating package.json with dependency @angular/language-service @ "11.2.14" (was "10.0.11")...
        Updating package.json with dependency karma @ "6.3.16" (was "5.0.9")...
        Updating package.json with dependency ng-packagr @ "11.2.4" (was "10.0.4")...
        Updating package.json with dependency typescript @ "4.1.6" (was "3.9.7")...
        Updating package.json with dependency @angular/animations @ "11.2.14" (was "10.0.14")...
        Updating package.json with dependency @angular/common @ "11.2.14" (was "10.0.14")...
        Updating package.json with dependency @angular/compiler @ "11.2.14" (was "10.0.14")...
        Updating package.json with dependency @angular/core @ "11.2.14" (was "10.0.14")...
        Updating package.json with dependency @angular/forms @ "11.2.14" (was "10.0.14")...
        Updating package.json with dependency @angular/platform-browser @ "11.2.14" (was "10.0.14")...
        Updating package.json with dependency @angular/platform-browser-dynamic @ "11.2.14" (was "10.0.14")...
        Updating package.json with dependency @angular/router @ "11.2.14" (was "10.0.14")...
      UPDATE package.json (1742 bytes)
    ✔ Packages installed successfully.
    ** Executing migrations of package '@angular/cli' **
    
    ▸ Replace deprecated library builder '@angular-devkit/build-ng-packagr'.
      UPDATE angular.json (5371 bytes)
      UPDATE package.json (1690 bytes)
      Migration completed.
    
    ▸ Add 'declarationMap' compiler options for non production library builds.
      UPDATE projects/json2html/tsconfig.lib.prod.json (152 bytes)
      UPDATE projects/json2html/tsconfig.lib.json (719 bytes)
      Migration completed.
    
    ▸ Remove deprecated options from 'angular.json' that are no longer present in v11.
      UPDATE angular.json (5337 bytes)
      Migration completed.
    
    ▸ Update workspace dependencies to match a new v11 project.
      UPDATE package.json (1690 bytes)
    ✔ Packages installed successfully.
      Migration completed.
    
    An unhandled exception occurred: Cannot find module '@angular-devkit/core'
    Require stack:
    - /home/zefling/Documents/Git/json2html-demo/node_modules/@angular/core/schematics/utils/project_tsconfig_paths.js
    - /home/zefling/Documents/Git/json2html-demo/node_modules/@angular/core/schematics/migrations/missing-injectable/index.js
    See "/tmp/ng-FFHx9Q/angular-errors.log" for further details.
    Edited by Zéfling
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