Move root package.json pnpm settings into pnpm-workspace.yaml
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 72/100
- issue の種類
- リファクタリング
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- node.js, typescript
- 領域
- devtools
調査の方向性
pnpm の設定はルートの package.json にある pnpm ブロック(68〜94 行目)にあり、pnpm-workspace.yaml にはすでに allowBuilds、packageExtensions、peerDependencyRules があります。まず onlyBuiltDependencies と ignoredBuiltDependencies のリストを allowBuilds と比較し、その後 pnpm.overrides を overrides キーに移動してください。package.json から pnpm ブロックがなくなり、ワークスペースファイルにすべての設定があり、pnpm install --frozen-lockfile を実行しても pnpm-lock.yaml が変更されず pnpm 11 の警告も出なければ完了です。
索引モデルが issue の本文から書いたものです。
説明
Root package.json (package.json:68-94) still carries a "pnpm" configuration block (overrides, onlyBuiltDependencies, ignoredBuiltDependencies). When a host runs a pnpm 11 global binary (even when delegating to "packageManager": "[email protected]" via manage-package-manager-versions), every pnpm command prints:
[WARN] The "pnpm" field in package.json is no longer read by pnpm. The following keys were ignored: "pnpm.overrides", "pnpm.onlyBuiltDependencies". See https://pnpm.io/settings for the new home of each setting.
pnpm-workspace.yaml (pnpm-workspace.yaml:2-13, 84-109) already holds the workspace's other pnpm 10/11 settings (allowBuilds, packageExtensions, patchedDependencies, peerDependencyRules, minimumReleaseAge), which creates two problems:
- Duplicate, diverging build-script lists:
pnpm-workspace.yamldeclaresallowBuilds(withmsgpackr-extract: falseand without@tailwindcss/oxideoroxc-resolver), whilepackage.jsondeclarespnpm.onlyBuiltDependencies(including@tailwindcss/oxide,msgpackr-extract, andoxc-resolver) andpnpm.ignoredBuiltDependencies(@scarf/scarf). - Overrides live only in
package.json:pnpm.overrides(@tailwindcss/typography>postcss-selector-parser,@types/react,@types/react-dom,find-my-way@9,sharp,yaml@2) has not been moved tooverridesinpnpm-workspace.yaml, so upgradingpackageManagerto pnpm 11 (or running pnpm 11 directly) silently drops those overrides.
Suggested fix
Move pnpm.overrides into overrides in pnpm-workspace.yaml, reconcile pnpm.onlyBuiltDependencies / pnpm.ignoredBuiltDependencies into allowBuilds in pnpm-workspace.yaml, remove the "pnpm" key from root package.json, and verify pnpm install --frozen-lockfile leaves pnpm-lock.yaml intact.
- 主要言語
- TypeScript
- スター
- 119
- フォーク
- 19
- 平均マージ
- 1日 18時間
- マージ済み PR(30日)
- 60
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
DouglasNeuroInformatics/OpenDataCapture のほかの issue
-
A docs change can fail pnpm check, because outreach lint and gen:types both write .astro/ at once対応中かも @2389400626lh-ops が今日担当しました。 オープンArea: Infrastructure Area: Outreach Bug Difficulty: Low Good First Issue Priority: Low
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
DouglasNeuroInformatics/OpenDataCapture#1956 ·
メンテナーはふだん 1 日以内に返信
-
apps/web preview overwrites newly built dist/index.html with stale dist/index.html.bak across buildsオープンArea: Infrastructure Area: Web Bug Difficulty: Low Priority: Medium
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
DouglasNeuroInformatics/OpenDataCapture#1938 ·
メンテナーはふだん 1 日以内に返信
-
Area: API Bug Difficulty: Low Priority: Low
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
DouglasNeuroInformatics/OpenDataCapture#1937 ·
メンテナーはふだん 1 日以内に返信
-
Area: Infrastructure Bug Difficulty: Low Priority: Medium Security
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
DouglasNeuroInformatics/OpenDataCapture#1916 ·
メンテナーはふだん 1 日以内に返信
-
Area: Infrastructure Chore Difficulty: Low Priority: Medium
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
DouglasNeuroInformatics/OpenDataCapture#1835 ·
メンテナーはふだん 1 日以内に返信
DouglasNeuroInformatics/OpenDataCapture の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
super-productivity/super-productivity#12128 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
メンテナーはふだん 1 日以内に返信
-
`getClientCredentialsToken()` sends `scopes` (comma-joined) instead of the OAuth `scope` parameterオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
-
難易度 1/5 1〜3時間 初心者へのやさしさ 72/100
justyns/silverbullet-ai#199 ·
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
spartan-ng/spartan#1931 ·
メンテナーはふだん 2 日以内に返信