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

Add nodeenv virtual environment support #495

Closed
wants to merge 1 commit into from

Conversation

Terseus
Copy link

@Terseus Terseus commented Dec 2, 2016

Nodeenv is a tool for Node.js equivalent to virtualenv for Python, it allow to create Node.js virtual environments.

This commit add support for showing the nodeenv virtual environment activated, if any.

Configuration:

  • LP_ENABLE_NODEENV activate (1) or deactivate (0) the feature; by default 1.
  • LP_COLOR_NODEENV set the virtual environment name color; by default LP_COLOR_VIRTUALENV (the setting for the Python virtual environment color).

@dolmen dolmen added dev env Data sources relating to development environments enhancement Feature request labels Dec 13, 2016
@dolmen
Copy link
Collaborator

dolmen commented Feb 10, 2017

I'm sorry but LiquidPrompt implementation is not flexible enough to allow to support any additional development environment variable without adding a runtime cost.

@Rycieos
Copy link
Collaborator

Rycieos commented Jan 28, 2021

Release Candidate v2.0.0-rc.1 is now out, which means that the rework is complete, which means the runtime cost of new features is greatly reduced! I would merge this, but first this has merge conflicts that need to be fixed.

If you need some guidance around the new architecture, see commit f35d9ac for a good example of the things you will need to change. And feel free to ask for help!

@Rycieos Rycieos linked an issue May 2, 2022 that may be closed by this pull request
Rycieos added a commit that referenced this pull request May 3, 2022
The nodeenv project is designed to work similar to Python's virtualenv,
so implementation is simple.

Co-authored-by: David Caro <terseus@gmail.com>

Resolves #298
Closes #495
Rycieos added a commit that referenced this pull request May 3, 2022
The nodeenv project is designed to work similar to Python's virtualenv,
so implementation is simple.

Co-authored-by: David Caro <terseus@gmail.com>

Resolves #298
Closes #495
@Rycieos Rycieos closed this in b308fe4 May 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dev env Data sources relating to development environments enhancement Feature request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

nodeenv support
3 participants