arethetypeswrong / arethetypeswrong.github.io

Tool for analyzing TypeScript types of npm packages
https://arethetypeswrong.github.io
MIT License
1.12k stars 38 forks source link

Feature: support multiple package managers #177

Closed goestav closed 2 months ago

goestav commented 2 months ago

This pull request adds support for other package managers like pnpm and yarn.

Closes #173

changeset-bot[bot] commented 2 months ago

🦋 Changeset detected

Latest commit: b8d7fa0a9e57df01fe4071cdd949437b26990216

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package | Name | Type | | --------------------- | ----- | | @arethetypeswrong/cli | Minor |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

goestav commented 1 month ago

~~Hello @andrewbranch, you're correct about pnpm not supporting custom filenames for tarballs. I did mention that in the comment here but maybe I should've made that clear in the merge request description as well. Yarn does support it however.~~

~~What do you think about an option that lets you specify the package manager manually for the pack command? Like for example: attw --pack . --package-manager pnpm (or attw --pack . -m pnpm for short). The default value should be npm so it doesn't break the workflow of others.~~

Edit: it turns my issue from #173 was relevant to this npm bug, for some reason I'm not experiencing the problem anymore now.