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

fix: #509 pkg size optimizations #510

Merged
merged 2 commits into from
Jan 27, 2025
Merged

Conversation

cyp3rius
Copy link
Contributor

Ticket

#509

Summary

What does this PR do/solve?

Optimize the package size by moving some dependencies and minifying build

Test Plan

N/A

Copy link

codecov bot commented Jan 24, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 89.04%. Comparing base (761cb33) to head (f1821fc).
Report is 1 commits behind head on develop.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop     #510   +/-   ##
========================================
  Coverage    89.04%   89.04%           
========================================
  Files           19       19           
  Lines          283      283           
  Branches        45       45           
========================================
  Hits           252      252           
  Misses          30       30           
  Partials         1        1           
Flag Coverage Δ
unittest 89.04% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@cyp3rius cyp3rius changed the base branch from master to develop January 27, 2025 09:16
@cyp3rius cyp3rius merged commit 5eeec55 into develop Jan 27, 2025
4 checks passed
@cyp3rius cyp3rius deleted the fix/pkg-size-optimizations branch January 27, 2025 09:16
cyp3rius added a commit that referenced this pull request Feb 1, 2025
* fix: #509 pkg size optimizations

* chore: beta version bump
cyp3rius added a commit that referenced this pull request Feb 1, 2025
* fix: #509 pkg size optimizations (#510)

* fix: #509 pkg size optimizations

* chore: beta version bump

* Create GraphQL enum for navigation item type (#512)

* Sort related content types and entities by name (#513)

Fixes #507

* chore: version bump

* Use corepack to define package manager (#517)

* Refactor dependencies to reduce dist size (#518)

* Refactor dependencies to reduce dist size

* Direct dependencies that are shared with strapi are in peerDependencies (for runtime) and devDependencies (for development)
* Direct dependencies that are unique to this plugin are in dependencies (and not also in devDependencies)

* Increase version number

* Force react-intl as dependency with fixed version number (#519)

* Force react-intl as dependency with fixed version number

* Increase version number

* chore: bump of the packages and version

---------

Co-authored-by: Jorrit Schippers <[email protected]>
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.

1 participant