mdzilla 0.0.4 → 0.0.6

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/README.md CHANGED
@@ -12,7 +12,9 @@ Markdown browser for humans and agents.
12
12
 
13
13
  </p>
14
14
 
15
- > Browse docs from local directories, GitHub repos, and remote websites — all from your terminal. Built on [md4x](https://github.com/unjs/md4x), [mdream](https://github.com/harlan-zw/mdream), [giget](https://github.com/unjs/giget) and [speed-highlight](https://github.com/speed-highlight/core).
15
+ > Browse docs from local directories, GitHub repos, and remote websites — all from your terminal.
16
+
17
+ Built with [md4x](https://github.com/unjs/md4x), [mdream](https://github.com/harlan-zw/mdream), [giget](https://github.com/unjs/giget) and [speed-highlight](https://github.com/speed-highlight/core), [nitro](https://v3.nitro.build/), [h3](https://h3.dev/), [srvx](https://srvx.h3.dev/) and [vite](https://vite.dev/).
16
18
 
17
19
  Supports any website with [`/llms.txt`](https://llmstxt.org/) or markdown content negotiation.
18
20
 
@@ -249,7 +249,7 @@ async function _scanNav(dirPath, parentPath, options) {
249
249
  const dirEntries = await readdir(dirPath);
250
250
  const entries = [];
251
251
  for (const entry of dirEntries) {
252
- if (entry.startsWith(".") || entry.startsWith("_") || entry === "package.json" || entry === "pnpm-lock.yaml" || entry === "pnpm-workspace.yaml") continue;
252
+ if (entry.startsWith(".") || entry.startsWith("_") || entry === "node_modules" || entry === "dist" || entry === "package.json" || entry === "pnpm-lock.yaml" || entry === "pnpm-workspace.yaml") continue;
253
253
  const fullPath = join(dirPath, entry);
254
254
  let stats;
255
255
  try {
@@ -329,7 +329,7 @@ async function buildFileMap(parentPath, dirPath) {
329
329
  const map = /* @__PURE__ */ new Map();
330
330
  const entries = await readdir(dirPath, { withFileTypes: true });
331
331
  for (const entry of entries) {
332
- if (entry.name.startsWith(".") || entry.name.startsWith("_")) continue;
332
+ if (entry.name.startsWith(".") || entry.name.startsWith("_") || entry.name === "node_modules" || entry.name === "dist") continue;
333
333
  const fullPath = join(dirPath, entry.name);
334
334
  if (entry.isDirectory()) {
335
335
  const slug = parseSlug(entry.name);