v2.0.0
V2 has landed, and it's on steroids! 🥳
Here are the changes.
BREAKING:
- Detecting
noindex
meta is now more performant and is enabled by default - thanks @davwheat for the first implementation! 🥂 - Save the files
sitemap.xml
andsitemap.txt
into the--root
directory directly by default. - Base URL is now passed with the
-b, --base <url>
option. - New programmatic API and module is now ESM only.
- Options can be set externally.
- A bunch of option changes:
use--match
is deprecated;-i, --ignore <glob...>
instead.--no-clean
and--slash
aliases removed.--save
and--output-dir
are deprecated.--text
is deprecated; use-f, --format <xml|txt|both>
instead.- Use
-o, --stdout
to output tostdout
instead of saving directly. glob-[*]
pairs are now comma-separated.
TOOLING:
- CLI migrated from
oclif
tocommander
. - Linting changed from
standard
toprettier
. - Testing uses
ava
.