@fumadocs/cli 0.0.2 → 0.0.3
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/index.js +4 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -432,7 +432,7 @@ var ogImagePlugin = {
|
|
|
432
432
|
const route = await isI18nEnabled(ctx) ? "app/[lang]/docs-og/[...slug]/route.tsx" : "app/docs-og/[...slug]/route.tsx";
|
|
433
433
|
return {
|
|
434
434
|
"lib/metadata.ts": generated["lib/metadata"],
|
|
435
|
-
[route]: generated["app/docs-og/[...slug]/route"]
|
|
435
|
+
[ctx.src ? `src/${route}` : route]: generated["app/docs-og/[...slug]/route"]
|
|
436
436
|
};
|
|
437
437
|
},
|
|
438
438
|
dependencies: [],
|
|
@@ -641,9 +641,9 @@ function runTransform(sourceFile) {
|
|
|
641
641
|
|
|
642
642
|
// src/plugins/i18n.ts
|
|
643
643
|
var i18nPlugin = {
|
|
644
|
-
files: () => ({
|
|
644
|
+
files: ({ src: src2 }) => ({
|
|
645
645
|
"lib/i18n.ts": generated["lib/i18n"],
|
|
646
|
-
"middleware.ts": generated.middleware
|
|
646
|
+
[src2 ? "src/middleware.ts" : "middleware.ts"]: generated.middleware
|
|
647
647
|
}),
|
|
648
648
|
dependencies: [],
|
|
649
649
|
instructions: () => [
|
|
@@ -894,7 +894,7 @@ async function runTree(args) {
|
|
|
894
894
|
// package.json
|
|
895
895
|
var package_default = {
|
|
896
896
|
name: "@fumadocs/cli",
|
|
897
|
-
version: "0.0.
|
|
897
|
+
version: "0.0.3",
|
|
898
898
|
description: "The CLI tool for Fumadocs",
|
|
899
899
|
keywords: [
|
|
900
900
|
"NextJs",
|