Skip to content

Commit 76cd679

Browse files
committed
refactor: nits
1 parent 0fd51c0 commit 76cd679

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@
4242
"remark-stringify": "^11.0.0",
4343
"semver": "^7.6.3",
4444
"shiki": "^1.24.4",
45+
"to-vfile": "^8.0.0",
4546
"unified": "^11.0.5",
4647
"unist-builder": "^4.0.0",
4748
"unist-util-find-after": "^5.0.0",

src/generators/addon-verify/index.mjs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
'use strict';
22

3-
import { visit } from 'unist-util-visit';
43
import { mkdir, writeFile } from 'node:fs/promises';
54
import { join } from 'node:path';
5+
6+
import { visit } from 'unist-util-visit';
7+
68
import { updateFilesForBuild } from './utils/updateFilesForBuild.mjs';
79
import { EXTRACT_CODE_FILENAME_COMMENT } from './constants.mjs';
810

@@ -30,7 +32,8 @@ export default {
3032

3133
version: '1.0.0',
3234

33-
description: '',
35+
description:
36+
'Generates a file list from code blocks extracted from `doc/api/addons.md` to facilitate C++ compilation and JavaScript runtime validations',
3437

3538
dependsOn: 'ast',
3639

0 commit comments

Comments
 (0)