Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Support incremental reruns

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

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

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
nodejs, typescript
領域
tooling

調査の方向性

まず、store、changes array、watched paths に対する既存の TypeScript の処理を追跡します。task API を定義し、task:start/task:end イベント、task 固有の無効化、およびジェネレーターの再実行にまたがるメモ化された結果を検証します。filesystem-cache オプションは、初期実装のスコープ外であることが明示されています。

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

説明

planned

Currently, jumpgen has a store object for preserving arbitrary data between runs. When combined with the changes array, you can manually determine which data in your store has been invalidated, allowing you to know which parts of your generator need to be rerun.

With a new API, we could make this less of a hassle.

  • Add task function that takes a name string and a callback.
  • When a task starts and ends, a "task:start" or "task:end" event is emitted with the task name.
  • Any paths watched from within a task's callback will only invalidate that task when changed.
  • When your generator reruns, some tasks may not rerun and instead will return a memoized result, if nothing they watched has changed.
  • Optionally, you can specify that a task's result should be stored in a filesystem cache, rather than kept in memory. (This feature won't exist in the initial implementation)
主要言語
TypeScript
スター
22
フォーク
1
PR マージ指標
30日以内にマージされた PR はありません

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

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

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

alloc/jumpgen のほかの issue

alloc/jumpgen の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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