Angular Site Template changelog
ng update @angular/core@11 @angular/cli@11 --create-commits
ng update @nguniversal/builders@11 --create-commits
ng update @nguniversal/express-engine@11 --create-commits
Note: Try without
ng update @angular/core@12 @angular/cli@12 --create-commits --force
ng update @nguniversal/builders@12 --create-commits
ng update @nguniversal/express-engine@12 --create-commits
npm outdated -g --depth=0
npm install -g @angular/cli
npm install -g @angular-devkit/schematics-cli
npm outdated --depth=0 --long
npm audit fix
Linting is the process of analyzing your code for bugs, warnings, style and consistency changes, and more. In early 2019, TSLint was officially deprecated, and the community centered around ESLint as its replacement. Since then, there’s been a lot of development in ESLint in order to support TypeScript as well as Angular. Now, we finally have TypeScript-ESLint and Angular-ESLint.
In order to migrate our existing project we run the following commands:
ng add @angular-eslint/schematics
ng g @angular-eslint/schematics:convert-tslint-to-eslint
- Update project to Angular 10 🎉
- Update all dependencies to latest versions.
To update your existing project please follow these steps.
If you re-download the files from your Angular Template account you don't need to do this because the template is already updated.
es5BrowserSupportflags in your
angular.jsonand set your target to
tsconfig.json. Angular now uses your
browserslistto determine if an ES5 build is needed.
ng updatewill migrate you automatically.
ng update @angular/core@8 @angular/cli@8 --create-commits
ng update @angular/core@9 @angular/cli@9 --create-commits
ng update @nguniversal/express-engine --force --create-commits
entryComponentsare no longer required. They can be removed from your code.
ng update @angular/core @angular/cli --create-commits
ng update rxjs --create-commits
npm outdatedand update all your libraries.
- Update to Angular 7
- Removed webpack process and replaced it with tsc
- Updated all libraries to its latest versions