megahertz / howfat

Shows how fat is a package
MIT License
86 stars 8 forks source link

feat: support pnpm workspaces #22

Open jrson83 opened 1 year ago

jrson83 commented 1 year ago

It would be great if howfat supports pnpm workspaces.

"dependencies": {
  "@example/core": "workspace:*"
},

Running howfat local inside a monorepo package using "workspace:*", currently throws an error.

Error: Unsupported URL Type "workspace:": workspace:*
megahertz commented 1 year ago

I have no plans to implement pnpm-specific features. Anyway, such a PR is appreciated.