Skip to content

Commit

Permalink
Revert "fix: bundle output incorrect (#1638)" (#1641)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcusschiesser authored Feb 11, 2025
1 parent 56f367f commit 1c908fd
Show file tree
Hide file tree
Showing 37 changed files with 238 additions and 459 deletions.
37 changes: 37 additions & 0 deletions .changeset/lovely-apricots-own.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
---
"@llamaindex/pinecone": patch
"@llamaindex/postgres": patch
"@llamaindex/weaviate": patch
"@llamaindex/mongodb": patch
"@llamaindex/upstash": patch
"@llamaindex/chroma": patch
"@llamaindex/milvus": patch
"@llamaindex/qdrant": patch
"@llamaindex/astra": patch
"@llamaindex/azure": patch
"@llamaindex/huggingface": patch
"@llamaindex/mixedbread": patch
"@llamaindex/portkey-ai": patch
"@llamaindex/anthropic": patch
"@llamaindex/deepinfra": patch
"@llamaindex/replicate": patch
"@llamaindex/mistral": patch
"@llamaindex/cohere": patch
"@llamaindex/google": patch
"@llamaindex/ollama": patch
"@llamaindex/openai": patch
"@llamaindex/vercel": patch
"@llamaindex/clip": patch
"@llamaindex/groq": patch
"@llamaindex/vllm": patch
"@llamaindex/node-parser": patch
"@llamaindex/community": patch
"@llamaindex/autotool": patch
"@llamaindex/workflow": patch
"@llamaindex/readers": patch
"@llamaindex/cloud": patch
"@llamaindex/core": patch
"@llamaindex/env": patch
---

Revert previous release (not working with CJS)
5 changes: 0 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,5 @@
"packageManager": "pnpm@9.12.3",
"lint-staged": {
"(!apps/docs/i18n/**/docusaurus-plugin-content-docs/current/api/*).{js,jsx,ts,tsx,md}": "prettier --write"
},
"pnpm": {
"patchedDependencies": {
"bunchee": "patches/bunchee.patch"
}
}
}
2 changes: 1 addition & 1 deletion packages/autotool/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
"@swc/types": "^0.1.12",
"@types/json-schema": "^7.0.15",
"@types/node": "^22.9.0",
"bunchee": "6.3.3",
"bunchee": "6.2.0",
"llamaindex": "workspace:*",
"next": "15.0.3",
"rollup": "^4.28.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/cloud/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
"@hey-api/openapi-ts": "^0.61.0",
"@llamaindex/core": "workspace:*",
"@llamaindex/env": "workspace:*",
"bunchee": "6.3.3"
"bunchee": "6.2.0"
},
"peerDependencies": {
"@llamaindex/core": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion packages/community/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
},
"devDependencies": {
"@types/node": "^22.9.0",
"bunchee": "6.3.3"
"bunchee": "6.2.0"
},
"dependencies": {
"@aws-sdk/client-bedrock-agent-runtime": "^3.706.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@
"devDependencies": {
"@edge-runtime/vm": "^4.0.4",
"ajv": "^8.17.1",
"bunchee": "6.3.3",
"bunchee": "6.2.0",
"happy-dom": "^15.11.6",
"natural": "^8.0.1"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/env/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@
"@huggingface/transformers": "^3.0.2",
"@types/node": "^22.9.0",
"@types/readable-stream": "^4.0.15",
"bunchee": "6.3.3",
"bunchee": "6.2.0",
"gpt-tokenizer": "^2.6.2",
"pathe": "^1.1.2",
"vitest": "^2.1.5"
Expand Down
2 changes: 1 addition & 1 deletion packages/node-parser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"@llamaindex/env": "workspace:*",
"@types/html-to-text": "^9.0.4",
"@types/node": "^22.9.0",
"bunchee": "6.3.3",
"bunchee": "6.2.0",
"tree-sitter": "^0.22.1",
"web-tree-sitter": "^0.24.4"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/providers/anthropic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"test": "vitest run"
},
"devDependencies": {
"bunchee": "6.3.3"
"bunchee": "6.2.0"
},
"dependencies": {
"@anthropic-ai/sdk": "0.32.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/providers/clip/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"dev": "bunchee --watch"
},
"devDependencies": {
"bunchee": "6.3.3"
"bunchee": "6.2.0"
},
"dependencies": {
"@huggingface/transformers": "^3.0.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/providers/cohere/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"dev": "bunchee --watch"
},
"devDependencies": {
"bunchee": "6.3.3"
"bunchee": "6.2.0"
},
"dependencies": {
"@llamaindex/core": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion packages/providers/deepinfra/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"dev": "bunchee --watch"
},
"devDependencies": {
"bunchee": "6.3.3"
"bunchee": "6.2.0"
},
"dependencies": {
"@llamaindex/core": "workspace:*",
Expand Down
8 changes: 4 additions & 4 deletions packages/providers/google/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@
"dev": "bunchee --watch"
},
"devDependencies": {
"bunchee": "6.3.3"
"bunchee": "6.2.0"
},
"dependencies": {
"@google-cloud/vertexai": "1.9.0",
"@google/generative-ai": "0.21.0",
"@llamaindex/core": "workspace:*",
"@llamaindex/env": "workspace:*"
"@llamaindex/env": "workspace:*",
"@google/generative-ai": "0.21.0",
"@google-cloud/vertexai": "1.9.0"
}
}
2 changes: 1 addition & 1 deletion packages/providers/groq/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"dev": "bunchee --watch"
},
"devDependencies": {
"bunchee": "6.3.3"
"bunchee": "6.2.0"
},
"dependencies": {
"@llamaindex/env": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion packages/providers/huggingface/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"dev": "bunchee --watch"
},
"devDependencies": {
"bunchee": "6.3.3"
"bunchee": "6.2.0"
},
"dependencies": {
"@huggingface/inference": "^2.8.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/providers/mistral/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"dev": "bunchee --watch"
},
"devDependencies": {
"bunchee": "6.3.3"
"bunchee": "6.2.0"
},
"dependencies": {
"@llamaindex/core": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion packages/providers/mixedbread/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"dev": "bunchee --watch"
},
"devDependencies": {
"bunchee": "6.3.3"
"bunchee": "6.2.0"
},
"dependencies": {
"@llamaindex/core": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion packages/providers/ollama/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"dev": "bunchee --watch"
},
"devDependencies": {
"bunchee": "6.3.3"
"bunchee": "6.2.0"
},
"dependencies": {
"@llamaindex/core": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion packages/providers/openai/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"dev": "bunchee --watch"
},
"devDependencies": {
"bunchee": "6.3.3"
"bunchee": "6.2.0"
},
"dependencies": {
"@llamaindex/core": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion packages/providers/portkey-ai/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"dev": "bunchee --watch"
},
"devDependencies": {
"bunchee": "6.3.3"
"bunchee": "6.2.0"
},
"dependencies": {
"@llamaindex/core": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion packages/providers/replicate/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"dev": "bunchee --watch"
},
"devDependencies": {
"bunchee": "6.3.3"
"bunchee": "6.2.0"
},
"dependencies": {
"@llamaindex/core": "workspace:*",
Expand Down
6 changes: 3 additions & 3 deletions packages/providers/storage/astra/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@
"dev": "bunchee --watch"
},
"devDependencies": {
"bunchee": "6.3.3"
"bunchee": "6.2.0"
},
"dependencies": {
"@datastax/astra-db-ts": "^1.4.1",
"@llamaindex/core": "workspace:*",
"@llamaindex/env": "workspace:*"
"@llamaindex/env": "workspace:*",
"@datastax/astra-db-ts": "^1.4.1"
}
}
8 changes: 4 additions & 4 deletions packages/providers/storage/azure/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,15 +56,15 @@
"dev": "bunchee --watch"
},
"devDependencies": {
"@types/node": "^22.9.0",
"bunchee": "6.3.3"
"bunchee": "6.2.0",
"@types/node": "^22.9.0"
},
"dependencies": {
"@llamaindex/core": "workspace:*",
"@llamaindex/env": "workspace:*",
"@azure/cosmos": "^4.1.1",
"@azure/identity": "^4.4.1",
"@azure/search-documents": "^12.1.0",
"@llamaindex/core": "workspace:*",
"@llamaindex/env": "workspace:*",
"mongodb": "^6.7.0"
}
}
2 changes: 1 addition & 1 deletion packages/providers/storage/chroma/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"dev": "bunchee --watch"
},
"devDependencies": {
"bunchee": "6.3.3"
"bunchee": "6.2.0"
},
"dependencies": {
"@llamaindex/core": "workspace:*",
Expand Down
4 changes: 2 additions & 2 deletions packages/providers/storage/milvus/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,12 @@
"dev": "bunchee --watch"
},
"devDependencies": {
"bunchee": "6.3.3"
"bunchee": "6.2.0"
},
"dependencies": {
"@grpc/grpc-js": "^1.12.2",
"@llamaindex/core": "workspace:*",
"@llamaindex/env": "workspace:*",
"@grpc/grpc-js": "^1.12.2",
"@zilliz/milvus2-sdk-node": "^2.4.6"
}
}
2 changes: 1 addition & 1 deletion packages/providers/storage/mongodb/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"dev": "bunchee --watch"
},
"devDependencies": {
"bunchee": "6.3.3"
"bunchee": "6.2.0"
},
"dependencies": {
"@llamaindex/core": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion packages/providers/storage/pinecone/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"dev": "bunchee --watch"
},
"devDependencies": {
"bunchee": "6.3.3"
"bunchee": "6.2.0"
},
"dependencies": {
"@llamaindex/core": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion packages/providers/storage/postgres/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@
"dev": "bunchee --watch"
},
"devDependencies": {
"bunchee": "6.2.0",
"@types/pg": "^8.11.8",
"@vercel/postgres": "^0.10.0",
"bunchee": "6.3.3",
"pg": "^8.12.0",
"pgvector": "0.2.0",
"postgres": "^3.4.4"
Expand Down
2 changes: 1 addition & 1 deletion packages/providers/storage/qdrant/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"dev": "bunchee --watch"
},
"devDependencies": {
"bunchee": "6.3.3"
"bunchee": "6.2.0"
},
"dependencies": {
"@llamaindex/core": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion packages/providers/storage/upstash/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"dev": "bunchee --watch"
},
"devDependencies": {
"bunchee": "6.3.3"
"bunchee": "6.2.0"
},
"dependencies": {
"@llamaindex/core": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion packages/providers/storage/weaviate/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"dev": "bunchee --watch"
},
"devDependencies": {
"bunchee": "6.3.3"
"bunchee": "6.2.0"
},
"dependencies": {
"@llamaindex/core": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion packages/providers/vercel/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"dev": "bunchee --watch"
},
"devDependencies": {
"bunchee": "6.3.3"
"bunchee": "6.2.0"
},
"dependencies": {
"@llamaindex/core": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion packages/providers/vllm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"dev": "bunchee --watch"
},
"devDependencies": {
"bunchee": "6.3.3"
"bunchee": "6.2.0"
},
"dependencies": {
"@llamaindex/openai": "workspace:*"
Expand Down
2 changes: 1 addition & 1 deletion packages/readers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@
"@llamaindex/core": "workspace:*",
"@llamaindex/env": "workspace:*",
"@types/node": "^22.9.0",
"bunchee": "6.3.3",
"bunchee": "6.2.0",
"p-limit": "^6.1.0",
"string-strip-html": "^13.4.8"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/workflow/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"devDependencies": {
"@llamaindex/env": "workspace:*",
"@types/node": "^22.9.0",
"bunchee": "6.3.3"
"bunchee": "6.2.0"
},
"peerDependencies": {
"@llamaindex/env": "workspace:*"
Expand Down
Loading

0 comments on commit 1c908fd

Please sign in to comment.