Compiler Check

Command-line checker for collection imports that drift from the Payload config

Community 0 5/wk ISC v1.1.0

Installation

pnpm add payloadcms-compiler-check

About

PayloadCMS Compiler Check is a command-line tool that scans a frontend codebase for Payload collection imports that do not match the collections defined in the Payload config. It reports client-side imports of collections that are missing from the config, so stale references surface before they reach production.

Each finding gives the file, line and column, plus a suggestion to either add the collection to the config or remove the import. It is aimed at React and Next.js components that load Payload collections, where a renamed or deleted collection otherwise fails only at runtime.

Package info

Package name
payloadcms-compiler-check
Latest version
1.1.0
Unpacked size
19 kB
License
ISC
Weekly downloads
5
Last publish
Jun 2, 2025

Scaffolds a new Payload project or adds Payload to an existing Next.js or TanStack app

Automated code transforms that move a Payload project past breaking changes

CLI and registry that installs wired Payload blocks into Next.js projects

Migrates WordPress posts, pages, media, SEO and redirects into Payload

Migrates WordPress sites to Payload from a WXR export file

Converts WordPress WXR exports into Astro, Next.js, Payload or Pruvious projects