Skip to content

pack-smoke: the tarball size cap is reached (main at 14.63 of 14.68 MB) #316

Description

@LinuxDevil

scripts/pack-smoke.ts caps the tarball at MAX_UNPACKED_BYTES = 14 * 1024 * 1024 (14,680,064 bytes), set from the 1.0.0-alpha.8 tarball (~11.4 MB) plus ~25% headroom.

Measured on 2026-10-02 with npm pack --dry-run --json after npm run build:

Where the bytes are: source maps are ~6.9 MB (47%), shipped src/**/*.ts ~2.3 MB, dist JS ~2.4 MB, .d.ts ~1.3 MB, docs/ + llms*.txt ~1.4 MB.

PR #315 raises the cap to 16 MiB so it can merge (stated in that PR). Open question for the owner: keep growing the cap, or shrink the package (for example ship maps without sourcesContent, since src/ is shipped too, or stop shipping one of them). Not changed in #315.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions