An extremely simple, pluggable static site generator for Node.js
MIT License
b170cf0
774a164
chokidar
: 3.5.3 ▶︎ 3.6.00d8d791
Published by webketje 12 months ago
Published by webketje over 1 year ago
34239d9
Documents metalsmith.watch() getter signature in TSa719025
Normalizes ms.watch().paths to an array, allows access to a subset of chokidar options as advertised5a516b2
Sets chokidar watchOption awaitWriteFinish to false, and batch timer to 0 to speed up watching23b0944
Fixes #389: ensure not missing watcher ready event to successfully launch build05265ce
Fixes formatting issue in types JSdoc commentsPublished by webketje over 1 year ago
58d22a3
2d84fbe
9661ddc
45a4afe
424e6ec
24fcffb
4929bc2
60e173a
excerpt
property 2bfe800
acb363e
Full Changelog: https://github.com/metalsmith/metalsmith/compare/v2.5.1...v2.6.0
Published by webketje about 2 years ago
Published by webketje over 2 years ago
Important note to metalsmith-watch users:
Although 2.5.0 is a semver-minor release, it breaks compatibility with metalsmith-watch, which relies on the Metalsmith < 2.4.x private method signature using the outdated unyield package. See issue #374 for more details.
Metalsmith#env
method. Supports passing DEBUG
and DEBUG_LOG
amongst others. Sets CLI: true
when run from the metalsmith CLI. b42df8c
, 446c676
, 33d936b
, 4c483a3
Metalsmith#debug
method for creating plugin debuggersMetalsmith#read
,Metalsmith#readFile
,Metalsmith#write
,Metalsmith#writeFile
, Metalsmith#run
and Metalsmith#process
) to dual callback-/ promise-based methods 16a91c5
, faf6ab6
, 6cb6229
3a11a24
README.md
0da0c4d
Metalsmith#metadata
no longer clones the object passed to it, overwriting the previous metadata, but merges it into existing metadata.Published by webketje over 2 years ago
774a164
micromatch
: 4.0.4 ▶︎ 4.0.5metalsmith.match
file cache in repeat runs without re-read, see https://github.com/metalsmith/layouts/issues/183 a727309
Published by webketje over 2 years ago
Published by webketje over 2 years ago
Bugfix: include index.js in package.json files
Unfortunately release 2.4.0 missed the index.js file and was only usable by doing require('metalsmith/lib'). For this reason the release notes from 2.4.0 are re-included below:
Metalsmith#match
method. Plugins no longer need to require a matching library 705c4bb
, f01c724
828b17e
fs.rm
instead of rimraf
when available (Node 14.4+) fcbb76e
, 66e4376
Metalsmith#frontmatter
a6438d2
ef7b781
4eb1184
Metalsmith#build
now returns a promise which you can attach a then/catch
to or await
. The build callback model is still available. 6d5a42d
Dependencies: 75e6878
chalk
: 1.1.3 ▶︎ 3.0.0gray-matter
: 2.0.0 ▶︎ 4.0.3stat-mode
: 0.2.0 ▶︎ 1.0.0rimraf
: 2.2.8 ▶︎ 3.0.2ware
: 1.2.0 ▶︎ 1.3.0commander
(used in CLI): 2.15.1 ▶︎ 6.2.1win-fork
(used in CLI): replaced with cross-spawn
:7.0.3Updated CHANGELOG.md
format to follow “Keep A Changelog” (#266) (@Zearin)
Metalsmith#ignore
now only matches paths relative to Metalsmith#source
(as it should). See linked issue for details 4eb1184
Metalsmith#build
a6438d2
Metalsmith#ignore
'd) 4eb1184
Metalsmith#ignore
now removes the matched files before they are statted
for glob-based ignores (saving some perf & potential errors).new Buffer
with Buffer.from
npm audit
vulnerability fixescoveralls
: 2.11.6 ▶︎ 3.0.1 (#308) (@Zearin)metalsmith-markdown
: 0.2.1 ▶︎ 0.2.2 (#312) (@Zearin)Published by webketje over 2 years ago
Unfortunately this release missed the index.js file and is only usable by doing require('metalsmith/lib')
. This has quickly been fixed in 2.4.1 and the release notes ported to it
Metalsmith#match
method. Plugins no longer need to require a matching library 705c4bb
, f01c724
828b17e
fs.rm
instead of rimraf
when available (Node 14.4+) fcbb76e
, 66e4376
Metalsmith#frontmatter
a6438d2
ef7b781
4eb1184
Metalsmith#build
now returns a promise which you can attach a then/catch
to or await
. The build callback model is still available. 6d5a42d
Dependencies: 75e6878
chalk
: 1.1.3 ▶︎ 3.0.0gray-matter
: 2.0.0 ▶︎ 4.0.3stat-mode
: 0.2.0 ▶︎ 1.0.0rimraf
: 2.2.8 ▶︎ 3.0.2ware
: 1.2.0 ▶︎ 1.3.0commander
(used in CLI): 2.15.1 ▶︎ 6.2.1win-fork
(used in CLI): replaced with cross-spawn
:7.0.3Updated CHANGELOG.md
format to follow “Keep A Changelog” (#266) (@Zearin)
Metalsmith#ignore
now only matches paths relative to Metalsmith#source
(as it should). See linked issue for details 4eb1184
Metalsmith#build
a6438d2
Metalsmith#ignore
'd) 4eb1184
Metalsmith#ignore
now removes the matched files before they are statted
for glob-based ignores (saving some perf & potential errors).new Buffer
with Buffer.from
npm audit
vulnerability fixescoveralls
: 2.11.6 ▶︎ 3.0.1 (#308) (@Zearin)metalsmith-markdown
: 0.2.1 ▶︎ 0.2.2 (#312) (@Zearin)Published by webketje almost 3 years ago