Angular Site Template changelog
Note: Try without
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 @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 project to Angular 8
- Remove BASE_URL and added Angular UniversalInterceptor (learn more in https://angular.io/guide/universal#using-absolute-urls-for-server-requests)
- Updated all libraries
- Update to Angular 7
- Removed webpack process and replaced it with tsc
- Updated all libraries to its latest versions