Skip to content

Chore: Absorb adapt-authoring-defaultplugins into contentplugin#92

Merged
taylortom merged 1 commit intomasterfrom
chore/absorb-defaultplugins
Mar 26, 2026
Merged

Chore: Absorb adapt-authoring-defaultplugins into contentplugin#92
taylortom merged 1 commit intomasterfrom
chore/absorb-defaultplugins

Conversation

@taylortom
Copy link
Copy Markdown
Contributor

Fixes #91

Chore

  • Absorbed adapt-authoring-defaultplugins functionality into the contentplugin module
  • Added isAddedByDefault boolean property directly to the contentplugin schema (replaces the $patch schema from defaultplugins)
  • Extracted default plugin logic into lib/utils/addDefaultPlugins.js utility function
  • Hooked into content.preInsertHook from ContentPluginModule.init() to auto-add default plugins to new courses
  • Added 14 unit tests covering all edge cases

Testing

  • Run npm test — all 50 tests pass
  • npx standard passes with no warnings

@taylortom taylortom merged commit 3db3442 into master Mar 26, 2026
2 checks passed
@taylortom taylortom deleted the chore/absorb-defaultplugins branch March 26, 2026 13:45
github-actions bot pushed a commit that referenced this pull request Mar 26, 2026
# [1.6.0](v1.5.4...v1.6.0) (2026-03-26)

### Chore

* Use shared semantic-release config ([3c159a7](3c159a7))

### New

* Absorb adapt-authoring-defaultplugins into contentplugin (fixes #91) (#92) ([3db3442](3db3442)), closes [#91](#91) [#92](#92)
@github-actions
Copy link
Copy Markdown

🎉 This PR is included in version 1.6.0 🎉

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Chore: Absorb adapt-authoring-defaultplugins into contentplugin module

1 participant