-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(create-langchain-integration): Update integration template (#7458)
- Loading branch information
1 parent
4d82ce9
commit f7846d5
Showing
2 changed files
with
38 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{ | ||
"name": "langchain-integration", | ||
"version": "0.0.0", | ||
"description": "Sample integration for LangChain.js", | ||
"description": "Sample INTEGRATION_SHORT_NAME integration for LangChain.js", | ||
"type": "module", | ||
"engines": { | ||
"node": ">=18" | ||
|
@@ -12,7 +12,7 @@ | |
"type": "git", | ||
"url": "[email protected]:langchain-ai/langchainjs.git" | ||
}, | ||
"homepage": "https://github.com/langchain-ai/langchainjs/tree/main/libs/langchain-INTEGRATION_NAME/", | ||
"homepage": "https://github.com/langchain-ai/langchainjs/tree/main/libs/INTEGRATION_NAME/", | ||
"scripts": { | ||
"build": "yarn turbo:command build:internal --filter=@langchain/INTEGRATION_NAME", | ||
"build:internal": "yarn lc_build --create-entrypoints --pre --tree-shaking", | ||
|
@@ -31,13 +31,14 @@ | |
}, | ||
"author": "LangChain", | ||
"license": "MIT", | ||
"dependencies": { | ||
"peerDependencies": { | ||
"@langchain/core": ">=0.3.0 <0.4.0" | ||
}, | ||
"devDependencies": { | ||
"@jest/globals": "^29.5.0", | ||
"@swc/core": "^1.3.90", | ||
"@swc/jest": "^0.2.29", | ||
"@langchain/core": "workspace:*", | ||
"@langchain/scripts": ">=0.1.0 <0.2.0", | ||
"@tsconfig/recommended": "^1.0.3", | ||
"@typescript-eslint/eslint-plugin": "^6.12.0", | ||
|
@@ -63,7 +64,11 @@ | |
}, | ||
"exports": { | ||
".": { | ||
"types": "./index.d.ts", | ||
"types": { | ||
"import": "./index.d.ts", | ||
"require": "./index.d.cts", | ||
"default": "./index.d.ts" | ||
}, | ||
"import": "./index.js", | ||
"require": "./index.cjs" | ||
}, | ||
|
@@ -73,6 +78,7 @@ | |
"dist/", | ||
"index.cjs", | ||
"index.js", | ||
"index.d.ts" | ||
"index.d.ts", | ||
"index.d.cts" | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters