feat(sdk): replace Liam TailorDB ERD viewer#1319
Open
dqn wants to merge 22 commits into
Open
Conversation
🦋 Changeset detectedLatest commit: 142fd70 The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
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 |
commit: |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
📖 Docs Consistency Check✅ No inconsistencies found between documentation and implementation. Checked areas:
Key changes verified:
|
This comment has been minimized.
This comment has been minimized.
- Reuse the shared hashContent helper for the ERD schema revision instead of a hand-rolled createHash call. - Drop the unused erdDir field from ERD build targets and results. - Build each table's type source once instead of twice.
This comment has been minimized.
This comment has been minimized.
# Conflicts: # pnpm-lock.yaml
This comment has been minimized.
This comment has been minimized.
# Conflicts: # pnpm-lock.yaml
This comment has been minimized.
This comment has been minimized.
# Conflicts: # pnpm-lock.yaml
This comment has been minimized.
This comment has been minimized.
toiroakr
reviewed
Jun 5, 2026
Contributor
toiroakr
left a comment
There was a problem hiding this comment.
Horizontal scrolling doesn't seem to work on the touchpad, so I'd like to fix it.
# Conflicts: # packages/sdk/src/cli/commands/tailordb/erd/schema.test.ts # pnpm-lock.yaml
Contributor
Author
Fixed in 142fd70. |
Code Metrics Report (packages/sdk)
Details | | main (a0d07a9) | #1319 (962b0b0) | +/- |
|--------------------|----------------|-----------------|-------|
- | Coverage | 66.0% | 65.5% | -0.6% |
| Files | 394 | 395 | +1 |
| Lines | 13517 | 13696 | +179 |
+ | Covered | 8930 | 8972 | +42 |
- | Code to Test Ratio | 1:0.4 | 1:0.4 | -0.1 |
| Code | 90255 | 90712 | +457 |
- | Test | 39186 | 39068 | -118 |Code coverage of files in pull request scope (57.3% → 46.6%)
SDK Configure Bundle Size
Runtime Performance
Type Performance (instantiations)
Reported by octocov |
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
Replace the Liam-based TailorDB ERD flow with a packaged TailorDB-specific static viewer generated from local SDK schema. The new viewer supports local export, watch-based serving, and deploy while preserving the existing erdSite deployment requirement.
Main changes
tailordb erd export,serve, anddeployto write and serve<output>/<namespace>/dist.Deployed ERD
tailordb-erd-viewer-20260604-163331(1c579da0-7eae-41cf-9c3f-905f67e25d02)my-app-6ii00hf7vh.erp.devHTTP/2 200after deployment.