Skip to content

eric-simonton-sama/angular-cli-diffs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Angular CLI diffs

This repository exposes an Angular CLI app generated with the following commands for select versions of the Angular CLI

ng new the-project
cd the-project
ng generate library the-library

Inspired by https://github.com/cexbrayat/angular-cli-diff, this project does the same thing but with many variations on how the project is configured.

Using the diffs

Visit a URL like this to view the relevant diffs: https://github.com/simontonsoftware/angular-cli-diffs/compare/7.0.5..8.0.0. Ignore any files that are at the root of the repository; the relevant files are all in the-project/.

The branch names reveal which options were used to generate them. The options are:

  • -eslint: includes angular-eslint config, added with ng add @angular-eslint/schematics
  • -fire: includes firebase, added with ng add @angular/fire
  • -lib: includes a library project, added with ng generate library the-library
  • -mat: includes material design, added with ng add @angular/material
  • -noApp: scaffolds the project with --createApplication=flase
  • -pwa: includes configuration for the app to be a progressive web app, added with ng add @angular/pwa
  • -route: includes configuration for routing, added with the --routing=true flag when generating the original project
  • -strict: scaffolds the project with the --strict flag
  • -subApp: includes an application project, added with ng generate application the-application

Generating new diffs

  1. Start from master
  2. Ensure you have opted out analytics by running ng analytics off
  3. yarn gen X.X.X [-eslint] [-fire] [-lib] [-mat] [-noApp] [-pwa] [-route] [-strict] [-subApp]

About

See diffs between angular projects with different versions and/or configurations.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%