fix: ship src for source maps + 0.1.1 release prep - #25
Merged
Conversation
Published source maps (dist/*.js.map, dist/*.d.ts.map) have always pointed their `sources` entries at ../src/*.ts, but src/ was never part of the package's files allowlist. Every source map in the published tarball dangled, so declarationMap go-to-definition and debugger step-into were both dead for consumers of 0.1.0. Add "src" to package.json's files array so the referenced sources ship alongside the maps. Verified: 7 source files now included in the tarball, which grows from 60kB to 84kB. All gates pass, including attw and publint. Closes #22
Bumps package.json version to 0.1.1 and adds the generated CHANGELOG entry for this release. The release workflow verifies that the pushed tag, package.json version, and a non-empty CHANGELOG section all agree before publishing.
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
src/was not included in thefilesallowlist, so every.mapfile'ssourcesentries pointed at TypeScript files that didn't exist in the installed package.declarationMapgo-to-definition was effectively dead for all 0.1.0 consumers. Addingsrcto the allowlist fixes this; the tarball grows from roughly 60kB to 84kB.Changes
Packaging Fix
srcto thefilesallowlist so shipped source maps resolve to real TypeScript sources instead of dangling.Release Prep
## [0.1.1] - 2026-07-28entry generated by git-cliff.Notes
v0.1.1, which triggers the release workflow. This will be the first publish to go through OIDC trusted publishing.Closes #22
Test plan
src/**/*.tsvianpm pack --dry-runv0.1.1after merge and confirm release workflow succeeds through OIDC trusted publishing