Skip to content

Conversation

@flakey5
Copy link
Member

@flakey5 flakey5 commented Nov 3, 2025

Move asset folder copying to its own generator that we can call separately from the legacy-html generator

Description

Validation

Related Issues

Check List

  • I have read the Contributing Guidelines and made commit messages that follow the guideline.
  • I have run node --run test and all tests passed.
  • I have check code formatting with node --run format & node --run lint.
  • I've covered new added functionality with unit tests if necessary.

Move asset folder copying to its own generator that we can call separately from
the legacy-html generator

Signed-off-by: flakey5 <73616808+flakey5@users.noreply.github.com>
@flakey5 flakey5 requested a review from a team as a code owner November 3, 2025 21:13
@vercel
Copy link

vercel bot commented Nov 3, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Updated (UTC)
api-docs-tooling Error Error Nov 3, 2025 9:13pm

@codecov
Copy link

codecov bot commented Nov 3, 2025

Codecov Report

❌ Patch coverage is 58.18182% with 23 lines in your changes missing coverage. Please review.
✅ Project coverage is 72.62%. Comparing base (dca59d6) to head (78114a9).
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
src/generators/legacy-html-assets/index.mjs 56.00% 22 Missing ⚠️
bin/commands/generate.mjs 50.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #479      +/-   ##
==========================================
- Coverage   74.01%   72.62%   -1.39%     
==========================================
  Files         108      110       +2     
  Lines       10316    10553     +237     
  Branches      685      686       +1     
==========================================
+ Hits         7635     7664      +29     
- Misses       2678     2886     +208     
  Partials        3        3              

☔ 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.

@flakey5 flakey5 closed this Nov 3, 2025
@avivkeller
Copy link
Member

I don't love this approach, it feels like a waste of a generator. This should, IMO, be one generator, or no generators and handled by the Makefile (although I'd prefer the former)

@flakey5 flakey5 deleted the flakey5/20251103/asset-gen branch November 20, 2025 01:17
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.

4 participants