`@sentry/node` 11 hard-depends on `@sentry/bundler-plugins`, shipping bundler tooling into server runtimes

オープン
#24,849 コメント 6 件 リアクション 3 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
55/100
issue の種類
リファクタリング
明瞭さ
おおむね明確
活発さ
活発
技術スタック
node.js, typescript

調査の方向性

Start with the @sentry/[email protected] dependency metadata and compare the main entry with the optional @sentry/node/vite, /rollup, /webpack, and /esbuild entry points. Check which packaging arrangement preserves those integrations without installing bundler tooling for main-entry users. Done means a main-only install no longer brings in @sentry/bundler-plugins or its transitive dependencies, while optional entry points and peer-dependency warnings remain correct.

索引モデルが issue の本文から書いたものです。

説明

Node.js

@sentry/[email protected] lists @sentry/bundler-plugins in dependencies, although only the optional @sentry/node/{vite,rollup,webpack,esbuild} entry points use it; the main entry never loads it. For apps that only use the main entry, every production install therefore gets bundler-plugins and its dependencies: the sentry CLI, a native oxc-parser binary, magic-string, dotenv. pnpm also links the optional rollup peer to whatever rollup the workspace has, which produces unmet peer rollup@">=3.2.0" warnings. Removing the package with an override has no effect on the SDK. Could it be an optional peer dependency, or live in a separate package?

主要言語
TypeScript
スター
8.8k
フォーク
1.9k
平均マージ
1日 8時間
マージ済み PR(30日)
744

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

getsentry/sentry-javascript のほかの issue

getsentry/sentry-javascript の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。