patternfly / patternfly/patternfly-react

Spike: investigate removing src from pf npm packages

オープン
#10,868 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

PF Team Pinned Spike
主要言語
TypeScript
スター
862
フォーク
392
平均マージ
4日 8時間
マージ済み PR(30日)
9

説明

currently, the various packages published to npm pf-react all include the src directories which bloat the published pkg size to 6.05 MB https://www.npmjs.com/package/@patternfly/react-core?activeTab=code

it also does create scenarios where products could be importing from our src directories, then their own custom typescript configurations will result in compiled typescript different than the PF distributions. (and possibly build errors for the product)

Would it be possible to remove the src from the pf packages without requiring further breaking changes from the pf packages? If so, this could be possibly framed as a bug fix. That's the goal of this spike.


Jira Issue: PF-26

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

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

調査の方向性

まず、pf-react パッケージがどのように公開されているかを調査し、npm の内容、特に含まれている src ディレクトリを比較します。src を削除すると既存の import やカスタム TypeScript 設定に影響するかを確認します。実現可能性、互換性リスク、必要なパッケージ変更を文書化できれば完了です。

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

評価

技術スタック
react, typescript
領域
build-system, release
issue の種類
リファクタリング
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

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

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