@langchain/community
v0.0.4lint
NODE_OPTIONS=--max-old-space-size=4096 eslint src && dpdm --exit-code circular:1 --no-warning --no-tree src/*.ts src/**/*.ts
test
yarn run build:deps && NODE_OPTIONS=--experimental-vm-modules jest --testPathIgnorePatterns=\.int\.test.ts --testTimeout 30000 --maxWorkers=50%
build
yarn run build:deps && yarn clean && yarn build:esm && yarn build:cjs && yarn build:scripts
clean
rm -rf dist/ && NODE_OPTIONS=--max-old-space-size=4096 node scripts/create-entrypoints.js pre
format
prettier --write "src"
prepack
yarn build
release
release-it --only-version --config .release-it.json
lint:fix
yarn lint --fix
build:cjs
NODE_OPTIONS=--max-old-space-size=4096 tsc --outDir dist-cjs/ -p tsconfig.cjs.json && node scripts/move-cjs-to-dist.js && rm -rf dist-cjs
build:esm
NODE_OPTIONS=--max-old-space-size=4096 tsc --outDir dist/ && rm -rf dist/tests dist/**/tests
build:deps
yarn run turbo:command build --filter=@langchain/core --filter=@langchain/anthropic --filter=@langchain/openai --concurrency=1
test:watch
yarn run build:deps && NODE_OPTIONS=--experimental-vm-modules jest --watch --testPathIgnorePatterns=\.int\.test.ts
build:watch
node scripts/create-entrypoints.js && tsc --outDir dist/ --watch
test:single
yarn run build:deps && NODE_OPTIONS=--experimental-vm-modules yarn run jest --config jest.config.cjs --testTimeout 100000
format:check
prettier --check "src"
build:scripts
node scripts/create-entrypoints.js && node scripts/check-tree-shaking.js
test:integration
NODE_OPTIONS=--experimental-vm-modules jest --testPathPattern=\.int\.test.ts --testTimeout 100000 --maxWorkers=50%
npm i @langchain/[email protected]
Metadata
- MIT
- >=18
- LangChain
- released 12/13/2023