refactor: migrate from @epilot/pricing-client to @epilot/sdk/pricing - #292
Merged
Conversation
Replace the standalone @epilot/pricing-client peer/dev dependency with @epilot/sdk and import all types from the tree-shakeable @epilot/sdk/pricing entrypoint (usage was types-only, generated from the same OpenAPI spec). The legacy PriceTierEnhanced type is not part of the spec anymore and is not exported by the SDK, so it is now defined in this package. Co-Authored-By: Claude <[email protected]> Claude-Session: https://claude.ai/code/session_014ydZRYfnvFAgKVAXoJHkX5
🦋 Changeset detectedLatest commit: f0ed940 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
jnmau
approved these changes
Aug 26, 2026
Co-Authored-By: Claude <[email protected]> Claude-Session: https://claude.ai/code/session_014ydZRYfnvFAgKVAXoJHkX5
5 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
@epilot/pricing-clientpeer/dev dependency with@epilot/sdk(^2.18.31) and import all types from the tree-shakeable@epilot/sdk/pricingentrypoint. Usage in this package was types-only (no runtime client calls), and the SDK's pricing types are generated from the same OpenAPI spec — no behavior change.PriceTierEnhancedtype locally insrc/shared/types.ts: it was removed from the OpenAPI spec and only survived in the standalone client as a backwards-compat export, so the SDK doesn't carry it.@epilot/pricing-clientto@epilot/sdk.Test plan
pnpm typecheckcleanpnpm test— 635 tests pass (31 files)pnpm lint— 0 errors (277 pre-existing warnings)pnpm buildsucceeds🤖 Generated with Claude Code
https://claude.ai/code/session_014ydZRYfnvFAgKVAXoJHkX5