Skip to content

feat: scaffold the tests and validator packages (step 8) - #591

Merged
awatson1978 merged 1 commit into
release/1.0-beta-corefrom
core/step8-scaffolds
Oct 3, 2026
Merged

awatson1978 merged 1 commit into
release/1.0-beta-corefrom
core/step8-scaffolds

Conversation

@awatson1978

Copy link
Copy Markdown
Collaborator

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.js and the dual-path issue bank under test/issues/ — deliberately stay in the root test/ 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/core and @dcmjs-org/parser by 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/schemas gets its own design discussion ("slice H" in the rewrite's planning documents). I did give it one source file: src/index.js exports a validate() that throws "not implemented", so the package resolves by name but nothing can silently depend on validation existing before it does. Both packages are private: 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

@awatson1978
awatson1978 merged commit b4916a8 into release/1.0-beta-core Oct 3, 2026
8 of 10 checks passed
@awatson1978
awatson1978 deleted the core/step8-scaffolds branch October 3, 2026 02:15
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 1.0.0-beta.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant