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
[...]
Some of our samples are grouped in subdirectories, e.g.
message-passing/execute-update. However, the script that refreshes thelist-of-samples.jsonfile 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/createcommand in instantiating a local repo from such a sample.Repro