Skip to content

Add knip integration, refactor code, and update CI workflow #155

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 4 commits into from
Jun 30, 2025
Merged

Conversation

J3m5
Copy link
Contributor

@J3m5 J3m5 commented Jun 30, 2025

This pull request introduces the following improvements:

  • Added knip as a devDependency, with scripts for running and auto-fixing unused code and dependencies.
  • Removed unused devDependencies and cleaned up related lockfile entries.
  • Changed some TypeScript interfaces to non-exported where not needed in src/hydra/fetchJsonLd.ts and src/hydra/types.ts.
  • Added Prettier formatting scripts to address knip error and ensure consistent code style.
  • Updated CI workflow to include a step for running knip after test coverage.

@J3m5 J3m5 self-assigned this Jun 30, 2025
Copy link

github-actions bot commented Jun 30, 2025

Coverage Report

Status Category Percentage Covered / Total
🟢 Lines 71.35% (🎯 70%) 289 / 405
🟢 Statements 71.39% (🎯 70%) 292 / 409
🟢 Functions 71.64% (🎯 70%) 48 / 67
🟢 Branches 59.63% (🎯 58%) 229 / 384
File Coverage
File Stmts Branches Functions Lines Uncovered Lines
Changed Files
src/hydra/fetchJsonLd.ts 100% 95% 100% 100%
Generated in workflow #236 for commit 21fe9e1 by the Vitest Coverage Report Action

@J3m5 J3m5 merged commit 84e1a91 into main Jun 30, 2025
1 check passed
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