You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
Unfortunately due to the way our dependencies are set up this bin can't work, there was a circular dependency on @npmcli/arborist that would prevent us from updating our packages.
Realistically this is a bad idea anyways since this package doesn't parse your config or cli args like npm itself, so npm will always be the more correct way to do this.
Is there an existing issue for this?
Current Behavior
Official npm docs (here) recommend using
npx npm-packlist
.I believe that feature was broken in #128 with the removal of the "bin" property from "package.json".
Current behavior is:
@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 duringnpm publish
.Steps To Reproduce
npx npm-packlist
Environment
The text was updated successfully, but these errors were encountered: