metalsmith
Advanced tools
Changelog
[2.6.3] - 2024-03-05
b170cf0
774a164
chokidar
: 3.5.3 ▶︎ 3.6.00d8d791
Changelog
[2.6.1] - 2023-07-10
34239d9
a719025
5a516b2
Changelog
[2.6.0] - 2023-05-30
58d22a3
2d84fbe
9661ddc
45a4afe
424e6ec
80d8508
24fcffb
4929bc2
Changelog
[2.5.0] - 2022-06-10
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
0a53007
README.md
0da0c4d
Metalsmith#metadata
no longer clones the object passed to it, overwriting the previous metadata, but merges it into existing metadata.metalsmith.directory()
5d75539
Changelog
[2.4.0] - 2022-01-31
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)
Fix 5 “Moderate” vulnerabilitiesmetalsmith-markdown
: 0.2.1 ▶︎ 0.2.2 (#312) (@Zearin)
Fix 1 “Low” vulnerability