loopback-next icon indicating copy to clipboard operation
loopback-next copied to clipboard

fix(cli): added few missing packages to cli template dependencies

Open yeshamavani opened this issue 3 years ago • 4 comments

fix #9509

Signed-off-by: Yesha Mavani [email protected]

Please provide a high-level description of the changes made by your pull request.

When using lb4 update command to update package dependencies to latest version few packages were not updated to their latest versions.

List of packages added

  • loopback-connector
  • loopback-datasource-juggler
  • loopback-connector-postgresql
  • loopback-connector-mysql
  • loopback-connector-kv-redis
  • loopback-connector-mongodb

Include references to all related GitHub issues and other pull requests, for example:

Fixes #9509

Checklist

  • [ ] DCO (Developer Certificate of Origin) signed in all commits
  • [ ] npm test passes on your machine
  • [ ] New tests added or existing tests modified to cover all changes
  • [x] Code conforms with the style guide
  • [ ] API Documentation in code was updated
  • [ ] Documentation in /docs/site was updated
  • [ ] Affected artifact templates in packages/cli were updated
  • [ ] Affected example projects in examples/* were updated

👉 Check out how to submit a PR 👈

yeshamavani avatar May 08 '23 10:05 yeshamavani

Added the once that we commonly use and I am aware that has been missing in the list.

yeshamavani avatar May 08 '23 10:05 yeshamavani

Pull Request Test Coverage Report for Build 4944770317

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 54.585%

Totals Coverage Status
Change from base Build 4929432659: 0.0%
Covered Lines: 9541
Relevant Lines: 12411

💛 - Coveralls

coveralls avatar May 08 '23 10:05 coveralls

@raymondfeng, I cannot recall the original intent of the lb4 update command. If we're going in the direction of this PR, it will turn out to be adding all the LB supported connectors in the config. Then it got me thinking whether there's a need for this command, as it won't update any dependencies that users add on top.

Either way, since db-migrate-* is not part of LoopBack, I wouldn't be adding those to the template.

dhmlau avatar May 09 '23 19:05 dhmlau

@dhmlau I have removed db-migrate-* packages from the template

yeshamavani avatar May 11 '23 06:05 yeshamavani