mdzilla 0.0.5 → 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/dist/_chunks/exporter.mjs +2 -2
- package/dist/_chunks/server.mjs +1146 -1518
- package/package.json +15 -15
|
@@ -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);
|