JSRocksHQ / harmonic

The next static site generator
http://harmonicjs.com/
MIT License
282 stars 26 forks source link

Update dependencies and add badge #121

Closed UltCombo closed 9 years ago

UltCombo commented 9 years ago

We have quite a few outdated dependencies at the moment:

C:\repos\harmonic>npm outdated --depth 0
Package     Current  Wanted  Latest  Location
less          1.7.5   1.7.5   2.4.0  less
ncp           0.5.1   0.5.1   2.0.0  ncp
stylus       0.45.1  0.45.1  0.50.0  stylus
commander     2.2.0   2.2.0   2.6.0  commander
chalk         0.5.1   0.5.1   1.0.0  chalk
permalinks    0.2.1   0.2.1   0.3.1  permalinks
should        4.6.5   4.6.5   5.0.1  should
co            3.0.6   3.0.6   4.4.0  co

After updating the dependencies, we can add these badges to help us keep track of the dependencies status:

Dependency Status devDependency Status

jaydson commented 9 years ago

Good. Also, we need to check for unused deps, right? We're still using co? less and stylus may be removed when Harmonic finally support plugins.

BTW, what is the best approach updating dependencies?

UltCombo commented 9 years ago

Also, we need to check for unused deps, right?

Yep.

We're still using co?

Yes. I believe we can drop it after fixing #68 -- though, once we move preprocessors to plugins, there will be little point in changing the prompt module I guess.

BTW, what is the best approach updating dependencies?

Not sure what you really mean, I guess it is the standard process -- bump to latest version, read docs looking for API changes and other breaking changes, update our code accordingly and hope stuff doesn't break. :stuck_out_tongue_winking_eye: