diff --git a/README.md b/README.md index 1b623e0..f6a9c1c 100644 --- a/README.md +++ b/README.md @@ -39,6 +39,6 @@ Options: -o, --output Specify the relative or absolute output directory -v, --version Specify the target version of Node.js, semver compliant (default: "v22.6.0") -c, --changelog Specify the path (file: or https://) to the CHANGELOG.md file (default: "https://raw.githubusercontent.com/nodejs/node/HEAD/CHANGELOG.md") - -t, --target [mode...] Set the processing target modes (choices: "json-simple", "legacy-html", "legacy-html-all", "man-page", "legacy-json", "legacy-json-all") + -t, --target [mode...] Set the processing target modes (choices: "json-simple", "legacy-html", "legacy-html-all", "man-page", "legacy-json", "legacy-json-all", "addon-verify") -h, --help display help for command ``` diff --git a/src/generators/addon-verify/index.mjs b/src/generators/addon-verify/index.mjs index 1010dde..4c9d371 100644 --- a/src/generators/addon-verify/index.mjs +++ b/src/generators/addon-verify/index.mjs @@ -1,8 +1,10 @@ 'use strict'; -import { visit } from 'unist-util-visit'; import { mkdir, writeFile } from 'node:fs/promises'; import { join } from 'node:path'; + +import { visit } from 'unist-util-visit'; + import { updateFilesForBuild } from './utils/updateFilesForBuild.mjs'; import { EXTRACT_CODE_FILENAME_COMMENT } from './constants.mjs'; @@ -30,7 +32,8 @@ export default { version: '1.0.0', - description: '', + description: + 'Generates a file list from code blocks extracted from `doc/api/addons.md` to facilitate C++ compilation and JavaScript runtime validations', dependsOn: 'ast',