mdat 1.0.1 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/cli.js +107 -129
- package/dist/api.d.ts +2 -2
- package/dist/config.d.ts +3 -3
- package/dist/index.js +88 -92
- package/dist/mdat-json-loader.d.ts +1 -1
- package/dist/processors.d.ts +3 -3
- package/dist/readme/api.d.ts +2 -2
- package/dist/readme/config.d.ts +3 -2
- package/dist/readme/rules/table-of-contents.d.ts +1 -1
- package/dist/readme/rules/utilities/cli-help/help-object-to-markdown.d.ts +1 -1
- package/dist/readme/rules/utilities/cli-help/help-string-to-object.d.ts +1 -1
- package/dist/readme/rules/utilities/cli-help/parsers/meow.d.ts +1 -1
- package/dist/readme/rules/utilities/cli-help/parsers/yargs.d.ts +1 -1
- package/dist/utilities.d.ts +1 -1
- package/package.json +16 -16
- package/readme.md +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import type { VFile } from 'vfile';
|
|
2
|
+
import type { ConfigToLoad, RulesToLoad } from './config';
|
|
3
3
|
/**
|
|
4
4
|
* Expand MDAT comments in one or more Markdown files
|
|
5
5
|
* Writing is the responsibility of the caller (e.g. via `await write(result)`)
|
package/dist/config.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import type { NormalizedPackageJson } from 'read-pkg';
|
|
2
|
+
import type { Options, Rules } from 'remark-mdat';
|
|
3
|
+
import type { Simplify } from 'type-fest';
|
|
4
4
|
export type Config = Simplify<Options & {
|
|
5
5
|
assetsPath?: string;
|
|
6
6
|
packageFile?: string;
|