Skip to content

feat(codegen): expose package.json in exports object - #796

Merged
kanadgupta merged 1 commit into
mainfrom
feat/surface-package.json-as-an-export
Oct 27, 2023
Merged

feat(codegen): expose package.json in exports object#796
kanadgupta merged 1 commit into
mainfrom
feat/surface-package.json-as-an-export

Conversation

@kanadgupta

Copy link
Copy Markdown
Contributor

🧰 Changes

This updates our codegen'd SDKs so their package.json files now surface the package.json in the exports object. Why? I still don't exactly know, but it feels like a safe convention to follow in lieu of an actual spec around this ¯_(ツ)_/¯

I thought about also adding sideEffects: false the way we do in other places but I think the SDK might need to be set to type: module first?

@kanadgupta kanadgupta added enhancement New feature or request area:core Issues related to `core`, which is the package that powers the SDKs at runtime labels Oct 27, 2023
@kanadgupta
kanadgupta requested a review from erunion October 27, 2023 20:26
@kanadgupta
kanadgupta merged commit 5c82ca4 into main Oct 27, 2023
@kanadgupta
kanadgupta deleted the feat/surface-package.json-as-an-export branch October 27, 2023 21:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:core Issues related to `core`, which is the package that powers the SDKs at runtime enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants