Skip to content

Detect package manager for hint "...Run npm i -g @junobuild/cli to update it." #427

@peterpeterparker

Description

@peterpeterparker

Motivation

Your CLI (v0.12.2) is behind the latest version (v0.13.0) available. Run npm i -g @junobuild/cli to update it.

In version.ts we print out the hint npm i -g @junobuild/cli which is fine if you use npm but, not for yarn or pnpm.

Since the CLI can detect the package manager const pm = detectPackageManager(); we should improve the hint by providing the approriate command accordingly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions