Skip to content

Commit 4f8f4d0

Browse files
docs(readme): document esrun types --install
Add the TypeScript-types setup command to the Common tasks table so it's in the canonical README — and therefore flows into the generated llms-full.txt, which previously had no mention of it.
1 parent bb0b6e4 commit 4f8f4d0

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ supported yet.
6868
| Build everything (lib + CLI) | `cargo build-all` |
6969
| Install `esrun` on `PATH` | `cargo install --path crates/runtime-cli` |
7070
| Run a JS file | `esrun <file.js>` (or `./target/release/esrun <file.js>`) |
71+
| Set up editor TypeScript types | `esrun types --install` (writes the `runtime:*` defs into `node_modules/@opentf/esrun` and wires `tsconfig.json`; `esrun types` alone prints them to stdout) |
7172
| Run tests | `cargo test --workspace` |
7273
| Lints + format check | `cargo clippy --workspace --all-targets -- -D warnings` · `cargo fmt --check` |
7374
| Supply-chain gates | `cargo deny check` · `cargo audit` |

0 commit comments

Comments
 (0)