Changelog
Angular Site Template changelog
- Update all libraries
- ESLint Migration
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
--force
param firstng 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
Diagnostic
npm outdated -g --depth=0
Execute
npm install -g @angular/cli
npm install -g @angular-devkit/schematics-cli
Diagnostic
npm outdated --depth=0 --long
Execute
npm install --save [email protected]
npm install --save @ngx-loading-bar/[email protected]
npm install --save @ngx-loading-bar/[email protected]
npm install --save @ngx-loading-bar/[email protected]
npm install --save [email protected]
npm install --save [email protected]
Dev dependencies
npm install --save-dev @types/[email protected]
npm install --save-dev @types/[email protected]
npm install --save-dev @types/[email protected]
npm install --save-dev @types/[email protected]
npm audit
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.
Remove any
es5BrowserSupport
flags in your angular.json
and set your target to es2015
in your tsconfig.json
. Angular now uses your browserslist
to determine if an ES5 build is needed. ng update
will 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
entryComponents
are no longer required. They can be removed from your code.ng update @angular/core @angular/cli --create-commits
ng update rxjs --create-commits
Run
npm outdated
and 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
Last modified 1yr ago