From 56194b8084a08447dfb6ca5bf537289cd36022c4 Mon Sep 17 00:00:00 2001 From: Manav Bokinala <30819652+mbokinala@users.noreply.github.com> Date: Tue, 26 Nov 2024 08:34:46 -0800 Subject: [PATCH] [Docs] Update TS installation docs to use `pnpm exec` instead of deprecated `pnpx` (#1144) [`pnpx` has been deprecated](https://github.com/pnpm/pnpm/pull/3652) in favor of `pnpm exec` and `pnpm dlx`. This PR modifies the installation docs for Typescript / pnpm to use `pnpm exec` instead of `pnpx`. `exec` is favored over `dlx` in this instance since the `baml-cli` command is installed in the local `node_modules/.bin`. ---- > [!IMPORTANT] > Update TypeScript installation docs to use `pnpm exec` instead of deprecated `pnpx`. > > - **Documentation**: > - Update `typescript.mdx` to use `pnpm exec baml-cli init` instead of deprecated `pnpx baml-cli init`. > > This description was created by [Ellipsis](https://www.ellipsis.dev?ref=BoundaryML%2Fbaml&utm_source=github&utm_medium=referral) for 41c0fb9a7cb1d9862e8a4fd207789fc5bd23b805. It will automatically update as commits are pushed. Co-authored-by: hellovai --- fern/01-guide/02-languages/typescript.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fern/01-guide/02-languages/typescript.mdx b/fern/01-guide/02-languages/typescript.mdx index 2890c741d..2be226790 100644 --- a/fern/01-guide/02-languages/typescript.mdx +++ b/fern/01-guide/02-languages/typescript.mdx @@ -38,7 +38,7 @@ To set up BAML with Typescript do the following: ``` ```bash pnpm - pnpx baml-cli init + pnpm exec baml-cli init ``` ```bash yarn @@ -120,4 +120,4 @@ To set up BAML with Typescript do the following: ``` - \ No newline at end of file +