cloudflare / cloudflare/templates
🐛 BUG: typo in "typegen" script in package.json
- Dominant language
- TypeScript
- Stars
- 2.1k
- Forks
- 1k
- Avg merge
- 17h 44m
- Merged PRs (30d)
- 10
Description
### Which template does this pertain to?
react-router-starter-template
### What versions are you using?
4.7.0 [Wrangler], 22.14.0 [Node]
### What operating system and version are you using?
Mac Sequoia 15.3.2
### Please provide a link to a minimal reproduction (optional)
_No response_
### Describe the Bug
## Description
The default package.json script in the template seems to have a typo in the`typegen` script.
current
```json
"typegen": "wrangler types && react-router-typegen"
```
Expected:
```json
"typegen": "wrangler types && react-router typegen"
```
The command react-router-typegen does not exist, and running npm run typegen fails with a "command not found" error.
It should be react-router typegen, matching the CLI usage of the react-router package.
### Please provide any relevant error logs
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.