CloudCannon / bookshop

📚 A component development workflow for static websites.
MIT License
249 stars 21 forks source link

`gen` command is a bit confusing, as there is a `gen` package on npm as well #11

Closed Robbie-Cook closed 3 years ago

Robbie-Cook commented 3 years ago

https://www.npmjs.com/package/gen

Robbie-Cook commented 3 years ago

Proposed fix: convert

"bin": {
    "gen": "src/index.js"
 }

to:

"bin": {
    "bookshop-gen": "src/index.js",
    "gen": "src/index.js"
 }

and use bookshop-gen,

or "bin": "src/index.js" if we want @bookshop/gen

bglw commented 3 years ago

Addressed at #20 if you want to review that

Robbie-Cook commented 3 years ago

Great, will close on merge :)