-
Notifications
You must be signed in to change notification settings - Fork 8
Update CLI and template packages
Viktor Aladzhov edited this page Sep 18, 2023
·
18 revisions
- Follow step-by-step guide to upgrade Yarn to Yarn Berry (Yarn 2).
Addyargswith theyarn add yargscommand.
- Update
lerna:yarn up lerna - Update
lerna-changelog: yarn up lerna-changelog - Update
yargs:lerna exec -- yarn up yargs
Note: yarn docs
Note: lerna docs
Note:
lerna execexecutes a command for all the projects in the mono repo.lerna exec -- yarn up yargs, executed on a root level, will update all the yargs dependencies in all the projects at once. Other usage of lerna in the CLI.
Note: some CLI packages are also used in the templates and can be updated accordingly.
- on a generated project with all the components run an automatic migration tool, like ng cli, and update template files
- compare the latest project from a framework with existing templates in the CLI (with WinMerge) and update template files
- compare ng new with ig new
- ng update for project with all components and then move changes to templates
Notes: typescript update for CLI and all framework templates
- Lambda functions are already allowed in javascript so there's no need write workarounds for them (
- Unhandled promise rejection: TypeError: target is not a constructor).