Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensuring global execution defaults to local if present #1107

Merged
merged 2 commits into from
Sep 23, 2021

Conversation

scalvert
Copy link
Contributor

If checkup is invoked as a global, we want to ensure that it's first using a locally installed version, and falls back to using a global if present.

eg.

Invoking checkup when checkup is installed locally:

checkup run .

Should use the local version of @checkup/cli.

Invoking checkup globally when checkup is installed locally:

checkup run .

Should use the local version of @checkup/cli.

Invoking checkup globally when checkup is not installed locally:

Either via npx:

npx @checkup/cli run .

Or via global install:

checkup run .

Should use the global version of @checkup/cli.

@scalvert scalvert added the enhancement New feature or request label Sep 23, 2021
@scalvert
Copy link
Contributor Author

Unsure why my lockfile isn't changed...

@scalvert scalvert merged commit 38b7641 into master Sep 23, 2021
@scalvert scalvert deleted the ensure-local-resolution branch September 23, 2021 22:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants