EqualMa / gitpkg

use a sub directory of a github repo as yarn / npm dependency directly
https://gitpkg.vercel.app
324 stars 18 forks source link

package name is wrong when i use pnpm #37

Open catofxue opened 2 years ago

catofxue commented 2 years ago

when i use this command: pnpm add 'https://gitpkg.now.sh/vuejs/vue/packages/compiler-sfc/src?main'

my package.json wrong: "dependencies": { "src?main": "https://gitpkg.now.sh/vuejs/vue/packages/compiler-sfc/src?main" },

EqualMa commented 2 years ago

@catofxue Hi. You can edit the name manually in the package.json.

catofxue commented 2 years ago

@catofxue Hi. You can edit the name manually in the package.json.

That's what I'm doing right now,but i want to know is there any plain for support pnpm in the future?thank you