Skip to content

Commit

Permalink
npx ng update @angular/core @angular/cli @angular/cdk @angular-eslint…
Browse files Browse the repository at this point in the history
…/schematics

The installed Angular CLI version is outdated.
Installing a temporary Angular CLI versioned 18.0.2 to perform the update.
✔ Packages successfully installed.
Using package manager: npm
Collecting installed dependencies...
Found 46 dependencies.
Fetching dependency metadata from registry...
                  Package "@angular-eslint/eslint-plugin" has a missing peer dependency of "@typescript-eslint/utils" @ "^7.11.0 || ^8.0.0-alpha.20".
                  Package "@angular-eslint/eslint-plugin-template" has a missing peer dependency of "@typescript-eslint/utils" @ "^7.11.0 || ^8.0.0-alpha.20".
                  Package "@angular-eslint/schematics" has a missing peer dependency of "@angular-devkit/core" @ ">= 18.0.0 < 19.0.0".
                  Package "@angular-eslint/schematics" has a missing peer dependency of "@angular-devkit/schematics" @ ">= 18.0.0 < 19.0.0".
    Updating package.json with dependency @angular-devkit/build-angular @ "18.0.2" (was "17.3.8")...
    Updating package.json with dependency @angular-eslint/builder @ "18.0.1" (was "17.5.2")...
    Updating package.json with dependency @angular-eslint/eslint-plugin @ "18.0.1" (was "17.5.2")...
    Updating package.json with dependency @angular-eslint/eslint-plugin-template @ "18.0.1" (was "17.5.2")...
    Updating package.json with dependency @angular-eslint/schematics @ "18.0.1" (was "17.5.2")...
    Updating package.json with dependency @angular-eslint/template-parser @ "18.0.1" (was "17.5.2")...
    Updating package.json with dependency @angular/cli @ "18.0.2" (was "17.3.8")...
    Updating package.json with dependency ng-packagr @ "18.0.0" (was "17.3.0")...
    Updating package.json with dependency @angular/cdk @ "18.0.1" (was "17.3.10")...
    Updating package.json with dependency @angular/core @ "18.0.1" (was "17.3.10")...
UPDATE package.json (2343 bytes)
✔ Packages successfully installed.
** Optional migrations of package '@angular/cli' **

This package has 1 optional migration that can be executed.
Optional migrations may be skipped and executed after the update process, if preferred.

Select the migrations that you'd like to run [use-application-builder] Migrate application projects to the new build system. (https://angular.dev/tools/cli/build-system-migration)

▸ Migrate application projects to the new build system.
  Application projects that are using the '@angular-devkit/build-angular' package's 'browser' and/or 'browser-esbuild' builders will be migrated to use the new 'application' builder.
  You can read more about this, including known issues and limitations, here: https://angular.dev/tools/cli/build-system-migration
    The output location of the browser build has been updated from "dist/ng-walkthrough" to "dist/ng-walkthrough/browser". You might need to adjust your deployment pipeline or, as an alternative, set outputPath.browser to "" in order to maintain the previous functionality.
UPDATE angular.json (4839 bytes)
UPDATE tsconfig.json (532 bytes)
  Migration completed (2 files modified).

** Executing migrations of package '@angular/cdk' **

▸ Updates the Angular CDK to v18.
    Skipping migration for project ng-walkthrough-e2e. Unable to determine 'tsconfig.json' file in workspace config.

      ✓  Updated Angular CDK to version 18

  Migration completed (No changes made).

** Executing migrations of package '@angular/core' **

▸ Updates two-way bindings that have an invalid expression to use the longform expression instead.
  Migration completed (No changes made).

▸ Replace deprecated HTTP related modules with provider functions.
  Migration completed (No changes made).
  • Loading branch information
Zefling committed Jun 3, 2024
1 parent 30f0559 commit a4d9b96
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 20 deletions.
18 changes: 9 additions & 9 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,22 +11,24 @@
"schematics": {},
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:browser",
"builder": "@angular-devkit/build-angular:application",
"options": {
"outputPath": "dist/ng-walkthrough",
"outputPath": {
"base": "dist/ng-walkthrough"
},
"index": "src/index.html",
"main": "src/main.ts",
"polyfills": "src/polyfills.ts",
"polyfills": [
"src/polyfills.ts"
],
"tsConfig": "src/tsconfig.app.json",
"assets": ["src/favicon.ico", "src/assets"],
"styles": ["src/styles.css"],
"scripts": [],
"vendorChunk": true,
"extractLicenses": false,
"buildOptimizer": false,
"sourceMap": true,
"optimization": false,
"namedChunks": true
"namedChunks": true,
"browser": "src/main.ts"
},
"configurations": {
"production": {
Expand All @@ -41,8 +43,6 @@
"sourceMap": false,
"namedChunks": false,
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": true,
"budgets": [
{
"type": "initial",
Expand Down
22 changes: 11 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@
"private": true,
"dependencies": {
"@angular/animations": "^18.0.1",
"@angular/cdk": "^17.3.10",
"@angular/cdk": "^18.0.1",
"@angular/common": "^18.0.1",
"@angular/compiler": "^18.0.1",
"@angular/core": "^17.3.10",
"@angular/core": "^18.0.1",
"@angular/forms": "^18.0.1",
"@angular/localize": "^18.0.1",
"@angular/platform-browser": "^18.0.1",
Expand All @@ -33,13 +33,13 @@
"zone.js": "~0.14.6"
},
"devDependencies": {
"@angular-devkit/build-angular": "17.3.8",
"@angular-eslint/builder": "17.5.2",
"@angular-eslint/eslint-plugin": "17.5.2",
"@angular-eslint/eslint-plugin-template": "17.5.2",
"@angular-eslint/schematics": "17.5.2",
"@angular-eslint/template-parser": "17.5.2",
"@angular/cli": "^17.3.8",
"@angular-devkit/build-angular": "18.0.2",
"@angular-eslint/builder": "18.0.1",
"@angular-eslint/eslint-plugin": "18.0.1",
"@angular-eslint/eslint-plugin-template": "18.0.1",
"@angular-eslint/schematics": "18.0.1",
"@angular-eslint/template-parser": "18.0.1",
"@angular/cli": "^18.0.2",
"@angular/compiler-cli": "^18.0.1",
"@angular/language-service": "^18.0.1",
"@types/jasmine": "~3.6.0",
Expand All @@ -60,11 +60,11 @@
"karma-coverage-istanbul-reporter": "~2.0.0",
"karma-jasmine": "~4.0.0",
"karma-jasmine-html-reporter": "^1.5.0",
"ng-packagr": "^17.3.0",
"ng-packagr": "^18.0.0",
"prettier": "^2.8.7",
"protractor": "^7.0.0",
"ts-node": "~7.0.1",
"tslib": "^2.3.0",
"typescript": "~5.4.5"
}
}
}
1 change: 1 addition & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"compilerOptions": {
"baseUrl": "./",
"outDir": "./dist/out-tsc",
"esModuleInterop": true,
"sourceMap": true,
"declaration": false,
"moduleResolution": "node",
Expand Down

0 comments on commit a4d9b96

Please sign in to comment.