Skip to content
| Marketplace
Sign in
Visual Studio Code>Linters>Ship List: Publish Preview & Leak Check for npmNew to Visual Studio Code? Get it now.
Ship List: Publish Preview & Leak Check for npm

Ship List: Publish Preview & Leak Check for npm

Zecro

| (0) | Free Trial
Preview exactly what npm publish would put in your package (the same list as npm pack --dry-run), right in the editor. Pro shows why each file ships or not, diffs the set against your last snapshot, flags leaks in the would-ship set (.env files, private keys, registry tokens, source maps, tests, AI
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Ship List: Publish Preview & Leak Check for npm

See why each file would ship, and what changed since your last release, before npm publish. Ship List shows the exact set of files npm would publish from your package, right in VS Code. Pro traces why each file is included or left out, diffs the set against a snapshot you saved, flags leaks in that set, and warns when a size budget is exceeded.

10 free previews, then Pro ($9 one-time). Only running Preview Publish Set uses a free preview. No account, no telemetry, nothing uploaded. Get Ship List Pro

Why each file ships: the files field, the ignore file and line, or npm's own rule

Why

On March 31, 2026, version 2.1.88 of the @anthropic-ai/claude-code npm package shipped with a source map that exposed the tool's source code, more than 512,000 lines according to Ars Technica. Anthropic called it a release packaging issue caused by human error.

npm decides what ships from the files field, .npmignore, .gitignore (only when there is no .npmignore in that folder) and its own built-in rules. Add a .npmignore and your .gitignore stops applying, so a .env you kept out of git can still go to the registry.

What Pro adds

Why each file ships, or doesn't. Every file gets the rule that decided it: "files"[0] "dist", .npmignore line 4: *.map, inside test/, which is excluded: .npmignore line 1, "main" field is always included, always excluded by npm (lockfile). When a .npmignore has switched off a .gitignore rule that would have excluded a shipped file, Ship List says so.

Snapshot diff. Save a snapshot after a release; the next preview lists added, removed and resized files and the change in total size.

Size budget and the diff against the last snapshot

Leak flags on the would-ship set. Only files that would actually be published are checked:

  • .env files and secret-looking values (registry auth lines, access tokens, cloud keys, private key blocks). Values are never shown in full. Known token formats show the public prefix and the length, such as AKIA (20 chars). Other secret-like values, such as passwords, show only the length, such as (31 chars).
  • Private keys and key stores (.pem, .key, .p12, id_rsa), registry config files.
  • Source maps, and whether they embed your original source (sourcesContent).
  • Tests, fixtures and coverage, AI assistant transcripts and local settings, old .tgz tarballs, heap snapshots and other dumps, database files, editor and CI settings, nested lockfiles.

Leak flags on the would-ship set; known tokens show a public prefix and length, other values show length only

Size budget. Set limits for the total unpacked size, the number of files and any single file (defaults 10 MB, 1,000 files, 5 MB).

Free: the publish preview

The free part is the preview itself: the same file list and sizes that npm pack --dry-run --json gives, computed with npm-packlist (the library npm itself uses) in the Ship List view (its own icon in the Activity Bar), plus a report you can keep open beside your code.

The free preview: the publish set in the Ship List view and the free previews left in the status bar

How this differs from what you already have

  • npm pack --dry-run and npm publish --dry-run print the file list in a terminal. They do not say why a file is included or excluded, and they keep no history to compare against. Ship List's free preview matches their list. Pro adds a per-file trace and a snapshot diff, plus leak flags and a size budget on the would-ship set.
  • VS Code has no built-in view of what a package will publish.
  • Secret scanners often look at your repository or your git history. What npm puts in the tarball is a different set: files can be ignored by git but still published, or committed but never published.

How to use

  1. Open a folder with a package.json.
  2. Run Ship List: Preview Publish Set from the Command Palette, the cloud button in the Ship List view (Activity Bar), the button in the editor title of a package.json, or right-click a package.json.
  3. Read the report, expand Ships in the view, and (Pro) work through the why-trace, the snapshot diff and Leak flags.
  4. Pro: after a release, run Ship List: Save Snapshot (Pro) so the next preview shows what changed.

In a monorepo, Ship List previews the package of the file you are editing, or asks which package.json to use.

What uses a free preview

Each run of Preview Publish Set uses one of the 10 free previews, whichever way you start it. Refreshing the view, expanding the tree, opening the report and changing settings never use one. If package.json cannot be read, no free preview is used. After 10 previews, previews need Pro: buy it on Payhip and install the Pro add-on from your receipt, or enter your license key with Ship List: Enter license key. Get Ship List Pro ($9 one-time)

Settings

  • shipList.budget.maxUnpackedKB (10000), shipList.budget.maxFiles (1000), shipList.budget.maxFileKB (5000): Pro size budget in kB (1 kB = 1,000 bytes, as npm reports sizes); 0 turns a limit off.
  • shipList.leaks.allow: glob patterns of shipped files you have checked and want no leak flags for.
  • shipList.openReportAfterPreview, shipList.reportAsPreview: how the report opens.

Limits

  • Ship List does not run your prepack or prepare scripts. If they create or delete files, build first and then preview.
  • The file list matches npm-packlist 10.0.4, the version in npm 11.21. Other npm versions can differ in edge cases.
  • Leak flags are pattern checks, not proof. A clean result does not guarantee that nothing sensitive ships.
  • Files over 2 MB and binary files are flagged by name only, not scanned inside.

Privacy

Ship List reads your package folder on your computer and nothing else. It sends no file names, file contents or findings anywhere, has no telemetry, and runs previews offline. Snapshots stay in VS Code's storage on your computer, not in your project. The only network request is the optional license check to the Zecro license service when you enter a key (and about every 30 days while a key is stored). Privacy policy: https://zecro.io/apps/vscode/ship-list/privacy/

Support

zecroapp@gmail.com · https://zecro.io/apps/vscode/ship-list/support/

Built by Zecro LLC with AI-assisted development; no AI runs inside the extension. Licensed under the Ship List EULA (see LICENSE); bundled open-source components are listed in THIRD-PARTY-NOTICES.md.

npm is a trademark of npm, Inc. Ship List is not affiliated with or endorsed by npm, Inc. or GitHub, Inc.

Claude and Claude Code are trademarks of Anthropic, PBC. Ship List is not affiliated with or endorsed by Anthropic.

© 2026 Zecro LLC. Washington State governing law.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft