[Publisher repository snapshot. Source commit dated 2026-10-16 (UTC), raw source captured on 2026-10-17 (UTC). This file exists in the checked default-branch snapshot fce9210c6405c0ad8452fee3f50717e8ea910b97. The source is marked metadata.internal: true for repository-internal contributor workflows. Installation and execution are unverified.]
Source: https://raw.githubusercontent.com/vercel/ai/fce9210c6405c0ad8452fee3f50717e8ea910b97/skills/list-npm-package-content/SKILL.md
Publisher copyright and license notice:
Copyright 2023 Vercel, Inc.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
List npm Package Content
This skill lists the exact contents of an npm package tarball - the same files that would be uploaded to npm and downloaded by users.
Usage
Run the script from the package directory (e.g., packages/ai):
bash scripts/list-package-files.sh
The script will build the package, create a tarball, list its contents, and clean up automatically.
Understanding Package Contents
The files included are determined by:
filesfield inpackage.json- explicit allowlist of files/directories.npmignore- files to exclude (if present).gitignore- used if no.npmignoreexists- Always included:
package.json,README,LICENSE,CHANGELOG - Always excluded:
.git,node_modules,.npmrc, etc.