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

[Discussion] Upgrading minor versions for generated apps

Open TimothyRHuertas opened this issue 7 years ago • 2 comments

Description / Steps to reproduce / Feature proposal

The package.json produced by @loopback/cli 1.5.1 includes newer dependencies than the one generated by 1.4.0. Is there a recommended way to update existing projects generated with 1.4 to be contain updated dependencies (package.json) using the 1.5.1 cli?

Current Behavior

I can't find a migration/upgrade guide.

Expected Behavior

There is a guide.

See Reporting Issues for more tips on writing good issues

TimothyRHuertas avatar Jan 17 '19 16:01 TimothyRHuertas

Hi @TimothyRHuertas, we are scaffolding the applications using ^ operator to specify dependency versions, therefore no migration should be needed. Just run npm update in your project, it will update all your dependencies to the latest compatible version.

Can you suggest us how to improve our docs to make this information easier to discover?

bajtos avatar Jan 24 '19 07:01 bajtos

Closing as resolved by https://github.com/strongloop/loopback-next/pull/4080, which added lb4 update command to check/update project dependencies

bajtos avatar Mar 09 '20 10:03 bajtos