SoonIter / pnpm-duplicate-view

a small tool to show duplicate dependencies in pnpm workspace
0 stars 2 forks source link

package.json has the wrong bin #1

Open wycats opened 1 year ago

wycats commented 1 year ago

It points at bin/index.js but the actual file is bin/dup.js.

wycats commented 1 year ago

I spoke too soon. I'm not 100% sure what the problem is, but the symptom is that bin/index.js doesn't exist in the published package.

wycats commented 1 year ago

Upon further investigation, it looks like the problem is a combination of the fact that bin.dup is pointing at the wrong place (bin/index.js instead of bin/dup.js) and the fact that the bin directory isn't included in the build.

I was able to get it working by building locally. Would you accept a PR to fix these issues or am I missing something?