jaredpalmer / tsdx

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

How to customize the package name? #1112

Open kohaiy opened 2 years ago

kohaiy commented 2 years ago

Current Behavior

My package name is @xxxui/react, by the safePackageName function, it get react.

Desired Behavior

@xxxui/react -> xxxui-react

Suggested Solution

Can I customize the package name? I tried to modify tsdx.config.js, but it didn't work. I want to customize the package name in tsdx.config.js, instead of adding --name to every command.

Thanks.