jaredpalmer / tsdx

Zero-config CLI for TypeScript package development
https://tsdx.io
MIT License
11.26k stars 508 forks source link

fix: preserve scoped package name #736

Open fi3ework opened 4 years ago

fi3ework commented 4 years ago

Preserve inputted package name of name field in package.json. Fixes #714

Before

input @byted/test,

name: test

After

input @byted/test,

name: @byted/test
agilgur5 commented 4 years ago

I need to double-check whether this impacts build behavior because safeName is used there and even has tests around this. I tentatively labeled it as minor before because it may be breaking pending further investigation.