blume 0.6.2 → 0.6.4

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/cli/index.js CHANGED
@@ -5297,8 +5297,7 @@ var themeConfigSchema = z2.object({
5297
5297
  }).strict().default({}),
5298
5298
  layout: z2.enum(["sidebar"]).default("sidebar"),
5299
5299
  mode: z2.enum(["system", "light", "dark"]).default("system"),
5300
- radius: z2.enum(["none", "sm", "md", "lg"]).default("md"),
5301
- strict: z2.boolean().default(false)
5300
+ radius: z2.enum(["none", "sm", "md", "lg"]).default("md")
5302
5301
  }).strict();
5303
5302
  var algoliaSearchSchema = z2.object({
5304
5303
  appId: z2.string(),
@@ -5382,7 +5381,7 @@ var aiConfigSchema = z2.object({
5382
5381
  });
5383
5382
  }
5384
5383
  }).optional(),
5385
- llmsTxt: z2.boolean().default(false)
5384
+ llmsTxt: z2.boolean().default(true)
5386
5385
  }).strict();
5387
5386
  var featuredLinkSchema = z2.object({
5388
5387
  href: z2.string(),
@@ -9684,6 +9683,13 @@ var pageOrder = (page, filename) => {
9684
9683
  if (filename.replace(extname6(filename), "") === "index") {
9685
9684
  return Number.NEGATIVE_INFINITY;
9686
9685
  }
9686
+ if (page.contentType === "changelog") {
9687
+ const iso = page.meta.date ?? page.meta.changelog?.date;
9688
+ const time = iso ? Date.parse(iso) : Number.NaN;
9689
+ if (!Number.isNaN(time)) {
9690
+ return -time;
9691
+ }
9692
+ }
9687
9693
  return numericOrder(filename);
9688
9694
  };
9689
9695
  var metaKey = (path, metaPrefix) => {
@@ -11905,5 +11911,5 @@ process.on("unhandledRejection", (error) => {
11905
11911
  });
11906
11912
  runMain(main);
11907
11913
 
11908
- //# debugId=82FACDD032301C6E64756E2164756E21
11914
+ //# debugId=E4B96AC474347DAD64756E2164756E21
11909
11915
  //# sourceMappingURL=index.js.map