§ 04.33 — Pixy Puala · Developer experience · Playground · 2026

WP Playground Project Blueprints

TYPESCRIPT · PLAYGROUND CLI

Hand-written Playground blueprints break silently at runtime — a mistyped step or wrong resource shape fails in the browser with no useful message. This validates every blueprint in CI before anyone clicks the link.

Maintainer
Pixy Puala
Vertical
Developer experience · Playground
Year
2026
Role
Open source
Stack
TypeScript
Status
● Public repo
§ 04.33.B

Problem

What was broken

Getting a reviewer, a contributor or a support engineer into a reproducible WordPress environment is the slowest part of every bug report. Playground solves it, but only if the blueprint is correct — and nothing checks that until it fails in front of the person you were trying to help.

§ 04.33.C

Constraints

Boundaries · published
01 Engagement Open source · authored and maintained
02 Stack TypeScript · Node 20+
03 Scope Blueprint collection · schema validator
04 Audience Maintainers · contributors · support/QA
§ 04.33.D

Decisions

Three · defended
Decision · 01

Validate every shipped blueprint in CI

The suite tests the validator and each blueprint on Node 20 and 22, so a broken demo link cannot reach main.

Decision · 02

Model the step enumeration precisely

login, installPlugin, runPHP, runSql, importWxr, wp-cli and the rest are modelled with precise error paths — a vague "invalid blueprint" message would leave the author no better off.

Decision · 03

Stop at the descriptor boundary

The zip step builds the resource descriptor; fetching zip bytes over the network belongs to a runner and is out of scope by design.

§ 04.33.E

Build

Stack · tooling · what it runs on

Stack

  • TypeScript · Node 20+ · pnpm
  • CLI (dist/cli.js) · blueprint JSON validation
  • Hand-modelled BlueprintV1 schema · step enumeration
  • Vitest
  • CI on Node 20 and 22

Tooling

  • ✓ kept pnpm · Vitest · GitHub Actions
§ 04.33.F

Results · Measured

Countable facts · from the repository
Tests
51 passing
validator · steps · every blueprint
Node matrix
2 versions
20 · 22

Every blueprint shipped in the repository is validated by the suite, so the collection cannot drift away from the schema it advertises.

§ 04.33.G

Tradeoffs

What was not fixed

Building or fetching zip bytes over the network is deferred to a runner outside this repository. The validator models the descriptor, which is where blueprint authors actually make mistakes.

Want this shape in your stack? The code is public. The judgement is the service.

Read the source → Start a project