codesandbox / codesandbox/codesandbox-client
Feature Request: node alias support (latest, lts, lts/gallium, etc.)
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 13.6k
- Forks
- 2.4k
- Avg merge
- 6d 19h
- Merged PRs (30d)
- 2
Description
🌈 Feature: node alias support
Node alias support would allow specifying the node version used by a container as follows:
latest: Latest versionltsorlts/*: Latest LTS versionlts/-1,lts/-2, etc.: Latest LTS major version - [value] (e.g., 16.x.x => 15.x.x)lts/erbium,erbium: Named LTS version
Example sandbox.config.js:
{
"template": "node",
"node": "lts"
}
Thanks!
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing how the node value from sandbox.config.js is resolved for the node template. Define how latest, lts, numeric LTS offsets, and named LTS releases map to usable versions, then verify each alias against the requested examples and the Node.js release data.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, node.js
- Domain
- devtools
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100