[Chore] Simplify the generation of the type definition files
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 25/100
- issue の種類
- リファクタリング
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- javascript
- 領域
- build-system, tooling
調査の方向性
まず、参照されている flow-bundler が hermes リポジトリに移行され、スタンドアロンパッケージとしてリリースされているかを確認します。次に、その使用の可能性を、現在の flow-api-translator、連結スクリプト、フォルダー削除のビルド手順と比較します。生成された Flow および TypeScript の定義が、脆弱な連結プロセスなしでも正しいままであれば完了です。
索引モデルが issue の本文から書いたものです。
説明
React Strict DOM has a single file for Flow type definitions and a single file for TS type definitions.
The build step for this is fairly complex, however:
- We transform the entire folder of source files to individual
.js.flowand.d.tsfiles usingflow-api-translator. - We then use a script to concatenate all the type files into a single file
- We then delete the folder
The script that concatenates the types from all the files is brittle and can break if we accidentally use the same type name in different files.
We should be able to simplify this process by using this Rollup-like bundler that understands Flow syntax.
We will need to wait for this bundler to be migrated to the hermes repo and open-sourced as a standalone package.
- 主要言語
- JavaScript
- スター
- 3.6k
- フォーク
- 208
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
react/react-strict-dom のほかの issue
-
Outline styles aren't parsed in React Native対応中かも @hoangvvo が 148 日前に担当しました。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
react/react-strict-dom#467 · コメント 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
react/react-strict-dom#465 · コメント 2 件 ·
-
postcss plugin re-transforms every included file on each rebuild under Turbopack (minutes-long HMR in large projects)対応中かも @borisyankov が 17 日前に担当しました。 オープン
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
react/react-strict-dom#520 ·
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 35/100
react/react-strict-dom#505 · リアクション 2 件 ·
-
Button remains unclickable after disabled state changes対応中かも @MoOx が 131 日前に担当しました。 オープンbug
難易度 3/5 1〜2日 初心者へのやさしさ 62/100
react/react-strict-dom#491 · コメント 4 件 ·
react/react-strict-dom の issue をすべて見る
似ている issue
-
chore v2
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
modelcontextprotocol/servers#5115 ·
メンテナーはふだん 1 日以内に返信
-
beginner bug good first issue
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
philaconvalley/website#168 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
druxt/umami.demo.druxtjs.org#527 ·
メンテナーはふだん 9 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
NuSkooler/enigma-bbs#907 ·
メンテナーはふだん 1 日以内に返信
-
documentation good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100