mirror of
https://github.com/langchain-ai/langchainjs-mcp-adapters.git
synced 2026-07-01 12:27:48 -04:00
[PR #32] [MERGED] fix: build issues #55
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/langchain-ai/langchainjs-mcp-adapters/pull/32
Author: @benjamincburns
Created: 3/21/2025
Status: ✅ Merged
Merged: 3/21/2025
Merged by: @benjamincburns
Base:
main← Head:ben/build-fixes📝 Commits (2)
74ba222fix: add missing JSON export & import assertiona06cca8fix: convert to langchain build, adds cjs build📊 Changes
31 files changed (+10465 additions, -9353 deletions)
View changed files
➕
.eslintrc.cjs(+68 -0)📝
.github/workflows/main.yml(+8 -8)📝
.github/workflows/npm-publish.yml(+5 -5)📝
.github/workflows/pr-validation.yml(+7 -7)📝
.gitignore(+7 -54)➕
.prettierrc(+19 -0)➕
.yarn/install-state.gz(+0 -0)➕
.yarn/plugins/@yarnpkg/plugin-typescript.cjs(+9 -0)➕
.yarn/releases/yarn-3.5.1.cjs(+873 -0)➕
.yarnrc.yml(+7 -0)📝
__tests__/client.basic.test.ts(+223 -172)➖
eslint.config.mjs(+0 -71)📝
examples/config_langgraph_test.ts(+74 -49)📝
examples/filesystem_langgraph_example.ts(+58 -43)📝
examples/firecrawl_custom_config_example.ts(+30 -26)📝
examples/firecrawl_default_config_example.ts(+20 -19)📝
examples/firecrawl_enhanced_config_example.ts(+76 -51)📝
examples/firecrawl_mixed_loading_example.ts(+75 -47)📝
examples/firecrawl_multiple_servers_example.ts(+45 -34)📝
examples/langgraph_example.ts(+46 -35)...and 11 more files
📄 Description
Updates build pipeline to use the
@langchain/scriptsbuild util in order to actually publish a hybrid package. Also removes package.json import in favor of hard-coded package name (as that's unlikely to change).Note that the first change comes with substantial build pipeline differences, and switches the package manager to use yarn instead of NPM, as this is more aligned with how things are configured in other LangChain packages.
Fixes #30
Fixes #31
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.