list-npm-package-content Skill

List the contents of an npm package tarball before publishing. Use when the user wants to see what files are included in an npm bundle, verify package contents, or debug npm publish issues.

Install
npx skills add 'https://github.com/vercel/ai/tree/main/skills/list-npm-package-content'
Download bundle ↓

scripts/list-package-files.sh

scripts/list-package-files.shBrowse 2 files
View on GitHub
← Back to SKILL.md
#!/usr/bin/env bashset -e # Build, pack, list contents, cleanuppnpm buildtarball=$(pnpm pack | tail -1)tar -tzf "$tarball"rm "$tarball" 
Referenced from SKILL.md