Beem Slide

beem-slide check

Compile every deck without building a site.

npm run check

Type-checks and compiles every deck under slides/ and reports what fails, without producing a build. It is the fast question — does this still compile? — separated from the slow one.

› npm run check
✓ 10 decks compiled
✗ slides/q2-launch/pages/06-pricing.tsx
    Property 'tone' does not exist on type '{ children: ReactNode; }'

Flags

FlagDefaultDescription
--deck <id>every deckCheck only this deck. Repeat for several.

Why it exists separately

A deck is real code, so it can break the way real code breaks — and it breaks most often when an agent has been editing it, which is exactly when you are least likely to have opened every page yourself. A deck that fails to compile looks fine in the deck list and fails when someone opens it.

check is what you put in CI. It is also worth running after a batch of /apply-comments work, before you close the laptop on a deck you are presenting tomorrow:

.github/workflows/decks.yml
- run: npm ci
- run: npm run check

--deck keeps it quick while you are iterating on one deck and the others are not your problem yet.

On this page