GitShow/antfu/vitest-package-exports
antfu

vitest-package-exports

A Vitest util to get all exported APIs of a package and prevent unintended breaking changes.

by antfu
exportssnapshotvitest
Star on GitHubForknpm

TypeScript

101 stars5 forks3 contributorsQuiet · 2mo agoSince 2025v1.2.0MIT

Meet the team

See all 3 on GitHub →
antfu
antfu29 contributions
sheremet-va
sheremet-va2 contributions
BobbieGoede
BobbieGoede1 contribution

Languages

View on GitHub →
TypeScript99.1%
JavaScript0.9%

Commit activity

Last 12 weeks · 1 commit

Full graph →

Community health

5 of 6 standards met

Community profile →
85
✓README✓License✓Contributing✓Code of Conduct○Issue Template✓PR Template

Recent PRs & issues

Quiet · 1 discussion · Last activity 2mo ago
See all on GitHub →
antfu
Support TypeScript ExportsOpenIssue

Clear and concise description of the problem Ideally I want also another utility for snapshoting dts exports. Suggested solution This would be a bit tricky to do it correctly. For the best quality, we might need to run a typescript server to resolve the entry. Or we could do a simple static analyse to parse the dts file. But this would miss things like Another idea is to generate a dts file using , and let users' typecheck process to guard it. Alternative _No response_ Additional context _No response_ Validations [x] Follow our Code of Conduct [x] Read the Contributing Guide. [x] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.

antfu · 1y ago

Recent fixes

View closed PRs →
sheremet-va
feat: allow sequentially loading entry pointsMergedPR

Please be aware that vibe-coding contributions are 🚫 STRICTLY PROHIBITED. We are humans behind these open source projects, trying hard to maintain good quality and a healthy community. Not only do vibe-coding contributions pollute the code, but they also drain A LOT of unnecessary energy and time from maintainers and toxify the community and collaboration. All vibe-coded, AI-generated PRs will be rejected and closed without further notice. In severe cases, your account might be banned organization-wide and reported to GitHub. PLEASE SHOW SOME RESPECT and do not do so. Before submitting the PR, please make sure you do the following: Read the Contributing Guide. Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate. Provide a description in this PR that addresses what the PR is solving and WHY**, or reference the issue that it solves (e.g. ). Ideally, include relevant tests that fail without this PR but pass with it. [ ] Linked Issues fixes # Additional context This is a bit unorthodox, but when there is in one of the dependencies, Node.js can break with this error: See PR in vitest: https://github.com/vitest-dev/vitest/actions/runs/21671470064/job/62480274147?pr=9586

sheremet-va · 4mo ago
sheremet-va
fix: don't turn a bare specifier into a file pathMergedPR

See https://github.com/vitest-dev/vitest/pull/9354 will never be an absolute path

sheremet-va · 5mo ago
BobbieGoede
docs: typoMergedPR

Description I can't help it, sorry 🫣 Linked Issues Additional context

BobbieGoede · 1y ago
Structured data for AI agents

Repository: antfu/vitest-package-exports. Description: A Vitest util to get all exported APIs of a package and prevent unintended breaking changes. Stars: 101, Forks: 5. Primary language: TypeScript. Languages: TypeScript (99.1%), JavaScript (0.9%). License: MIT. Topics: exports, snapshot, vitest. Latest release: v1.2.0 (4mo ago). Open PRs: 0, open issues: 1. Last activity: 2mo ago. Community health: 85%. Top contributors: antfu, sheremet-va, BobbieGoede.

·@ofershap

Replace github.com with gitshow.dev