build(package): enable validation checks and update tooling#8
Merged
Conversation
Install publint and @arethetypeswrong/core so tsdown can validate package exports and type resolution during package builds. Configure attw for the ESM-only package and make publint warnings fail through strict mode.
Update pnpm, dependency pins, and GitHub Action pins used by the workspace. Migrate oxlint configuration toward the recommended correctness category and fix the newly enabled JSX accessibility checks.
wiyco
marked this pull request as ready for review
June 22, 2026 10:35
Code Metrics ReportDownload coverage report: lcov-report
Details | | main (eb5b89c) | #8 (0132495) | +/- |
|---------------------|----------------|--------------|------|
| Coverage | 100.0% | 100.0% | 0.0% |
| Files | 64 | 64 | 0 |
| Lines | 1358 | 1358 | 0 |
| Covered | 1358 | 1358 | 0 |
- | Code to Test Ratio | 1:1.8 | 1:1.8 | -0.1 |
| Code | 4356 | 4357 | +1 |
| Test | 8080 | 8080 | 0 |
| Test Execution Time | 1s | 1s | 0s |Code coverage of files in pull request scope (100.0% → 100.0%)
Reported by octocov |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
publintand Are The Types Wrong checks for the published SVGO plugin package.pnpm/action-setupworkflow references.correctnesscategory and keep only project-specific rule overrides.Validation
pnpm install --frozen-lockfilepnpm run typecheckpnpm run checkpnpm run testpnpm --filter ./packages/svgo-plugin-hoist-stroke-width buildNotes
The package build now runs both
[attw]and[publint]through tsdown and reports no issues.