Releases: ArmorDarks/grunt-gray-matter
Release list
1.3.0
Added
-
Added error catching for Gray Matter with information about file which caused error for easier debugging.
Now whenever there is an error in Fron Matter, task will not silently ignore it nor will shut down completely. Instead, it will run all files and report all encountered errors.
If there are any errors by the end of the task, it will throw and exception.
-
Added better reporting about successfully processed and failed files.
-
Added NPM 5 lockfile.
-
Added
package.jsonmainproperty pointing to the task file. -
Added
package.jsonfilesproperty to ensure that task directory will be always preserved. -
Added
snazzyfor betterstandardoutput.
Changed
-
Raised minimum required Node version to
6.0. -
Updated dependencies.
-
Updated Gray Matter to version
3.0.8, which resolved gray-matter#37.No longer task will silently fail when Front Matter contains syntax errors 🎸
-
Replaced
lodashwithlodash.setto minimize dependencies. -
Grunt and task files rewritten in pure JavaScript. Sorry, CoffeeScript 💔
-
Added
.editorconfig.Somehow it was missing for all that time, but still I slept without nightmares.
-
Other internal cleanups and improvements.
1.2.0
Task now properly works with expand: true option specified in files. If you used expanded files in task config and still want to receive monolith JSON file, use this pattern instead:
grunt.initConfig
grayMatter:
build:
src: 'source/templates/{,**/}*.html'
dest: 'data/matter.json'See changelog for details.