| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| metalsmith-2.7.0.tgz | 2026-02-04 | 32.2 kB | |
| Metalsmith 2.7.0 source code.tar.gz | 2026-02-03 | 6.4 MB | |
| Metalsmith 2.7.0 source code.zip | 2026-02-03 | 6.6 MB | |
| README.md | 2026-02-03 | 2.7 kB | |
| Totals: 4 Items | 13.0 MB | 0 | |
Added
- #361 Added
Metalsmith#statikgetter/setter method for static files. - #403 Added
Metalsmith#importsutility method - #380 Added
metalsmith init [options] [source] [destination]CLI command to clone starters from subpaths in other git repo's - #409 Enabled
clean(true)builds to overwrite Metalsmith#source.In the build method, the order of execution of metalsmith.read() and rm(metalsmith.destination()) is swapped logicallyfe0274b - Added
metalsmith clean [-c|--config] [destination]CLI command to clean the build destination, or a specified directory08c0da7 - Added
Metalsmith.version, decoupled CLI --version command from package.json87edd34 - CLI --env parameter synchronizes to
process.env5d99888 - #397 Added support for
metalsmith.yml|tomlconfigs52347d4
Removed
- Drops support for Node < 16.0.0 (EOL: 2022-10-18) to support commander update
e4bf5cc - Removed snapcraft.yml/metalsmith-migrated-plugins.js and postinstall script from npm pkg
e32098e
Updated
- Reworked readdir helper used in Metalsmith#read. Allows file.stats to be preloaded in ms.readFile to avoid needing to read stats twice.
d8bd616 - Dependencies:
d1fd7db,e4bf5cc, ,5635a94 chokidar: 3.6.0 ▶︎ 4.0.3commander: 10.0.1 ▶︎ 11.1.0debug: 4.3.4 ▶︎ 4.4.3js-yaml(subdependency of gray-matter): 3.14.1 ▶︎ 3.14.2