jaredpalmer / tsdx

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

tsdx create support scope name #714

Open hardfist opened 4 years ago

hardfist commented 4 years ago

Current Behavior

after running tsdx create @byted/test, tsdx creates a package with the following pakcage.json

// package.json
{
  name:"test" // I actually want this to be @byted/test
}

Expected behavior

generate the following package.json

// package.json
{
  name:"@byed/test" // I actually want this to be @byted/test
}

Suggested solution(s)

it's confusing scope means directory or scope, maybe a prompt for package name could help,which use @byted/test as default image

Additional context

Your environment

Software Version(s)
TSDX
TypeScript
Browser
npm/Yarn
Node
Operating System
emersonlaurentino commented 4 years ago

736