metalsmith / layouts

A metalsmith plugin for layouts
MIT License
116 stars 49 forks source link

Add suppressNoFilesError #160 #163

Closed mrhubbs closed 5 years ago

mrhubbs commented 6 years ago

This enables proper integration with incremental plugins like metalsmith-watch.

mrhubbs commented 6 years ago

FYI @ismay

ismay commented 6 years ago

Thanks! Could you rebase on master? I pushed a commit that fixes the bug that caused the CI to fail. That way we can see if the tests pass with your changes.

mrhubbs commented 6 years ago

Ah okay. I tried to run the tests locally. They wouldn't run so I thought maybe I had some environment wrong. I've never used jest before.

I've added a test for the new behavior. All tests are passing on my machine.

ismay commented 5 years ago

Sorry it took a while, was a bit busy. Thanks for the PR!

ismay commented 5 years ago

Published with 2.2.0

mrhubbs commented 5 years ago

No problem. Thanks for working on this project; it's a pleasure to use.

I found metalsmith-layouts while working on a stand-a-lone app, using Metalsmith and plugins, to create static sites.

ismay commented 5 years ago

Thanks! That’s good to hear 😊. Hadn’t heard of forge before, seems cool!