Skip to content

Conversation

@abrehamgezahegn
Copy link
Collaborator

Summary

  • Mirrored block spacing of Notion with polished styles
  • Added package size analysis to preview workflow using npm size script
  • Posts GitHub comment with size-limit analysis and compressed package size
  • Uses size-limit tool to check against configured 20KB limits for dist files

Block Styling Improvements

  • Updated spacing and typography for better visual consistency with Notion
  • Enhanced column list, list items, quotes, todos, and toggle blocks
  • Work in progress on equations and tables

Package Size Monitoring

The workflow now runs npm run size after building the package and posts a detailed size report as a GitHub comment on PRs, providing visibility into package size changes.

@pkg-pr-new
Copy link

pkg-pr-new bot commented Jun 19, 2025

Open in StackBlitz

npm i https://pkg.pr.new/textcortex/JSON-DOC/@textcortex/jsondoc@28

commit: afca71e

@abrehamgezahegn abrehamgezahegn changed the title Add package size check and improve block spacing Get styling >95% right Jun 19, 2025
@abrehamgezahegn abrehamgezahegn merged commit 5dd90d1 into main Jun 19, 2025
6 checks passed
@abrehamgezahegn abrehamgezahegn deleted the block-spacing-and-style branch June 19, 2025 21:39
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.

2 participants