Skip to content

Conversation

@nirnejak
Copy link

@nirnejak nirnejak commented Jan 3, 2026

What does this PR do?

Adds config for Node version management using Volta alongside nvm

Mandatory Tasks (DO NOT REMOVE)

  • I have self-reviewed the code (A decent size PR without self-review might be rejected).
  • I confirm automated tests are in place that prove my fix is effective or that my feature works.

How should this be tested?

Setup

  1. Install Volta: https://volta.sh/
  2. Open the project root in your terminal
  3. Run any npm script, for example:
  npm install
  npm run dev

Verification

  1. Ensure the correct Node version is selected by Volta
  2. The script runs successfully without version-related errors

Volta will automatically install and use the Node version configured for this project if it’s not already available.

@vercel
Copy link

vercel bot commented Jan 3, 2026

@nirnejak is attempting to deploy a commit to the Carbon Team on Vercel.

A member of the Team first needs to authorize it.

@nirnejak
Copy link
Author

nirnejak commented Jan 3, 2026

Started working on this without approval since it's a very small task

@barbinbrad
Copy link
Contributor

barbinbrad commented Jan 3, 2026

Is there anything that needs done in vercel or AWS for this? What's the benefit of volta?

I haven't used volta before, but my general strategy so far with dev tooling has been to keep things as simple as possible for guys to get started (using npm instead of pnpm or bun for example). At very least, I'd want to update the README.md to make it very explicit on what's required.

@nirnejak
Copy link
Author

nirnejak commented Jan 5, 2026

Hey @barbinbrad

  • No changes are required in Vercel or AWS. Volta is only for local development and doesn’t affect deployments.
  • The Volta config is optional (mainly for people who prefer it over nvm), so the existing setup stays the same.
  • For maintenance, whenever the Node version is updated in .nvmrc, it would just need to be reflected in the Volta config as well.

Happy to add a short note to the README if you think that’d be helpful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Volta for Node Version Management

2 participants