mirror of
https://github.com/vale981/metalsmith-collections
synced 2025-03-04 17:01:41 -05:00
0.0.2
* swap to `merge` to not act on clones
This commit is contained in:
parent
dc2f5f1994
commit
d84cb86284
3 changed files with 9 additions and 5 deletions
|
@ -1,4 +1,8 @@
|
|||
|
||||
0.0.2 - February 6, 2013
|
||||
------------------------
|
||||
* swap to `merge` to not act on clones
|
||||
|
||||
0.0.1 - February 5, 2013
|
||||
------------------------
|
||||
:sparkles:
|
|
@ -1,5 +1,5 @@
|
|||
|
||||
var defaults = require('defaults');
|
||||
var merge = require('merge');
|
||||
|
||||
/**
|
||||
* Expose `plugin`.
|
||||
|
@ -48,6 +48,6 @@ function plugin(collections){
|
|||
});
|
||||
|
||||
var data = metalsmith.metadata();
|
||||
metalsmith.metadata(defaults(data, arrs));
|
||||
metalsmith.metadata(merge(data, arrs));
|
||||
};
|
||||
}
|
|
@ -2,14 +2,14 @@
|
|||
"name": "metalsmith-collections",
|
||||
"description": "A Metalsmith plugin that adds collections of files to the global metadata.",
|
||||
"repository": "git://github.com/segmentio/metalsmith-collections.git",
|
||||
"version": "0.0.1",
|
||||
"version": "0.0.2",
|
||||
"license": "MIT",
|
||||
"main": "lib/index.js",
|
||||
"dependencies": {
|
||||
"defaults": "~1.0.0"
|
||||
"merge": "~1.1.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"metalsmith": "0.x",
|
||||
"mocha": "1.x"
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Reference in a new issue