-
Notifications
You must be signed in to change notification settings - Fork 2
Closed
Copy link
Labels
enhancementNew feature or requestNew feature or request
Description
Coming in 2.8.0
This feature is going to entail a few things:
Don't end thread after summary
Instead of process.exit(1)
ing at the end, give the user options to press p
, m
, or a
for running the outdated patch
, minor
, or all
dependencies update command.
Identify package managers
We'll need to identify whether their package manager is npm
, pnpm
, yarn
, or bun
.
not sure if there are others we should support? - if so, raise a separate issue please.
Use:
- Use
package-lock.json
fornpm
pnpm-lock.yaml
forpnpm
yarn.lock
foryarn
bun.lockb
forbun
Config Options
In config options (or cli args), provide the opportunity to override the identified package manager.
Also give the flag to exitOnSummary
(or think of better name for this flag) so that users can configure the ability to opt out of this feature.
Run Commands
- For
npm
, usenpm install <package-name>@<version-number>
- For
pnpm
, usepnpm add <package-name>@<version-number>
- For
yarn
, useyarn add <package-name>@<version-number>
- For
bun
, usebun add <package-name>@<version-number>
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request