Repository navigation
feat: scaffold the tests and validator packages (step 8) - #591
Merged
Merged
Conversation
Co-Authored-By: Claude Fable 5 <[email protected]>
|
🎉 This PR is included in version 1.0.0-beta.1 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
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.
This is step 8 of the RELEASE_PLAN.md section 6 landing order, and it is deliberately boring: two private package scaffolds, no behavior changes.
packages/tests/is@dcmjs-org/tests, the eventual home for suites that span several packages at once. The actual cross-package suites —test/eventStream/streamEquivalence.test.jsand the dual-path issue bank undertest/issues/— deliberately stay in the roottest/tree for now; moving them waits on the Jest modernization that section 11 defers until after GA. What ships today is one smoke test proving the package is wired into the workspace: it imports@dcmjs-org/coreand@dcmjs-org/parserby package name through the pnpm workspace links and round-trips a one-element dataset through the event contract.packages/validator/is@dcmjs-org/validator, and per section 11 it is a scaffold only — no working code exists yet. The real validation work against@dcmjs-org/schemasgets its own design discussion ("slice H" in the rewrite's planning documents). I did give it one source file:src/index.jsexports avalidate()that throws "not implemented", so the package resolves by name but nothing can silently depend on validation existing before it does. Both packages areprivate: true; the validator stays that way "until it is real", per the plan's publish column.The only other change is the lockfile picking up the two new workspace packages. Full suite is green locally: 845 passed, 12 skipped, 857 total (one more than before — the smoke test).
🤖 Generated with Claude Code