Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Set pdf-lib as a peerDep #2746

Merged
merged 1 commit into from
Mar 13, 2025
Merged

feat: Set pdf-lib as a peerDep #2746

merged 1 commit into from
Mar 13, 2025

Conversation

zatteo
Copy link
Member

@zatteo zatteo commented Mar 11, 2025

pdf-lib adds 381KB to an app bundle and is rarely used so let's set it as a peer dep.

BREAKING CHANGE: If you use print action, please add pdf-lib as a dep in your app because it is now a peerDep in cozy-ui

Copy link

bundlemon bot commented Mar 11, 2025

BundleMon

Unchanged files (3)
Status Path Size Limits
dist/cozy-ui.min.css
21.35KB +10%
transpiled/react/stylesheet.css
17.08KB -
dist/cozy-ui.utils.min.css
11.97KB +10%

No change in files bundle size

Unchanged groups (1)
Status Path Size Limits
transpiled/react/**
909.11KB -

Final result: ✅

View report in BundleMon website ➡️


Current branch size history | Target branch size history

@JF-Cozy
Copy link
Collaborator

JF-Cozy commented Mar 11, 2025

on devrait mettre la version dans le message du BC car elle est fixée, voir même la commande yarn exacte à taper ce serait plus simple pour le développeur

@zatteo zatteo force-pushed the feat/peerdep-pdf-lib branch from e4243a2 to 15d400e Compare March 11, 2025 08:44
pdf-lib adds 381KB to an app bundle and is rarely used so let's set it as a peer dep.

BREAKING CHANGE: If you use print action, please add pdf-lib as a dep in your app because it is now a peerDep in cozy-ui. `yarn add [email protected]`
@zatteo zatteo force-pushed the feat/peerdep-pdf-lib branch from 15d400e to b2c5fab Compare March 13, 2025 06:29
@zatteo zatteo merged commit 15604af into master Mar 13, 2025
12 checks passed
@zatteo zatteo deleted the feat/peerdep-pdf-lib branch March 13, 2025 06:36
@cozy-bot
Copy link

🎉 This PR is included in version 120.0.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.

3 participants