Migration pins lockfile-only package managers and can break CI
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 55/100
調査の方向性
Start at the vp migrate entry point and trace how a lockfile selects a package manager and writes packageManager or devEngines.packageManager; compare that behavior with existing declarations. Use the actions/setup-node and npm ci scenario to verify that lockfile-only projects remain unpinned with a warning, explicit declarations are preserved, and pinning remains separate in vp env pin.
索引モデルが issue の本文から書いたものです。
説明
Describe the bug
A project with only a lockfile has no exact package-manager set.
But vp migrate adds an exact devEngines.packageManager declaration.
This can break existing CI before Vite+ runs.
For example, actions/setup-node followed by npm ci may use the npm version bundled with Node, which can differ from the version pinned by the migration.
Ideas for a solution:
- Keep existing
packageManagerordevEngines.packageManagerdeclarations. - Leave projects without either declaration unpinned (but warn!)
- Use the package manager resolved from the lockfile only for migration capability checks.
- Keep explicit version pinning as a separate action (
vp env pin)
Reproduction
Steps to reproduce
No response
System Info
-
Used Package Manager
npm
Logs
-
Validations
- Read the Contributing Guidelines.
- Check that there isn't already an issue for the same bug.
- Confirm this is a Vite+ issue and not an upstream issue (Vite, Vitest, tsdown, Rolldown, or Oxc).
- The provided reproduction is a minimal reproducible example.
- 主要言語
- Rust
- スター
- 5.8k
- フォーク
- 267
- 平均マージ
- 21時間 16分
- マージ済み PR(30日)
- 147
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
voidzero-dev/vite-plus のほかの issue
-
pending triage
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
voidzero-dev/vite-plus#2801 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
voidzero-dev/vite-plus#2097 · コメント 10 件 · リアクション 2 件 ·
メンテナーはふだん 1 日以内に返信
-
vp check --no-lint still reports type-aware lint rules and ignores their disable comments対応中かも @camc314 が 1 日前に担当しました。 オープン
voidzero-dev/vite-plus#2830 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
vp run: task output forwarding aborts with EAGAIN when stdout turns non-blocking mid-run (follow-up to #2165)対応中かも @naokihaba が 2 日前に担当しました。 オープンbug
voidzero-dev/vite-plus#2824 · コメント 3 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
voidzero-dev/vite-plus#2811 · コメント 1 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
voidzero-dev/vite-plus の issue をすべて見る
似ている issue
-
area:casework bug criticality:p3 triage:needs-implementation
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
registrystack/registry-stack#1623 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
DioxusLabs/anyrender#98 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
leptos-rs/leptos#4885 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
longbridge/gpui-kit#3276 ·
メンテナーはふだん 1 日以内に返信