ng update をしてみた v14.0.0-rc.0
cli, core 関係
➜ portfolio git:(feature/next) ng update @angular/cli --next --force Using package manager: npm Collecting installed dependencies... Found 48 dependencies. Fetching dependency metadata from registry... Updating package.json with dependency @angular-devkit/architect @ "0.1400.0-rc.0" (was "0.1400.0-next.13")... Updating package.json with dependency @angular-devkit/build-angular @ "14.0.0-rc.0" (was "14.0.0-next.13")... Updating package.json with dependency @angular/cli @ "14.0.0-rc.0" (was "14.0.0-next.13")... Updating package.json with dependency @angular/compiler-cli @ "14.0.0-rc.0" (was "14.0.0-next.16")... Updating package.json with dependency @angular/language-service @ "14.0.0-rc.0" (was "14.0.0-next.16")... Updating package.json with dependency @angular/animations @ "14.0.0-rc.0" (was "14.0.0-next.16")... Updating package.json with dependency @angular/common @ "14.0.0-rc.0" (was "14.0.0-next.16")... Updating package.json with dependency @angular/compiler @ "14.0.0-rc.0" (was "14.0.0-next.16")... Updating package.json with dependency @angular/core @ "14.0.0-rc.0" (was "14.0.0-next.16")... Updating package.json with dependency @angular/forms @ "14.0.0-rc.0" (was "14.0.0-next.16")... Updating package.json with dependency @angular/platform-browser @ "14.0.0-rc.0" (was "14.0.0-next.16")... Updating package.json with dependency @angular/platform-browser-dynamic @ "14.0.0-rc.0" (was "14.0.0-next.16")... Updating package.json with dependency @angular/router @ "14.0.0-rc.0" (was "14.0.0-next.16")... UPDATE package.json (2636 bytes) ✔ Packages successfully installed. ** Executing migrations of package '@angular/cli' ** ❯ Remove 'defaultProject' option from workspace configuration. The project to use will be determined from the current working directory. Migration completed. ❯ Remove 'showCircularDependencies' option from browser and server builders. Migration completed. ❯ Replace 'defaultCollection' option in workspace configuration with 'schematicCollections'. Migration completed. ❯ Update Angular packages 'dependencies' and 'devDependencies' version prefix to '^' instead of '~'. ✔ Packages installed successfully. Migration completed. ❯ Remove 'package.json' files from library projects secondary entrypoints. Migration completed. ❯ Update TypeScript compilation target to 'ES2020'. Migration completed. ➜ portfolio git:(feature/next) ✗
cdk, material 関係
➜ portfolio git:(feature/next) ng update @angular/cdk @angular/material --next --force Using package manager: npm Collecting installed dependencies... Found 48 dependencies. Fetching dependency metadata from registry... Updating package.json with dependency @angular/cdk @ "14.0.0-rc.0" (was "14.0.0-next.13")... Updating package.json with dependency @angular/material @ "14.0.0-rc.0" (was "14.0.0-next.13")... UPDATE package.json (2630 bytes) ✔ Packages successfully installed. ➜ portfolio git:(feature/next) ✗
ng update してみて
- Remove 'defaultProject' option from workspace configuration.
- Remove 'showCircularDependencies' option from browser and server builders.
- Replace 'defaultCollection' option in workspace configuration with 'schematicCollections'.
- Update Angular packages 'dependencies' and 'devDependencies' version prefix to '^' instead of '~'.
- Remove 'package.json' files from library projects secondary entrypoints.
- Update TypeScript compilation target to 'ES2020'.
GitHub Repository