|
| 1 | +diff --git a/node_modules/unified-engine/index.d.ts b/node_modules/unified-engine/index.d.ts |
| 2 | +index 1f8706e..9f1cc30 100644 |
| 3 | +--- a/node_modules/unified-engine/index.d.ts |
| 4 | ++++ b/node_modules/unified-engine/index.d.ts |
| 5 | +@@ -1,4 +1,5 @@ |
| 6 | + export { Configuration } from "./lib/configuration.js"; |
| 7 | ++export { Ignore } from "./lib/Ignore.js"; |
| 8 | + export { engine } from "./lib/index.js"; |
| 9 | + export type ConfigResult = import("./lib/configuration.js").ConfigResult; |
| 10 | + export type Completer = import("./lib/file-set.js").Completer; |
| 11 | +diff --git a/node_modules/unified-engine/index.js b/node_modules/unified-engine/index.js |
| 12 | +index 4c993a8..d96f4ce 100644 |
| 13 | +--- a/node_modules/unified-engine/index.js |
| 14 | ++++ b/node_modules/unified-engine/index.js |
| 15 | +@@ -13,5 +13,6 @@ |
| 16 | + |
| 17 | + // it’s mostly private, but useful for tools like `eslint-mdx`. |
| 18 | + export {Configuration} from './lib/configuration.js' |
| 19 | ++export {Ignore} from './lib/ignore.js' |
| 20 | + |
| 21 | + export {engine} from './lib/index.js' |
| 22 | +diff --git a/node_modules/unified-engine/lib/ignore.d.ts b/node_modules/unified-engine/lib/ignore.d.ts |
| 23 | +index b2329db..7d35ff1 100644 |
| 24 | +--- a/node_modules/unified-engine/lib/ignore.d.ts |
| 25 | ++++ b/node_modules/unified-engine/lib/ignore.d.ts |
| 26 | +@@ -37,19 +37,19 @@ export type Options = { |
| 27 | + /** |
| 28 | + * Whether to detect ignore files. |
| 29 | + */ |
| 30 | +- detectIgnore: boolean | undefined; |
| 31 | ++ detectIgnore?: boolean | undefined; |
| 32 | + /** |
| 33 | + * Basename of ignore files. |
| 34 | + */ |
| 35 | +- ignoreName: string | undefined; |
| 36 | ++ ignoreName?: string | undefined; |
| 37 | + /** |
| 38 | + * Explicit path to an ignore file. |
| 39 | + */ |
| 40 | +- ignorePath: URL | string | undefined; |
| 41 | ++ ignorePath?: URL | string | undefined; |
| 42 | + /** |
| 43 | + * How to resolve. |
| 44 | + */ |
| 45 | +- ignorePathResolveFrom: ResolveFrom | undefined; |
| 46 | ++ ignorePathResolveFrom?: ResolveFrom | undefined; |
| 47 | + }; |
| 48 | + /** |
| 49 | + * How to resolve. |
| 50 | +diff --git a/node_modules/unified-engine/lib/ignore.js b/node_modules/unified-engine/lib/ignore.js |
| 51 | +index be6d078..da877af 100644 |
| 52 | +--- a/node_modules/unified-engine/lib/ignore.js |
| 53 | ++++ b/node_modules/unified-engine/lib/ignore.js |
| 54 | +@@ -16,13 +16,13 @@ |
| 55 | + * Configuration. |
| 56 | + * @property {string} cwd |
| 57 | + * Base. |
| 58 | +- * @property {boolean | undefined} detectIgnore |
| 59 | ++ * @property {boolean | undefined} [detectIgnore] |
| 60 | + * Whether to detect ignore files. |
| 61 | +- * @property {string | undefined} ignoreName |
| 62 | ++ * @property {string | undefined} [ignoreName] |
| 63 | + * Basename of ignore files. |
| 64 | +- * @property {URL | string | undefined} ignorePath |
| 65 | ++ * @property {URL | string | undefined} [ignorePath] |
| 66 | + * Explicit path to an ignore file. |
| 67 | +- * @property {ResolveFrom | undefined} ignorePathResolveFrom |
| 68 | ++ * @property {ResolveFrom | undefined} [ignorePathResolveFrom] |
| 69 | + * How to resolve. |
| 70 | + * |
| 71 | + * @typedef {'cwd' | 'dir'} ResolveFrom |
0 commit comments