Skip to content

Commit 0fe9beb

Browse files
authored
chore(*): build plugins, cjs compat (#9416)
1 parent 521ba2c commit 0fe9beb

File tree

162 files changed

+6142
-7387
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

162 files changed

+6142
-7387
lines changed

.changeset/humble-dragons-kick.md

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
---
2+
"@langchain/azure-dynamic-sessions": patch
3+
"@langchain/google-cloud-sql-pg": patch
4+
"@langchain/google-vertexai-web": patch
5+
"@langchain/google-vertexai": patch
6+
"@langchain/azure-cosmosdb": patch
7+
"@langchain/google-webauth": patch
8+
"@langchain/baidu-qianfan": patch
9+
"@langchain/google-common": patch
10+
"@langchain/mixedbread-ai": patch
11+
"@langchain/google-gauth": patch
12+
"@langchain/google-genai": patch
13+
"@langchain/cloudflare": patch
14+
"@langchain/anthropic": patch
15+
"@langchain/mistralai": patch
16+
"@langchain/cerebras": patch
17+
"@langchain/deepseek": patch
18+
"@langchain/pinecone": patch
19+
"@langchain/weaviate": patch
20+
"@langchain/mongodb": patch
21+
"@langchain/cohere": patch
22+
"@langchain/ollama": patch
23+
"@langchain/openai": patch
24+
"@langchain/qdrant": patch
25+
"@langchain/tavily": patch
26+
"@langchain/yandex": patch
27+
"@langchain/nomic": patch
28+
"@langchain/redis": patch
29+
"@langchain/standard-tests": patch
30+
"@langchain/groq": patch
31+
"@langchain/textsplitters": patch
32+
"@langchain/aws": patch
33+
"@langchain/exa": patch
34+
"@langchain/xai": patch
35+
"@langchain/mcp-adapters": patch
36+
"@langchain/community": patch
37+
"@langchain/classic": patch
38+
"@langchain/core": patch
39+
"@langchain/eslint": patch
40+
"@langchain/build": patch
41+
"langchain": patch
42+
---
43+
44+
fix 'moduleResultion: "node"' compatibility

.github/workflows/platform-compatibility.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
with:
3636
node-version-file: ".nvmrc"
3737
cache: "pnpm"
38-
- name: Install dependencies for build and core workspaces
39-
run: pnpm install --filter @langchain/build --filter @langchain/core
38+
- name: Install dependencies
39+
run: pnpm install
4040
- name: Build `@langchain/core`
41-
run: pnpm --filter @langchain/core build
41+
run: pnpm build --filter @langchain/core

.gitignore

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,15 @@ credentials.json
4141
bun.lock
4242
coverage/
4343

44+
**/*.cjs
45+
**/*.js
46+
**/*.d.ts
47+
**/*.d.cts
48+
!**/src/**/*.cjs
49+
!**/src/**/*.js
50+
!**/src/**/*.d.ts
51+
!**/src/**/*.d.cts
52+
4453
examples/src/createAgent/*.png
4554
# LangGraph API
4655
.langgraph_api

internal/build/.prettierrc

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"$schema": "https://json.schemastore.org/prettierrc",
3+
"printWidth": 80,
4+
"tabWidth": 2,
5+
"useTabs": false,
6+
"semi": true,
7+
"singleQuote": false,
8+
"quoteProps": "as-needed",
9+
"jsxSingleQuote": false,
10+
"trailingComma": "es5",
11+
"bracketSpacing": true,
12+
"arrowParens": "always",
13+
"requirePragma": false,
14+
"insertPragma": false,
15+
"proseWrap": "preserve",
16+
"htmlWhitespaceSensitivity": "css",
17+
"vueIndentScriptAndStyle": false,
18+
"endOfLine": "lf"
19+
}

0 commit comments

Comments
 (0)