[Bug] The sample index file doesn't know about subdirectories
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 45/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- typescript
調査の方向性
list-of-samples.json を生成するスクリプトと、@temporalio/create のサンプル選択パスを、message-passing/execute-update の例を追跡対象として調べることから始めます。ネストされたサンプルディレクトリがどのようにインデックス化され、インスタンス化されるかを確認してください。インデックスから使用可能なネストされたサンプルが公開され、npx @temporalio/create でそれを選択してプロジェクトを作成できれば完了です。
索引モデルが issue の本文から書いたものです。
説明
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 を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
temporalio/samples-typescript のほかの issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 68/100
temporalio/samples-typescript#418 ·
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 45/100
temporalio/samples-typescript#433 ·
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 48/100
temporalio/samples-typescript#425 ·
-
bug
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
temporalio/samples-typescript#419 ·
-
bug
難易度 3/5 1〜2日 初心者へのやさしさ 38/100
temporalio/samples-typescript#411 ·
temporalio/samples-typescript の issue をすべて見る
似ている issue
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
b310-digital/teammapper#1515 ·
メンテナーはふだん 1 日以内に返信
-
onenote
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
obsidianmd/obsidian-importer#689 ·
-
In a half-screen window, the title bar cuts the workspace and version names until they can't be readオープンbug launch local use macOS Windows
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
[Integration]: eRPCオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
ava-labs/builders-hub#4826 ·
メンテナーはふだん 1 日以内に返信
-
记忆分析的默认模型显示与实际使用不一致オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信