Adds sane defaults #8

Merged
merged 6 commits into from Aug 19, 2013

Projects

None yet

2 participants

@dscape
Collaborator
dscape commented Aug 14, 2013

The idea is that you can simply provide a string (i.e. the dirname of the folder to require) and some sane defaults are assumed:

  • require all json files
  • require all js files
  • exclude anything in .svn or .git

I did some styling changes (75a2d31) to make this more consistent with the overall style of code. However, feel free to cherry pick around those changes.

A bug fix related to bad semver handling was also fixed in a45342f.

Documentation and tests included in the patch

Owner
felixge commented Aug 19, 2013

@dscape 💖 ! Added you on github / npm. Feel free to merge / publish a new version whenever you'd like!

@dscape dscape merged commit de3060d into felixge:master Aug 19, 2013
@dscape dscape deleted the dscape:defaults branch Aug 19, 2013
Collaborator
dscape commented Aug 19, 2013

Thank you Felix. Published as v0.0.8:

Owner
felixge commented Aug 19, 2013

💖

Collaborator
dscape commented Aug 19, 2013

How di I even respond to that? 🍼 whoooo :)

Come visit London soon. Gret British Node Conf seems like a great excuse.

We should build products together :)

Owner
felixge commented Aug 22, 2013

Come visit London soon. Gret British Node Conf seems like a great excuse.

Will be on vacation during this time : /.

We should build products together :)

I'm still undecided on what I'll do in 2014 ; )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment