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

[Bug] The sample index file doesn't know about subdirectories

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

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

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
45/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
typescript
領域
cli, tooling

調査の方向性

list-of-samples.json を生成するスクリプトと、@temporalio/create のサンプル選択パスを、message-passing/execute-update の例を追跡対象として調べることから始めます。ネストされたサンプルディレクトリがどのようにインデックス化され、インスタンス化されるかを確認してください。インデックスから使用可能なネストされたサンプルが公開され、npx @temporalio/create でそれを選択してプロジェクトを作成できれば完了です。

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

説明

bug

Some of our samples are grouped in subdirectories, e.g. message-passing/execute-update. However, the script that refreshes the list-of-samples.json file doesn't know about that structure, do the index file only contains the parent directory, e.g. message-passing.

Note that there might also be a related issue with the @temporalio/create command in instantiating a local repo from such a sample.

Repro

samples-typescript(pnpm) npx @temporalio/create@latest my-project
[...]
✔ Which sample would you like to use? › message-passing
Could not locate a sample named "message-passing". It could be due to the following:
 1. Your spelling of sample "message-passing" might be incorrect.
 2. You might not be connected to the internet.

Available samples:

[...]
message-passing
[...]
主要言語
TypeScript
スター
469
フォーク
150
平均マージ
2日 16時間
マージ済み PR(30日)
3

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

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

temporalio/samples-typescript のほかの issue

temporalio/samples-typescript の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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