Skip to content

Releases: ArmorDarks/grunt-gray-matter

1.3.0

06 Oct 13:54
Compare
Choose a tag to compare

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.json main property pointing to the task file.

  • Added package.json files property to ensure that task directory will be always preserved.

  • Added snazzy for better standard output.

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 lodash with lodash.set to 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

12 Feb 21:44
Compare
Choose a tag to compare

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.

1.1.0

11 Feb 12:55
Compare
Choose a tag to compare

See changelog for details.

1.0.0

06 Feb 15:22
Compare
Choose a tag to compare

See changelog for details.