forked from langchain-ai/langchainjs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
all[minor]: Replace all LC package scripts with
@langchain/scripts
(l…
…angchain-ai#4092) * scripts package * added dep omit from import map arg * test exports for lc * format * revert tsconfig.json change * prettierrc file * updated langchain scripts to use scripts package * format * fixes * updated other packages * update turbo build commands * format * updated core scripts * gitignore update' * update community * cr * cr * update pure * chore: lint files * prefix node modules w/ node: * one more node: prefix * move type * cr * try something * try something * try something * try something * try something * modify script * modify script * modify script * test something * cr * revert and use version for scripts pkg * cr * cr * cr * cr * chore: lint files * chore: lint files * use lc config.js file for scripts * chore: lint files * update' * bump * drop scripts from format * update exa * cr * pull in main entrypoints * chore: lint files * fix build * fix relative path issue * fix again * udate docs
- Loading branch information
1 parent
ec9a447
commit 7a82e91
Showing
108 changed files
with
1,714 additions
and
5,857 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 |
---|---|---|
|
@@ -41,4 +41,5 @@ tmp/ | |
langchain/api_refs_docs_build/dist/**/* | ||
|
||
.docusaurus/ | ||
docs/build/ | ||
docs/build/ | ||
docs/api_refs/typedoc.json |
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
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 |
---|---|---|
|
@@ -39,4 +39,3 @@ next-env.d.ts | |
/public/* | ||
/langchain | ||
/langchain-core | ||
typedoc.json |
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
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
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
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
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 |
---|---|---|
@@ -0,0 +1,65 @@ | ||
import { resolve, dirname } from "node:path"; | ||
import { fileURLToPath } from "node:url"; | ||
|
||
/** | ||
* @param {string} relativePath | ||
* @returns {string} | ||
*/ | ||
function abs(relativePath) { | ||
return resolve(dirname(fileURLToPath(import.meta.url)), relativePath); | ||
} | ||
|
||
export const config = { | ||
internals: [/node\:/, /js-tiktoken/], | ||
entrypoints: { | ||
agents: "agents", | ||
caches: "caches", | ||
"callbacks/base": "callbacks/base", | ||
"callbacks/manager": "callbacks/manager", | ||
"callbacks/promises": "callbacks/promises", | ||
chat_history: "chat_history", | ||
documents: "documents/index", | ||
embeddings: "embeddings", | ||
example_selectors: "example_selectors/index", | ||
"language_models/base": "language_models/base", | ||
"language_models/chat_models": "language_models/chat_models", | ||
"language_models/llms": "language_models/llms", | ||
load: "load/index", | ||
"load/serializable": "load/serializable", | ||
memory: "memory", | ||
messages: "messages/index", | ||
output_parsers: "output_parsers/index", | ||
outputs: "outputs", | ||
prompts: "prompts/index", | ||
prompt_values: "prompt_values", | ||
runnables: "runnables/index", | ||
retrievers: "retrievers", | ||
stores: "stores", | ||
tools: "tools", | ||
"tracers/base": "tracers/base", | ||
"tracers/console": "tracers/console", | ||
"tracers/initialize": "tracers/initialize", | ||
"tracers/log_stream": "tracers/log_stream", | ||
"tracers/run_collector": "tracers/run_collector", | ||
"tracers/tracer_langchain": "tracers/tracer_langchain", | ||
"tracers/tracer_langchain_v1": "tracers/tracer_langchain_v1", | ||
"utils/async_caller": "utils/async_caller", | ||
"utils/chunk_array": "utils/chunk_array", | ||
"utils/env": "utils/env", | ||
"utils/function_calling": "utils/function_calling", | ||
"utils/hash": "utils/hash", | ||
"utils/json_patch": "utils/json_patch", | ||
"utils/json_schema": "utils/json_schema", | ||
"utils/math": "utils/math", | ||
"utils/stream": "utils/stream", | ||
"utils/testing": "utils/testing/index", | ||
"utils/tiktoken": "utils/tiktoken", | ||
"utils/types": "utils/types", | ||
vectorstores: "vectorstores", | ||
}, | ||
tsConfigPath: resolve("./tsconfig.json"), | ||
packageSuffix: "core", | ||
cjsSource: "./dist-cjs", | ||
cjsDestination: "./dist", | ||
abs, | ||
} |
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
Oops, something went wrong.