Skip to content

refactor(bold): extract bold inline tool into standalone package#159

Merged
Reversean merged 1 commit into
mainfrom
refactor/extract-bold-tool
Jul 13, 2026
Merged

refactor(bold): extract bold inline tool into standalone package#159
Reversean merged 1 commit into
mainfrom
refactor/extract-bold-tool

Conversation

@Reversean

Copy link
Copy Markdown
Contributor

Summary

  • Move the built-in Bold inline tool out of @editorjs/core into its own publishable package, @editorjs/bold, continuing the same split applied to Paragraph.
  • Pure relocation — the tool's source has no relative imports into core internals, so behavior is unchanged. core now depends on the new package as a workspace dependency.

Stacked on #158 (paragraph).

@github-actions

github-actions Bot commented Jul 2, 2026

Copy link
Copy Markdown

Unit Tests

Package Coverage Delta
@editorjs/core 89.55% 0% ⚪️

Mutation Tests

Package Mutation score Dashboard URL
@editorjs/core 0.00% 🔴 Dashboard

@Reversean Reversean force-pushed the refactor/extract-paragraph-tool branch from 9df114e to 2b786a9 Compare July 2, 2026 17:23
@Reversean Reversean force-pushed the refactor/extract-bold-tool branch from 60bdcfc to d8c72af Compare July 2, 2026 17:26
@Reversean Reversean force-pushed the refactor/extract-paragraph-tool branch from 3427780 to a7e970d Compare July 13, 2026 21:32
Base automatically changed from refactor/extract-paragraph-tool to main July 13, 2026 21:44
Move the built-in Bold inline tool out of @editorjs/core into its own
publishable package, @editorjs/bold, continuing the same split applied
to Paragraph — the tool becomes independently versionable rather than
bundled inside the editor core.

No behavioral changes: the tool had no relative imports into core
internals, so it moves as-is and core now depends on it as a workspace
package.
@Reversean Reversean force-pushed the refactor/extract-bold-tool branch from 8e65707 to 0d5920d Compare July 13, 2026 21:47
Comment on lines +12 to +20
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Run ESLint check
uses: ./.github/actions/lint
with:
package-name: '@editorjs/bold'

build:
Comment on lines +21 to +27
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Build the package
uses: ./.github/actions/build
with:
package-name: '@editorjs/bold'
@Reversean Reversean enabled auto-merge July 13, 2026 21:48
@Reversean Reversean added this pull request to the merge queue Jul 13, 2026
Merged via the queue into main with commit 0db8648 Jul 13, 2026
47 checks passed
@Reversean Reversean deleted the refactor/extract-bold-tool branch July 13, 2026 21:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants