From 14181f9258c4cdb6ca1a7005379c194dc081632f Mon Sep 17 00:00:00 2001 From: bracesproul Date: Tue, 23 Jul 2024 16:28:03 -0700 Subject: [PATCH] cr --- libs/langchain-scripts/package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libs/langchain-scripts/package.json b/libs/langchain-scripts/package.json index 0bcae90d3870..da50ce131cca 100644 --- a/libs/langchain-scripts/package.json +++ b/libs/langchain-scripts/package.json @@ -19,7 +19,8 @@ }, "scripts": { "build": "yarn turbo:command build:internal --filter=@langchain/scripts", - "build:internal": "rm -rf ./build_new && tsc --project ./tsconfig.build.json && yarn build:generated", + "build:internal": "tsc --project ./tsconfig.build.json && yarn move:artifacts && yarn build:generated", + "move:artifacts": "mkdir -p ./dist && mv ./dist_build/* ./dist/", "build:generated": "node bin/build_v2.js --create-entrypoints --pre --tree-shaking", "build:turbo": "yarn turbo:command build --filter=@langchain/scripts", "lint:eslint": "NODE_OPTIONS=--max-old-space-size=4096 eslint --cache --ext .ts,.js src/",