Skip to content
This repository has been archived by the owner on Apr 24, 2020. It is now read-only.

[Enhancement] adds ...PROJECT_ONLY option to node_version.p9k #1219

Open
wants to merge 2 commits into
base: next
Choose a base branch
from

Conversation

ChrisBaker97
Copy link
Contributor

This is a port of @weilbith's #760, updated for the v0.7.0+ branch, with docs and tests added. It works identically to his description in the previous PR, and is described in README.md.

tl;dr: A new environment variable P9K_NODE_VERSION_PROJECT_ONLY defaults to false. When set to true, it will mute the node_version segment unless a package.json file is located in a search of the current directory or one of its ancestors, prior to reaching /.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant