Skip to content

Split link-check CLIs out to the standalone lychee-cache package#2671

Merged
chalin merged 2 commits into
google:mainfrom
chalin:chalin-m24-lychee-cache-2026-0701
Jul 1, 2026
Merged

Split link-check CLIs out to the standalone lychee-cache package#2671
chalin merged 2 commits into
google:mainfrom
chalin:chalin-m24-lychee-cache-2026-0701

Conversation

@chalin

@chalin chalin commented Jul 1, 2026

Copy link
Copy Markdown
Collaborator
  • Contributes to npm-dep modernization: adopt Hugo's first-class npm-module support for Bootstrap/Font-Awesome #2668
  • Sources the CLIs from lychee-cache instead of the copy bundled under scripts/lychee:
    • Adds lychee-cache as a docsy.dev devDependency and runs its lychee-norm-cache / refcache bins via npx.
  • Drops the bundled tooling from the published docsy package:
    • Removes scripts/lychee/ and its two bin plus three files entries.
    • Trims the npm-pack contract test and the NPM smoke check to the remaining gen-favicons bin.
  • Leaves the pinned lychee binary install and the offline lychee sanity tests (tests/lychee) in place.

chalin added 2 commits July 1, 2026 05:39
- Adds lychee-cache as a docsy.dev devDependency and runs its lychee-norm-cache and refcache bins via npx, replacing the local scripts/lychee paths.
- Aligns docsy with docsy-example, which already sources these CLIs from the standalone package.
- Removes scripts/lychee/ along with its two bin and three files entries from the published docsy package, so the CLIs ship only from chalin/lychee-cache.
- Updates the npm-pack contract test and the NPM smoke check to expect just the gen-favicons bin.
@chalin chalin merged commit 1aa519e into google:main Jul 1, 2026
17 checks passed
@chalin chalin deleted the chalin-m24-lychee-cache-2026-0701 branch July 1, 2026 09:51
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