Skip to content

feat(examples): add platform feature recipes - #10

Draft
batuhan wants to merge 1 commit into
masterfrom
examples/platform-feature-suite
Draft

feat(examples): add platform feature recipes#10
batuhan wants to merge 1 commit into
masterfrom
examples/platform-feature-suite

Conversation

@batuhan

@batuhan batuhan commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

Why

The examples repository needs real framework combinations for every publish lane.

Scope

  • Add trailhead, unfurl, astro-zero, and wp-zero.
  • Add workflow support for Functions, staged Zero layouts, site/out, and --skip-build.

Blast Radius

  • unfurl cannot publish until spacefast/monorepo#2674 ships in a released CLI.
  • Anonymous verification stopped during spacefast/monorepo#2681.
  • Follow-ups are spacefast/monorepo#2674, spacefast/monorepo#2679, spacefast/monorepo#2680, spacefast/monorepo#2681, spacefast/monorepo#2682, spacefast/monorepo#2683, spacefast/monorepo#2684, spacefast/monorepo#2685, spacefast/monorepo#2688, and zero-perfect is stale against CLI 0.2.2 and won't compile if bumped #9.

Verification

  • Local builds, sf dev, sf build, dry-run publish plans, and browser realtime checks covered the recipes.
  • Each README and verification log contains the per-recipe evidence.
…-zero

Four new recipes covering the platform lanes the catalog was missing:
Next.js static export with Site Accelerator images (trailhead), Next.js
SSR on the Functions runtime (unfurl), an Astro build composed with a
Zero capsule in one space (astro-zero), and WordPress content at build
time plus a Zero interactive layer (wp-zero).

The publish workflow learns the three new build shapes: a functions
lane, a framework-staged zero layout with the capsule root in site/dist,
site/out publish-dir resolution, and --skip-build for zero publishes.
The manifest schema accepts runtime "functions".
@coderabbitai

coderabbitai Bot commented Aug 31, 2026

Copy link
Copy Markdown

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@socket-security

Copy link
Copy Markdown

Warning

Review the following alerts detected in dependencies.

According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.

Action Severity Alert  (click "▶" to expand/collapse)
Warn High
Obfuscated code: npm culori is 90.0% likely obfuscated

Confidence: 0.90

Location: Package overview

From: examples/astro-zero/site/package.jsonnpm/@spacefast/zero@0.2.2npm/@spacefast/astro@0.2.2npm/culori@4.0.2

ℹ Read more on: This package | This alert | What is obfuscated code?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Packages should not obfuscate their code. Consider not using packages with obfuscated code.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/culori@4.0.2. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

View full report

@batuhan batuhan changed the title Platform-feature example suite: trailhead, unfurl, astro-zero, wp-zero Aug 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant