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

JIPT (Just In Place Translation) fix up dependency types #879

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

jeremywiebe
Copy link
Collaborator

Summary:

Our JIPT configuration on the dependencies required the full JIPT configuration even when JIPT support was disabled (useJIPT: false). I've changed it so the types don't require the extra support functions when JIPT is not enabled. This makes the code clearer where we support this feature and should make dependency setup in host apps clearer as well.

Issue: "none"

Test plan:

@jeremywiebe jeremywiebe self-assigned this Dec 18, 2023
Copy link
Contributor

github-actions bot commented Dec 18, 2023

Size Change: +30 B (0%)

Total Size: 833 kB

Filename Size Change
packages/perseus/dist/es/index.js 402 kB +30 B (0%)
ℹ️ View Unchanged
Filename Size
packages/kas/dist/es/index.js 38.1 kB
packages/kmath/dist/es/index.js 4.25 kB
packages/math-input/dist/es/index.js 79 kB
packages/perseus-core/dist/es/index.js 908 B
packages/perseus-editor/dist/es/index.js 270 kB
packages/perseus-error/dist/es/index.js 877 B
packages/perseus-linter/dist/es/index.js 21.8 kB
packages/pure-markdown/dist/es/index.js 3.77 kB
packages/simple-markdown/dist/es/index.js 12.4 kB

compressed-size-action

Copy link

codecov bot commented Dec 18, 2023

Codecov Report

Attention: 6 lines in your changes are missing coverage. Please review.

Comparison is base (e9a74bf) 58.53% compared to head (242530d) 60.12%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #879      +/-   ##
==========================================
+ Coverage   58.53%   60.12%   +1.58%     
==========================================
  Files         406      408       +2     
  Lines       99384    99400      +16     
  Branches     5979     8577    +2598     
==========================================
+ Hits        58174    59763    +1589     
+ Misses      41210    39637    -1573     

Impacted file tree graph

Files Coverage Δ
...ackages/perseus/src/components/graphie-movables.ts 76.17% <75.00%> (+6.35%) ⬆️
packages/perseus/src/components/svg-image.tsx 68.04% <0.00%> (+6.03%) ⬆️
packages/perseus/src/renderer.tsx 92.61% <33.33%> (+0.05%) ⬆️

... and 68 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e9a74bf...242530d. Read the comment docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant