Releases: jbenner-radham/node-readme-md-cli
Releases · jbenner-radham/node-readme-md-cli
v0.19.1
Security
- Addressed a ReDoS vulnerability in the
cross-spawn
module, which is a dependency of dependencies.
v0.19.0
Changed
v0.18.0
v0.17.0
Added
- Detection of
LICENSE.rst
license files. - Detection of lowercase license files (e.g.,
license
,license.md
,license.rst
,license.txt
). - Interactive mode. Now when
readme-md
is invoked from the command line you will be prompted with questions. This behavior is negated when running in a CI environment or if the--non-interactive
flag is used.
Fixed
- An issue where the default Git branch would not be detected.
v0.16.0
Added
- The "shortcut syntax" for the
repository
property inpackage.json
is now supported. See here for reference.
Changed
- The license badge alt text to be more descriptive.
v0.15.0
Added
- Documented the
description
config option indoc/README.md
. - Detection of pnpm.
- A
prefer-npm
config option, which can have a Boolean value. Setting this totrue
will cause the examples in the "Install" and "Testing" sections to always use npm. Defaults tofalse
. - A
prefer-semicolons
config option, which can have a Boolean value. This parameter decides whether statements in the autogenerated "Usage" section should be terminated by a semicolon. Defaults totrue
. - A
quote-type
config option, which can have a value of either "double" or "single". This parameter decides what quote type to use in the autogenerated "Usage" section. Defaults to "single".
Changed
- Upgraded
meow
andreadme-md
dependencies. - Updated the generated alt text for badge images to be more descriptive.
- If no
.config/readme-md/sections/usage.md
file is present a basic "Usage" section will now be autogenerated.
Security
- Addressed three vulnerabilities in dependencies of dependencies by rebuilding the lockfile.
v0.14.0
Changed
- Updated "Usage" section of
README.md
. - Configuration (e.g.,
.config/readme-md/config.yaml
) variables are now normalized as camelCase internally which means config variables can be in the form of camelCase, kebab-case, snake_case, etc. - Upgraded
yarn-lockfile-exists
dependency which improves filepath logic for Windows environments. - The required Node.js version is now ^18.19.0 || >=20.5.0.
Fixed
- Fix typo in 0.13.0 section of changelog.
v0.13.0
Added
- The GitHub Actions badge option has been added to the
readme-md init
config.
Changed
- Change over to ES Modules from CommonJS.
- The minimum required Node.js is now v16.
- Generated fenced code blocks for shell script (e.g., the Install and Testing sections) no longer have a dollar sign prefix.
- For packages which are MIT licensed the value "(Expat)" is no longer suffixed in the generated License section.
- Passing no license or an empty license will now output "To be documented." in the body of the License section.
- Project config now supports and prioritizes
.config/readme-md/config.yaml
files. The search order goes like so:config.yaml
thenconfig.yml
. - The filepath logic for has been changed to better accommodate Windows environments.
- The alt tags for badge images are now in title case where appropriate.
Removed
- Removed support for Travis-CI badges.