The source of the .cjs
files to move.
This lists all the entrypoints for the library. Each key corresponds to an
importable path, eg. import { AgentExecutor } from "langchain/agents"
.
The value is the path to the file in src/
that exports the entrypoint.
This is used to generate the exports
field in package.json.
Order is not important.
The absolute path to the tsconfig.json file.
Optional
deprecatedEntrypoints in this list will
Optional
deprecatedEndpoints that are deprecated due to redundancy. Will not appear in the import map.
Optional
extraExtra entries to add to the import map.
Optional
gitignorePaths to add to .gitignore
["node_modules", "dist", ".yarn"]
Optional
internalsOptional
packageThe suffix of the package. Eg. community
for @langchain/community
.
Used in the generated import map.
Optional
requiresEntrypoints in this list require an optional dependency to be installed. Therefore they are not tested in the generated test-exports-* packages.
Optional
shouldWhether or not to write to the test exports files. At the moment this only
applies to the langchain
package.
Generated using TypeDoc
The destination to move the
.cjs
files to.