cloverfield-tools / cloverfield

A next generation JavaScript boilerplate scaffolding tool.
MIT License
142 stars 8 forks source link

[#33] Search for packages locally #34

Closed nkbt closed 9 years ago

nkbt commented 9 years ago
  1. Added ability to search for global and local packages
  2. Updated tests
  3. Fixed issue with incorrect packages (without name), thanks to additional test
  4. Updated cli to merge local and global packages
  5. Fixed build command to require correct package CLI

Tested by installing fixed (corrected main) cf-package from fs: npm install ~/nkbt/cf-package. All picked up:

20150825-232649
nkbt commented 9 years ago

I've made a little refactoring to keep find-scaffolds pure by passing npm in. Which simplified tests.

No need to reset npm mock, since it is always freshly created.

ericelliott commented 9 years ago

lgtm... remove the boolean trap, and I think we're good to go, right?

nkbt commented 9 years ago

Sure, as soon as I get to my laptop :)

ericelliott commented 9 years ago

:+1:

nkbt commented 9 years ago

Pushed the code for boolean trap fix.