GitShow/sveltejs/dts-buddy
sveltejs

dts-buddy

WORK IN PROGRESS DO NOT USE

by sveltejs
Star on GitHubForknpm

JavaScript

352 stars19 forks12 contributorsActive · 1mo agoSince 2023v0.8.3MIT

Meet the team

See all 12 on GitHub →
Rich-Harris
Rich-Harris148 contributions
dominikg
dominikg24 contributions
github-actions[bot]Bot
github-actions[bot]9 contributions
benmccann
benmccann8 contributions
dummdidumm
dummdidumm5 contributions
teemingc
teemingc4 contributions
gtm-nayan
gtm-nayan2 contributions
jasonlyu123
jasonlyu1231 contribution

Languages

View on GitHub →
JavaScript94.6%
TypeScript5.4%

Commit activity

Last 12 weeks · 2 commits

Full graph →

Community health

2 of 6 standards met

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

Recent PRs & issues

Active · 6 in progress · Last activity 1mo ago
See all on GitHub →
Nic-Polumeyv
feat: return included-but-unexported declarations from createBundleOpenPR

This lets a consumer fail its build when a type used in a public signature isn't importable, instead of finding out from a user (sveltejs/svelte#18648, ). In , step 2 marks everything reachable from the entry's exports as , but only the declarations traced directly from an export get . Step 3 prints the rest without a modifier and the trailing hides them (#82). That is right for private helper types and wrong when a public type was simply never exported; the output looks the same in both cases, and nothing else reports it. keeps the set of declarations traced from exports and returns the included remainder alongside ; collects them per module and resolves to . asserts the returned value through a new fixture in the harness. Touches the same loop as #134; rebases trivially in either order.

Nic-Polumeyv · 1mo ago
randName
feat: reuse exports across entrypointsOpenPR

resolves #90 also fixes type-only exports (see the test) added a lot of new tests, but when following imports a bunch of weird and wonderful things can happen along the way the most important test is probably which illustrates the original issue a note on entrypoint order the order in which the entrypoints are processed will affect the output (hence the tests avoid the root index.js which always goes first). specifically, it affects which submodule a shared declaration is exported from. for config via , it's the same order as the field (from top to down), so the idea would be to put more "core" packages earlier so they can claim the export first.

randName · 1mo ago
jrmajor
fix: handle external wildcard importsOpenPR
jrmajor · 3mo ago

Recent fixes

View closed PRs →
Rich-Harris
fix: strip internal functionsMergedPR
Rich-Harris · 2mo ago
randName
fix: strip internal properties in .js filesMergedPR

for some reason wasn't working for me but the test was there... turns out .js properties are marked differently. i've also moved the check upfront, do let me know if that order was actually intentional

randName · 3mo ago
teemingc
fix: ensure newline between ambient modules and the restMergedPR

We're missing a newline, causing the JSDoc syntax to get interpreted incorrectly and the description lost from the type https://github.com/sveltejs/kit/blob/ce77bf3e266c77486a35d050ca5929c900000541/packages/kit/types/index.d.ts#L3781 This PR adds a newline beneath the bundled types if the there are any ambient modules

teemingc · 3mo ago
Structured data for AI agents

Repository: sveltejs/dts-buddy. Description: WORK IN PROGRESS DO NOT USE Stars: 352, Forks: 19. Primary language: JavaScript. Languages: JavaScript (94.6%), TypeScript (5.4%). License: MIT. Latest release: v0.8.3 (2mo ago). Open PRs: 6, open issues: 14. Last activity: 1mo ago. Community health: 50%. Top contributors: Rich-Harris, dominikg, github-actions[bot], benmccann, dummdidumm, teemingc, gtm-nayan, jasonlyu123, coreprocess, randName and others.

·@ofershap

Replace github.com with gitshow.dev