diff --git a/.changeset/remove-bun-export-condition.md b/.changeset/remove-bun-export-condition.md new file mode 100644 index 0000000..9a95a68 --- /dev/null +++ b/.changeset/remove-bun-export-condition.md @@ -0,0 +1,7 @@ +--- +"@rolexjs/core": patch +--- + +Remove "bun" export condition from all packages + +The "bun" condition in exports pointed to ./src/index.ts which is not included in published npm packages, causing "Cannot find package" errors when consumed by bun runtime. All environments now use the compiled dist/ output. diff --git a/packages/core/package.json b/packages/core/package.json index 01614cd..e235f73 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -23,7 +23,6 @@ "exports": { ".": { "types": "./dist/index.d.ts", - "bun": "./src/index.ts", "default": "./dist/index.js" } }, diff --git a/packages/local-platform/package.json b/packages/local-platform/package.json index 9f7f7c5..c200a5f 100644 --- a/packages/local-platform/package.json +++ b/packages/local-platform/package.json @@ -8,7 +8,6 @@ "exports": { ".": { "types": "./dist/index.d.ts", - "bun": "./src/index.ts", "default": "./dist/index.js" } }, diff --git a/packages/parser/package.json b/packages/parser/package.json index fefda57..4f7bd0a 100644 --- a/packages/parser/package.json +++ b/packages/parser/package.json @@ -23,7 +23,6 @@ "exports": { ".": { "types": "./dist/index.d.ts", - "bun": "./src/index.ts", "default": "./dist/index.js" } }, diff --git a/packages/prototype/package.json b/packages/prototype/package.json index c50ed77..0840f0b 100644 --- a/packages/prototype/package.json +++ b/packages/prototype/package.json @@ -23,7 +23,6 @@ "exports": { ".": { "types": "./dist/index.d.ts", - "bun": "./src/index.ts", "default": "./dist/index.js" } }, diff --git a/packages/rolexjs/package.json b/packages/rolexjs/package.json index 6c7431b..e08656b 100644 --- a/packages/rolexjs/package.json +++ b/packages/rolexjs/package.json @@ -25,7 +25,6 @@ "exports": { ".": { "types": "./dist/index.d.ts", - "bun": "./src/index.ts", "default": "./dist/index.js" } }, diff --git a/packages/system/package.json b/packages/system/package.json index 9ace37c..fea74f1 100644 --- a/packages/system/package.json +++ b/packages/system/package.json @@ -24,7 +24,6 @@ "exports": { ".": { "types": "./dist/index.d.ts", - "bun": "./src/index.ts", "default": "./dist/index.js" } },