aeo.js 0.0.8 → 0.0.9
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 +119 -164
- package/dist/angular.js +4 -2
- package/dist/angular.js.map +1 -1
- package/dist/angular.mjs +4 -2
- package/dist/angular.mjs.map +1 -1
- package/dist/astro.js +4 -2
- package/dist/astro.js.map +1 -1
- package/dist/astro.mjs +4 -2
- package/dist/astro.mjs.map +1 -1
- package/dist/cli.js +4 -2
- package/dist/cli.js.map +1 -1
- package/dist/cli.mjs +4 -2
- package/dist/cli.mjs.map +1 -1
- package/dist/index.js +4 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -2
- package/dist/index.mjs.map +1 -1
- package/dist/next.js +6 -4
- package/dist/next.js.map +1 -1
- package/dist/next.mjs +6 -4
- package/dist/next.mjs.map +1 -1
- package/dist/nuxt.js +4 -2
- package/dist/nuxt.js.map +1 -1
- package/dist/nuxt.mjs +4 -2
- package/dist/nuxt.mjs.map +1 -1
- package/dist/vite.js +4 -2
- package/dist/vite.js.map +1 -1
- package/dist/vite.mjs +4 -2
- package/dist/vite.mjs.map +1 -1
- package/dist/webpack.js +4 -2
- package/dist/webpack.js.map +1 -1
- package/dist/webpack.mjs +4 -2
- package/dist/webpack.mjs.map +1 -1
- package/package.json +1 -1
package/dist/cli.mjs
CHANGED
|
@@ -282,7 +282,8 @@ function collectMarkdownFiles(dir, base = dir) {
|
|
|
282
282
|
for (const entry of entries) {
|
|
283
283
|
const fullPath = join(dir, entry);
|
|
284
284
|
const stat = statSync(fullPath);
|
|
285
|
-
|
|
285
|
+
const SKIP_DIRS = /* @__PURE__ */ new Set(["node_modules", "public", "dist", ".next", ".nuxt", ".output", ".open-next", "coverage", "__tests__", "__mocks__"]);
|
|
286
|
+
if (stat.isDirectory() && !entry.startsWith(".") && !SKIP_DIRS.has(entry)) {
|
|
286
287
|
files.push(...collectMarkdownFiles(fullPath, base));
|
|
287
288
|
} else if (stat.isFile() && (extname(entry) === ".md" || extname(entry) === ".mdx")) {
|
|
288
289
|
const content = readFileSync(fullPath, "utf-8");
|
|
@@ -625,7 +626,8 @@ function collectUrls(dir, config, base = dir) {
|
|
|
625
626
|
for (const entry of entries) {
|
|
626
627
|
const fullPath = join(dir, entry);
|
|
627
628
|
const stat = statSync(fullPath);
|
|
628
|
-
|
|
629
|
+
const SKIP_DIRS = /* @__PURE__ */ new Set(["node_modules", "public", "dist", ".next", ".nuxt", ".output", ".open-next", "coverage", "__tests__", "__mocks__"]);
|
|
630
|
+
if (stat.isDirectory() && !entry.startsWith(".") && !SKIP_DIRS.has(entry)) {
|
|
629
631
|
urls.push(...collectUrls(fullPath, config, base));
|
|
630
632
|
} else if (stat.isFile() && (extname(entry) === ".md" || extname(entry) === ".mdx" || extname(entry) === ".html")) {
|
|
631
633
|
const relativePath = relative(base, fullPath);
|