arcanis / ts-pnp

Transparently adds support for Plug'n'Play to TypeScript
67 stars 9 forks source link

Remove '@' from scoped package names #8

Open skoging opened 4 years ago

skoging commented 4 years ago

Fixes #7

The name of scoped packages "@scope/package" are currently transformed to "@types/@scope__package".

/ is handled correctly, but not @.

gausie commented 3 years ago

In lieu of this being merged, I've added

 "resolutions": {
    "ts-pnp": "patch:ts-pnp@^1.2.0#fix-scoped-packages-in-ts-pnp.diff"
  },

to my package.json

With the diff file being the patch from this PR. Thanks @skoging!