I am creating a new Angular project and would like all the Angular dependencies to be from the stable 7th version. However, it seems that while running the ng new app
command the Angular always fetches the latest version. My package.json shows all the angular packages like core, animations etc from ~8.0.0
.
I know that I can modify the package.json and set these dependencies to be fetched as per the semantic 7.x.x, but I would rather want it to be done automatically so that I do not run a chance of mis-matching any peer dependencies.
So, Is there a way that we can tell the CLI to fetch a particular angular version and all the dependencies according to that angular version.
EDIT: I have already tried insatlling @angular/cli@7.x.x. Even after doing this if I run ng new app, my depencies are fetched as per the 8th version