Skip to content

Commit

Permalink
Remove extra entrypoint (langchain-ai#1220)
Browse files Browse the repository at this point in the history
  • Loading branch information
nfcampos authored May 11, 2023
1 parent cae013b commit 0df16ed
Show file tree
Hide file tree
Showing 11 changed files with 2 additions and 21 deletions.
2 changes: 1 addition & 1 deletion examples/src/client/tracing_datasets.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* eslint-disable no-process-env */
import { ChatOpenAI } from "langchain/chat_models/openai";
import { LangChainPlusClient, Dataset } from "langchain/client/langchainplus";
import { LangChainPlusClient, Dataset } from "langchain/client";
import { SerpAPI } from "langchain/tools";
import { Calculator } from "langchain/tools/calculator";
import { initializeAgentExecutorWithOptions } from "langchain/agents";
Expand Down
3 changes: 0 additions & 3 deletions langchain/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -280,9 +280,6 @@ experimental/plan_and_execute.d.ts
client.cjs
client.js
client.d.ts
client/langchainplus.cjs
client/langchainplus.js
client/langchainplus.d.ts
index.cjs
index.js
index.d.ts
8 changes: 0 additions & 8 deletions langchain/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -292,9 +292,6 @@
"client.cjs",
"client.js",
"client.d.ts",
"client/langchainplus.cjs",
"client/langchainplus.js",
"client/langchainplus.d.ts",
"index.cjs",
"index.js",
"index.d.ts"
Expand Down Expand Up @@ -1035,11 +1032,6 @@
"import": "./client.js",
"require": "./client.cjs"
},
"./client/langchainplus": {
"types": "./client/langchainplus.d.ts",
"import": "./client/langchainplus.js",
"require": "./client/langchainplus.cjs"
},
"./package.json": "./package.json"
}
}
1 change: 0 additions & 1 deletion langchain/scripts/create-entrypoints.js
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,6 @@ const entrypoints = {
"experimental/babyagi": "experimental/babyagi/index",
"experimental/plan_and_execute": "experimental/plan_and_execute/index",
client: "client/index",
"client/langchainplus": "client/langchainplus",
};

// Entrypoints in this list will
Expand Down
3 changes: 1 addition & 2 deletions langchain/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,7 @@
"src/experimental/autogpt/index.ts",
"src/experimental/babyagi/index.ts",
"src/experimental/plan_and_execute/index.ts",
"src/client/index.ts",
"src/client/langchainplus.ts"
"src/client/index.ts"
],
"sort": [
"kind",
Expand Down
1 change: 0 additions & 1 deletion test-exports-cf/src/entrypoints.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,3 @@ export * from "langchain/experimental/autogpt";
export * from "langchain/experimental/babyagi";
export * from "langchain/experimental/plan_and_execute";
export * from "langchain/client";
export * from "langchain/client/langchainplus";
1 change: 0 additions & 1 deletion test-exports-cjs/src/entrypoints.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,3 @@ const experimental_autogpt = require("langchain/experimental/autogpt");
const experimental_babyagi = require("langchain/experimental/babyagi");
const experimental_plan_and_execute = require("langchain/experimental/plan_and_execute");
const client = require("langchain/client");
const client_langchainplus = require("langchain/client/langchainplus");
1 change: 0 additions & 1 deletion test-exports-cra/src/entrypoints.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,3 @@ export * from "langchain/experimental/autogpt";
export * from "langchain/experimental/babyagi";
export * from "langchain/experimental/plan_and_execute";
export * from "langchain/client";
export * from "langchain/client/langchainplus";
1 change: 0 additions & 1 deletion test-exports-esm/src/entrypoints.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,3 @@ import * as experimental_autogpt from "langchain/experimental/autogpt";
import * as experimental_babyagi from "langchain/experimental/babyagi";
import * as experimental_plan_and_execute from "langchain/experimental/plan_and_execute";
import * as client from "langchain/client";
import * as client_langchainplus from "langchain/client/langchainplus";
1 change: 0 additions & 1 deletion test-exports-vercel/src/entrypoints.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,3 @@ export * from "langchain/experimental/autogpt";
export * from "langchain/experimental/babyagi";
export * from "langchain/experimental/plan_and_execute";
export * from "langchain/client";
export * from "langchain/client/langchainplus";
1 change: 0 additions & 1 deletion test-exports-vite/src/entrypoints.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,3 @@ export * from "langchain/experimental/autogpt";
export * from "langchain/experimental/babyagi";
export * from "langchain/experimental/plan_and_execute";
export * from "langchain/client";
export * from "langchain/client/langchainplus";

0 comments on commit 0df16ed

Please sign in to comment.