Rush / link-module-alias

Register aliases of directories and custom module paths in Node - no require hook
MIT License
307 stars 14 forks source link

Added possibility to specify typings field for links to file #15

Closed timocov closed 5 years ago

timocov commented 5 years ago

As soon for an alias to a file the tool generates own package.json, it might be useful to specify "typings" field for such aliases (for example, in case when typings file has different name and/or path).

timocov commented 5 years ago

I'm not sure about other fields - quite possible it might be useful to override other fields like module or something like that.

timocov commented 5 years ago

Oh, typings field is used by TypeScript compiler to detect where typings for a package are located.

timocov commented 5 years ago

@Rush ping

NetOpWibby commented 5 years ago

Would be nice if this was merged.

Rush commented 5 years ago

Thanks for pinging. I must have missed the previous notification