@mintlify/cli 4.0.815 → 4.0.816

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mintlify/cli",
3
- "version": "4.0.815",
3
+ "version": "4.0.816",
4
4
  "description": "The Mintlify CLI",
5
5
  "engines": {
6
6
  "node": ">=18.0.0"
@@ -40,11 +40,11 @@
40
40
  },
41
41
  "dependencies": {
42
42
  "@inquirer/prompts": "^7.9.0",
43
- "@mintlify/common": "1.0.612",
44
- "@mintlify/link-rot": "3.0.755",
43
+ "@mintlify/common": "1.0.613",
44
+ "@mintlify/link-rot": "3.0.756",
45
45
  "@mintlify/models": "0.0.241",
46
- "@mintlify/prebuild": "1.0.741",
47
- "@mintlify/previewing": "4.0.791",
46
+ "@mintlify/prebuild": "1.0.742",
47
+ "@mintlify/previewing": "4.0.792",
48
48
  "@mintlify/validation": "0.1.524",
49
49
  "adm-zip": "^0.5.10",
50
50
  "chalk": "^5.2.0",
@@ -81,5 +81,5 @@
81
81
  "vitest": "^2.0.4",
82
82
  "vitest-mock-process": "^1.0.4"
83
83
  },
84
- "gitHead": "481b56f6e663d3e2cece18c2004701d3a0e305e4"
84
+ "gitHead": "7c6382cb44d1533342c240f6a74344d47b77e50d"
85
85
  }
@@ -1,5 +1,5 @@
1
1
  import { coreRemark } from '@mintlify/common';
2
- import { categorizeFilePaths } from '@mintlify/prebuild';
2
+ import { categorizeFilePaths, getMintIgnore } from '@mintlify/prebuild';
3
3
  import fs from 'fs';
4
4
  import type { Root, Text } from 'mdast';
5
5
  import type { MdxJsxFlowElement } from 'mdast-util-mdx-jsx';
@@ -102,7 +102,8 @@ const checkAltAttributes = (filePath: string, content: string): AccessibilityFix
102
102
  export const checkMdxAccessibility = async (
103
103
  baseDir: string = process.cwd()
104
104
  ): Promise<MdxAccessibilityResult> => {
105
- const { contentFilenames } = await categorizeFilePaths(baseDir);
105
+ const mintIgnore = await getMintIgnore(baseDir);
106
+ const { contentFilenames } = await categorizeFilePaths(baseDir, mintIgnore);
106
107
  const mdxFiles: string[] = [];
107
108
  for (const file of contentFilenames) {
108
109
  mdxFiles.push(path.join(baseDir, file));