Skip to content
This repository was archived by the owner on Mar 27, 2026. It is now read-only.

Update: Replace jsonschema module dep with adapt-schemas#66

Closed
taylortom wants to merge 1 commit intomasterfrom
update/replace-jsonschema-with-adapt-schemas
Closed

Update: Replace jsonschema module dep with adapt-schemas#66
taylortom wants to merge 1 commit intomasterfrom
update/replace-jsonschema-with-adapt-schemas

Conversation

@taylortom
Copy link
Copy Markdown
Collaborator

Fixes #65

Update

  • Replaced adapt-authoring-jsonschema peer dependency with direct adapt-schemas dependency
  • storeSchemaSettings now creates a local Schemas instance instead of waiting for the jsonschema module
  • Removed waitForModule('jsonschema') call, simplifying boot order and eliminating potential circular dependency
  • Updated test mocks to remove jsonschema mock

Testing

  • All 20 existing tests pass
  • Standard.js linting passes

Drop the peer dependency on adapt-authoring-jsonschema and use the
adapt-schemas library directly. Config only needs basic schema loading
and validation which adapt-schemas provides natively, removing a
potential circular dependency and simplifying the boot sequence.
@taylortom
Copy link
Copy Markdown
Collaborator Author

Superseded by adapt-security/adapt-authoring-core#112

@taylortom taylortom closed this Mar 26, 2026
@taylortom taylortom deleted the update/replace-jsonschema-with-adapt-schemas branch March 26, 2026 12:38
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Replace adapt-authoring-jsonschema peer dependency with adapt-schemas

1 participant