This repository has no description

feat(import): write posts into Payload master

Fix Lexical link node serialization to use Payload's expected shape: { fields: { linkType, newTab, url }, version: 2 } instead of a flat { url } property that fails validation. Also set NODE_ENV=development and load .env in the import:astro script so wrangler's R2 miniflare workaround activates and PAYLOAD_SECRET is available without manual env prefix. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>


+3 -3
2 changed files