perf!: publish ESM-only packages without sourcemaps and test artifacts - #3118
nperez0111 wants to merge 3 commits into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan provides up to 10 included reviews per hour; 5 remain after this review. 📝 WalkthroughWalkthroughBuild configurations across the listed packages now disable source maps and emit ES modules only. Package metadata updates published-file exclusions and entry points, removing CommonJS ChangesESM-only package distribution
Estimated code review effort: 3 (Moderate) | ~20 minutes Merge Risk: ⚪ Minimal · up to This change intentionally drops CommonJS support and published source maps. The checked ESM entrypoints work with the repository’s supported Node version, and no concrete packaging regression remains to block merging. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches 💡 1🧪 Generate unit tests (beta)
🛠️ Fix failing CI checks 💡
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. I’m a rabbit hopping past the build, Comment |
@blocknote/ariakit
@blocknote/code-block
@blocknote/core
@blocknote/diagram-block
@blocknote/mantine
@blocknote/math-block
@blocknote/react
@blocknote/server-util
@blocknote/shadcn
@blocknote/xl-ai
@blocknote/xl-docx-exporter
@blocknote/xl-email-exporter
@blocknote/xl-multi-column
@blocknote/xl-odt-exporter
@blocknote/xl-pdf-exporter
@blocknote/xl-typst-exporter
commit: |
|
First of four PRs replacing #2903. Based directly on origin/main (3a37d23).
Removes CommonJS outputs and exports, stops publishing sourcemaps and test/build artifacts, and narrows the package files lists while retaining necessary assets and CSS. This is the packaging change only; emoji and AI changes follow in separate PRs.
Breaking change: consumers must use ESM imports rather than CommonJS require(). Sourcemaps are no longer published.
Verified: @blocknote/core and @blocknote/react builds. Package versions remain at 0.55.0 from main. Package-size numbers from the original PR have not been reused because this stack was rebuilt on a newer main.
Original work: #2903.
Summary by CodeRabbit
requireimports are no longer supported.