-
Notifications
You must be signed in to change notification settings - Fork 35
Closed
Labels
Description
Is there an existing issue for this?
- I have searched the existing issues
Current Behavior
Official npm docs (here) recommend using npx npm-packlist.
To see what will be included in your package, run
npx npm-packlist.
I believe that feature was broken in #128 with the removal of the "bin" property from "package.json".
Current behavior is:
$ npx npm-packlist
npm ERR! could not determine executable to run
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/username/.npm/_logs/2023-03-19T00_30_14_201Z-debug-0.log
@nlf noted in the PR that "the npm-packlist bin has also been removed." but did not explain why.
Expected Behavior
npx npm-packlist should a list of files that will be included during npm publish.
Steps To Reproduce
- In a repo of a project that is ready to be published to npm
- Execute on the command line
npx npm-packlist
Environment
- npm: 8.19.3
- Node: 18.13.0
- OS: macOS 13.2.1
- platform: Macbook Pro
- iTerm2
- zsh
tcardlab