Skip to content

Commit

Permalink
fix(package): pick always the latest version of the library as defaul…
Browse files Browse the repository at this point in the history
…t value in schematics
  • Loading branch information
AnthonyNahas committed Mar 25, 2019
1 parent 16ff2da commit d32a5c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/schematics/src/ng-add/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export function addPackageJsonDependencies(): Rule {
const dependencies: NodeDependency[] = [
{
type: NodeDependencyType.Default,
version: loadPackageVersionGracefully(context) || '3.5.3',
version: loadPackageVersionGracefully(context) || 'latest',
name: '@angular-material-extensions/password-strength'
},
{type: NodeDependencyType.Default, version: ngCoreVersionTag || '7.2.7', name: '@angular/animations'},
Expand Down

0 comments on commit d32a5c6

Please sign in to comment.