Skip to content

feat: React+Tailwind #38

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

Merged
merged 11 commits into from
Apr 14, 2025
Merged

feat: React+Tailwind #38

merged 11 commits into from
Apr 14, 2025

Conversation

dcramer
Copy link
Member

@dcramer dcramer commented Apr 7, 2025

Swaps our usage to be Vite-based per https://developers.cloudflare.com/workers/vite-plugin/

@dcramer
Copy link
Member Author

dcramer commented Apr 7, 2025

  1. No clue if this is going to work in prod yet. Need to figure out how to test on a new worker.

  2. I'm not totally happy w/ the split of code. Might instead do client/shared/worker

Really the main issue w/ the code split is we need TOOL_DEFINITIONS, and need to tree shake out all the other junk and avoid e.g. process.env causing an error....

Copy link

codecov bot commented Apr 7, 2025

Codecov Report

Attention: Patch coverage is 5.48780% with 310 lines in your changes missing coverage. Please review.

Project coverage is 72.46%. Comparing base (bd492eb) to head (5c27a6c).
Report is 12 commits behind head on main.

✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
src/mcp/toolDefinitions.ts 0.32% 306 Missing ⚠️
src/mcp/server.ts 0.00% 2 Missing ⚠️
src/worker/index.ts 0.00% 2 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##             main      #38       +/-   ##
===========================================
- Coverage   84.37%   72.46%   -11.92%     
===========================================
  Files          18       22        +4     
  Lines        2829     2836        +7     
  Branches      181      188        +7     
===========================================
- Hits         2387     2055      -332     
- Misses        442      781      +339     
Flag Coverage Δ
evals 29.51% <1.52%> (+0.03%) ⬆️
unittests 69.70% <5.19%> (-11.92%) ⬇️

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.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@dcramer
Copy link
Member Author

dcramer commented Apr 14, 2025

Pushed this into prod and it def works. Will fix tests and merge.

(still need to figure out why CF preview envs are totally non existant)

@dcramer dcramer merged commit 6577dfd into main Apr 14, 2025
8 checks passed
@dcramer dcramer deleted the feat/vite branch April 14, 2025 02:45
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