GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — vp env pin: update an existing .nvmrc instead of adding devEngines.runtime · Issue #2675 · voidzero-dev/vite-plus Closed DescriptionDescriptionWhen a project's only Node.js version declaration is an existing This turns one Node version declaration into two conflicting declarations. Vite+ immediately switches to the new The requested behavior is to retain the project's existing version-management format when changing its pin. Implementation PR: #2676. ReproductionReproduced with the published repro_dir="$(mktemp -d)" cd "$repro_dir" cat > package.json <<'JSON' { "name": "vp-pin-nvmrc-repro", "private": true } JSON printf '24.20.0\n' > .nvmrc vp env current --json vp env pin lts --no-install cat .nvmrc cat package.json vp env current --json
Before pinning, { "node": { "version": "24.20.0", "source": ".nvmrc" } }The pin command reports:
{
"name": "vp-pin-nvmrc-repro",
"private": true,
"devEngines": {
"runtime": {
"name": "node",
"version": "24.21.0",
"onFail": "download"
}
}
}After pinning, { "node": { "version": "24.21.0", "source": "devEngines.runtime" } }The two JSON outputs above are excerpts containing the relevant fields. Suggested solutionWhen
This would extend the existing compatibility-first behavior for AlternativeManually editing Additional context
Validations
Reacted by MK (fengmk2) Activity
MetadataMetadataAssigneesLabelsTypeFieldsPriority None yet ProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |