Skip to content
Snippets Groups Projects
Unverified Commit 96eb5970 authored by Alex Yang's avatar Alex Yang Committed by GitHub
Browse files

fix: bundler issue default in default (#1653)

parent 04098d55
No related branches found
No related tags found
No related merge requests found
...@@ -24,10 +24,7 @@ ...@@ -24,10 +24,7 @@
"types": "./api/dist/index.d.ts", "types": "./api/dist/index.d.ts",
"default": "./api/dist/index.js" "default": "./api/dist/index.js"
}, },
"default": { "default": "./api/dist/index.js"
"types": "./api/dist/index.d.ts",
"default": "./api/dist/index.js"
}
}, },
"./reader": { "./reader": {
"require": { "require": {
...@@ -38,10 +35,7 @@ ...@@ -38,10 +35,7 @@
"types": "./reader/dist/index.d.ts", "types": "./reader/dist/index.d.ts",
"default": "./reader/dist/index.js" "default": "./reader/dist/index.js"
}, },
"default": { "default": "./reader/dist/index.js"
"types": "./reader/dist/index.d.ts",
"default": "./reader/dist/index.js"
}
}, },
".": { ".": {
"require": { "require": {
...@@ -52,10 +46,7 @@ ...@@ -52,10 +46,7 @@
"types": "./reader/dist/index.d.ts", "types": "./reader/dist/index.d.ts",
"default": "./reader/dist/index.js" "default": "./reader/dist/index.js"
}, },
"default": { "default": "./reader/dist/index.js"
"types": "./reader/dist/index.d.ts",
"default": "./reader/dist/index.js"
}
} }
}, },
"repository": { "repository": {
......
...@@ -13,10 +13,7 @@ ...@@ -13,10 +13,7 @@
"types": "./agent/dist/index.d.ts", "types": "./agent/dist/index.d.ts",
"default": "./agent/dist/index.js" "default": "./agent/dist/index.js"
}, },
"default": { "default": "./agent/dist/index.js"
"types": "./agent/dist/index.d.ts",
"default": "./agent/dist/index.js"
}
}, },
"./objects": { "./objects": {
"require": { "require": {
...@@ -27,10 +24,7 @@ ...@@ -27,10 +24,7 @@
"types": "./objects/dist/index.d.ts", "types": "./objects/dist/index.d.ts",
"default": "./objects/dist/index.js" "default": "./objects/dist/index.js"
}, },
"default": { "default": "./objects/dist/index.js"
"types": "./objects/dist/index.d.ts",
"default": "./objects/dist/index.js"
}
}, },
"./node-parser": { "./node-parser": {
"require": { "require": {
...@@ -41,10 +35,7 @@ ...@@ -41,10 +35,7 @@
"types": "./node-parser/dist/index.d.ts", "types": "./node-parser/dist/index.d.ts",
"default": "./node-parser/dist/index.js" "default": "./node-parser/dist/index.js"
}, },
"default": { "default": "./node-parser/dist/index.js"
"types": "./node-parser/dist/index.d.ts",
"default": "./node-parser/dist/index.js"
}
}, },
"./query-engine": { "./query-engine": {
"require": { "require": {
...@@ -55,10 +46,7 @@ ...@@ -55,10 +46,7 @@
"types": "./query-engine/dist/index.d.ts", "types": "./query-engine/dist/index.d.ts",
"default": "./query-engine/dist/index.js" "default": "./query-engine/dist/index.js"
}, },
"default": { "default": "./query-engine/dist/index.js"
"types": "./query-engine/dist/index.d.ts",
"default": "./query-engine/dist/index.js"
}
}, },
"./llms": { "./llms": {
"require": { "require": {
...@@ -69,10 +57,7 @@ ...@@ -69,10 +57,7 @@
"types": "./llms/dist/index.d.ts", "types": "./llms/dist/index.d.ts",
"default": "./llms/dist/index.js" "default": "./llms/dist/index.js"
}, },
"default": { "default": "./llms/dist/index.js"
"types": "./llms/dist/index.d.ts",
"default": "./llms/dist/index.js"
}
}, },
"./decorator": { "./decorator": {
"require": { "require": {
...@@ -83,10 +68,7 @@ ...@@ -83,10 +68,7 @@
"types": "./decorator/dist/index.d.ts", "types": "./decorator/dist/index.d.ts",
"default": "./decorator/dist/index.js" "default": "./decorator/dist/index.js"
}, },
"default": { "default": "./decorator/dist/index.js"
"types": "./decorator/dist/index.d.ts",
"default": "./decorator/dist/index.js"
}
}, },
"./embeddings": { "./embeddings": {
"require": { "require": {
...@@ -97,10 +79,7 @@ ...@@ -97,10 +79,7 @@
"types": "./embeddings/dist/index.d.ts", "types": "./embeddings/dist/index.d.ts",
"default": "./embeddings/dist/index.js" "default": "./embeddings/dist/index.js"
}, },
"default": { "default": "./embeddings/dist/index.js"
"types": "./embeddings/dist/index.d.ts",
"default": "./embeddings/dist/index.js"
}
}, },
"./global": { "./global": {
"require": { "require": {
...@@ -111,10 +90,7 @@ ...@@ -111,10 +90,7 @@
"types": "./global/dist/index.d.ts", "types": "./global/dist/index.d.ts",
"default": "./global/dist/index.js" "default": "./global/dist/index.js"
}, },
"default": { "default": "./global/dist/index.js"
"types": "./global/dist/index.d.ts",
"default": "./global/dist/index.js"
}
}, },
"./schema": { "./schema": {
"require": { "require": {
...@@ -125,10 +101,7 @@ ...@@ -125,10 +101,7 @@
"types": "./schema/dist/index.d.ts", "types": "./schema/dist/index.d.ts",
"default": "./schema/dist/index.js" "default": "./schema/dist/index.js"
}, },
"default": { "default": "./schema/dist/index.js"
"types": "./schema/dist/index.d.ts",
"default": "./schema/dist/index.js"
}
}, },
"./utils": { "./utils": {
"require": { "require": {
...@@ -139,10 +112,7 @@ ...@@ -139,10 +112,7 @@
"types": "./utils/dist/index.d.ts", "types": "./utils/dist/index.d.ts",
"default": "./utils/dist/index.js" "default": "./utils/dist/index.js"
}, },
"default": { "default": "./utils/dist/index.js"
"types": "./utils/dist/index.d.ts",
"default": "./utils/dist/index.js"
}
}, },
"./prompts": { "./prompts": {
"require": { "require": {
...@@ -153,10 +123,7 @@ ...@@ -153,10 +123,7 @@
"types": "./prompts/dist/index.d.ts", "types": "./prompts/dist/index.d.ts",
"default": "./prompts/dist/index.js" "default": "./prompts/dist/index.js"
}, },
"default": { "default": "./prompts/dist/index.js"
"types": "./prompts/dist/index.d.ts",
"default": "./prompts/dist/index.js"
}
}, },
"./indices": { "./indices": {
"require": { "require": {
...@@ -167,10 +134,7 @@ ...@@ -167,10 +134,7 @@
"types": "./indices/dist/index.d.ts", "types": "./indices/dist/index.d.ts",
"default": "./indices/dist/index.js" "default": "./indices/dist/index.js"
}, },
"default": { "default": "./indices/dist/index.js"
"types": "./indices/dist/index.d.ts",
"default": "./indices/dist/index.js"
}
}, },
"./workflow": { "./workflow": {
"require": { "require": {
...@@ -181,10 +145,7 @@ ...@@ -181,10 +145,7 @@
"types": "./workflow/dist/index.d.ts", "types": "./workflow/dist/index.d.ts",
"default": "./workflow/dist/index.js" "default": "./workflow/dist/index.js"
}, },
"default": { "default": "./workflow/dist/index.js"
"types": "./workflow/dist/index.d.ts",
"default": "./workflow/dist/index.js"
}
}, },
"./memory": { "./memory": {
"require": { "require": {
...@@ -195,10 +156,7 @@ ...@@ -195,10 +156,7 @@
"types": "./memory/dist/index.d.ts", "types": "./memory/dist/index.d.ts",
"default": "./memory/dist/index.js" "default": "./memory/dist/index.js"
}, },
"default": { "default": "./memory/dist/index.js"
"types": "./memory/dist/index.d.ts",
"default": "./memory/dist/index.js"
}
}, },
"./storage/chat-store": { "./storage/chat-store": {
"require": { "require": {
...@@ -209,10 +167,7 @@ ...@@ -209,10 +167,7 @@
"types": "./storage/chat-store/dist/index.d.ts", "types": "./storage/chat-store/dist/index.d.ts",
"default": "./storage/chat-store/dist/index.js" "default": "./storage/chat-store/dist/index.js"
}, },
"default": { "default": "./storage/chat-store/dist/index.js"
"types": "./storage/chat-store/dist/index.d.ts",
"default": "./storage/chat-store/dist/index.js"
}
}, },
"./storage/doc-store": { "./storage/doc-store": {
"require": { "require": {
...@@ -223,10 +178,7 @@ ...@@ -223,10 +178,7 @@
"types": "./storage/doc-store/dist/index.d.ts", "types": "./storage/doc-store/dist/index.d.ts",
"default": "./storage/doc-store/dist/index.js" "default": "./storage/doc-store/dist/index.js"
}, },
"default": { "default": "./storage/doc-store/dist/index.js"
"types": "./storage/doc-store/dist/index.d.ts",
"default": "./storage/doc-store/dist/index.js"
}
}, },
"./storage/index-store": { "./storage/index-store": {
"require": { "require": {
...@@ -237,10 +189,7 @@ ...@@ -237,10 +189,7 @@
"types": "./storage/index-store/dist/index.d.ts", "types": "./storage/index-store/dist/index.d.ts",
"default": "./storage/index-store/dist/index.js" "default": "./storage/index-store/dist/index.js"
}, },
"default": { "default": "./storage/index-store/dist/index.js"
"types": "./storage/index-store/dist/index.d.ts",
"default": "./storage/index-store/dist/index.js"
}
}, },
"./storage/kv-store": { "./storage/kv-store": {
"require": { "require": {
...@@ -251,10 +200,7 @@ ...@@ -251,10 +200,7 @@
"types": "./storage/kv-store/dist/index.d.ts", "types": "./storage/kv-store/dist/index.d.ts",
"default": "./storage/kv-store/dist/index.js" "default": "./storage/kv-store/dist/index.js"
}, },
"default": { "default": "./storage/kv-store/dist/index.js"
"types": "./storage/kv-store/dist/index.d.ts",
"default": "./storage/kv-store/dist/index.js"
}
}, },
"./response-synthesizers": { "./response-synthesizers": {
"require": { "require": {
...@@ -265,10 +211,7 @@ ...@@ -265,10 +211,7 @@
"types": "./response-synthesizers/dist/index.d.ts", "types": "./response-synthesizers/dist/index.d.ts",
"default": "./response-synthesizers/dist/index.js" "default": "./response-synthesizers/dist/index.js"
}, },
"default": { "default": "./response-synthesizers/dist/index.js"
"types": "./response-synthesizers/dist/index.d.ts",
"default": "./response-synthesizers/dist/index.js"
}
}, },
"./chat-engine": { "./chat-engine": {
"require": { "require": {
...@@ -279,10 +222,7 @@ ...@@ -279,10 +222,7 @@
"types": "./chat-engine/dist/index.d.ts", "types": "./chat-engine/dist/index.d.ts",
"default": "./chat-engine/dist/index.js" "default": "./chat-engine/dist/index.js"
}, },
"default": { "default": "./chat-engine/dist/index.js"
"types": "./chat-engine/dist/index.d.ts",
"default": "./chat-engine/dist/index.js"
}
}, },
"./retriever": { "./retriever": {
"require": { "require": {
...@@ -293,10 +233,7 @@ ...@@ -293,10 +233,7 @@
"types": "./retriever/dist/index.d.ts", "types": "./retriever/dist/index.d.ts",
"default": "./retriever/dist/index.js" "default": "./retriever/dist/index.js"
}, },
"default": { "default": "./retriever/dist/index.js"
"types": "./retriever/dist/index.d.ts",
"default": "./retriever/dist/index.js"
}
}, },
"./vector-store": { "./vector-store": {
"require": { "require": {
...@@ -307,10 +244,7 @@ ...@@ -307,10 +244,7 @@
"types": "./vector-store/dist/index.d.ts", "types": "./vector-store/dist/index.d.ts",
"default": "./vector-store/dist/index.js" "default": "./vector-store/dist/index.js"
}, },
"default": { "default": "./vector-store/dist/index.js"
"types": "./vector-store/dist/index.d.ts",
"default": "./vector-store/dist/index.js"
}
}, },
"./tools": { "./tools": {
"require": { "require": {
...@@ -321,10 +255,7 @@ ...@@ -321,10 +255,7 @@
"types": "./tools/dist/index.d.ts", "types": "./tools/dist/index.d.ts",
"default": "./tools/dist/index.js" "default": "./tools/dist/index.js"
}, },
"default": { "default": "./tools/dist/index.js"
"types": "./tools/dist/index.d.ts",
"default": "./tools/dist/index.js"
}
}, },
"./data-structs": { "./data-structs": {
"require": { "require": {
...@@ -335,10 +266,7 @@ ...@@ -335,10 +266,7 @@
"types": "./data-structs/dist/index.d.ts", "types": "./data-structs/dist/index.d.ts",
"default": "./data-structs/dist/index.js" "default": "./data-structs/dist/index.js"
}, },
"default": { "default": "./data-structs/dist/index.js"
"types": "./data-structs/dist/index.d.ts",
"default": "./data-structs/dist/index.js"
}
}, },
"./postprocessor": { "./postprocessor": {
"require": { "require": {
...@@ -349,10 +277,7 @@ ...@@ -349,10 +277,7 @@
"types": "./postprocessor/dist/index.d.ts", "types": "./postprocessor/dist/index.d.ts",
"default": "./postprocessor/dist/index.js" "default": "./postprocessor/dist/index.js"
}, },
"default": { "default": "./postprocessor/dist/index.js"
"types": "./postprocessor/dist/index.d.ts",
"default": "./postprocessor/dist/index.js"
}
} }
}, },
"files": [ "files": [
......
...@@ -72,10 +72,7 @@ ...@@ -72,10 +72,7 @@
"types": "./tokenizers/dist/index.d.cts", "types": "./tokenizers/dist/index.d.cts",
"default": "./tokenizers/dist/index.cjs" "default": "./tokenizers/dist/index.cjs"
}, },
"default": { "default": "./tokenizers/dist/index.js"
"types": "./tokenizers/dist/index.d.ts",
"default": "./tokenizers/dist/index.js"
}
}, },
"./multi-model": { "./multi-model": {
"workerd": { "workerd": {
...@@ -98,10 +95,7 @@ ...@@ -98,10 +95,7 @@
"types": "./multi-model/dist/index.d.cts", "types": "./multi-model/dist/index.d.cts",
"default": "./multi-model/dist/index.cjs" "default": "./multi-model/dist/index.cjs"
}, },
"default": { "default": "./multi-model/dist/index.js"
"types": "./multi-model/dist/index.d.ts",
"default": "./multi-model/dist/index.js"
}
} }
}, },
"files": [ "files": [
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment