Commit aaf8a79
fix(cli-generator): add @fern-api/rust-sdk#dist:cli to turbo dependency graph (#16304)
The cli-generator's build.mjs copies the rust-sdk dist/ into
dist/rust-sdk-dist/ for the Docker image, but the turbo.jsonc only
listed @fern-api/rust-model#dist:cli as a dependency. This meant the
rust-sdk dist was never built before the cli-generator's dist:cli ran,
causing the copy to silently fail (try/catch in build.mjs) and the
Docker image to ship without rust-sdk-dist/cli.cjs.
At runtime, generateEmbeddedSdk's resolveRustSdkCli() then throws
'Could not resolve the @fern-api/rust-sdk CLI' since neither the
bundled path nor the workspace resolution finds the entry point.
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>1 parent 7eedd81 commit aaf8a79
2 files changed
Lines changed: 8 additions & 3 deletions
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | | - | |
8 | | - | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
0 commit comments