@justanarthur/payload-www 1.2.0 → 1.2.1

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.js CHANGED
@@ -177,16 +177,6 @@ async function main() {
177
177
  if (process.env.PAYLOAD_WWW_DEBUG === "1") {
178
178
  const { writeFileSync } = await import("node:fs");
179
179
  writeFileSync("/tmp/payload-config-dump.json", JSON.stringify(config, (k, v) => typeof v === "function" ? "[function]" : v, 2).slice(0, 200000));
180
- const cfg = config;
181
- console.error("[payload-www DEBUG] blocks:", cfg.blocks?.length ?? 0);
182
- console.error("[payload-www DEBUG] collections:", cfg.collections?.length ?? 0);
183
- console.error("[payload-www DEBUG] globals:", cfg.globals?.length ?? 0);
184
- console.error("[payload-www DEBUG] keys:", Object.keys(config).slice(0, 30).join(","));
185
- const firstBlock = cfg.blocks?.[0] ?? null;
186
- if (firstBlock) {
187
- console.error("[payload-www DEBUG] first block slug:", firstBlock.slug);
188
- console.error("[payload-www DEBUG] first block custom:", JSON.stringify(firstBlock.custom));
189
- }
190
180
  }
191
181
  const result = await generateAsyncImportmap(config, {
192
182
  output: path.isAbsolute(args.output) ? args.output : path.resolve(cwd, args.output),
package/dist/pages.js CHANGED
@@ -432,7 +432,6 @@ function createCollectionPageExports({
432
432
  fallback: doc,
433
433
  siteDefaults
434
434
  });
435
- console.log("[www#generateMetadata]", { alternates, meta, locale, localesSlug, doc });
436
435
  return { ...meta, alternates };
437
436
  }
438
437
  async function generateStaticParams(props) {
@@ -462,7 +462,6 @@ function createCollectionPageExports({
462
462
  fallback: doc,
463
463
  siteDefaults
464
464
  });
465
- console.log("[www#generateMetadata]", { alternates, meta, locale, localesSlug, doc });
466
465
  return { ...meta, alternates };
467
466
  }
468
467
  async function generateStaticParams(props) {
package/dist/sitemap.js CHANGED
@@ -276,7 +276,6 @@ function createCollectionPageExports({
276
276
  fallback: doc,
277
277
  siteDefaults
278
278
  });
279
- console.log("[www#generateMetadata]", { alternates, meta, locale, localesSlug, doc });
280
279
  return { ...meta, alternates };
281
280
  }
282
281
  async function generateStaticParams(props) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@justanarthur/payload-www",
3
3
  "description": "Reusable Payload CMS website template — config builder, collections, globals, blocks, fields, access, hooks, metadata (JSON-LD, hreflang), page renderers, and test helpers.",
4
- "version": "1.2.0",
4
+ "version": "1.2.1",
5
5
  "type": "module",
6
6
  "private": false,
7
7
  "files": [