Skip to content

feat: gate production behind COMING_SOON flag - #2

Merged
juristr merged 1 commit into
mainfrom
coming-soon-flag
Jul 6, 2026
Merged

feat: gate production behind COMING_SOON flag#2
juristr merged 1 commit into
mainfrom
coming-soon-flag

Conversation

@juristr

@juristr juristr commented Jul 5, 2026

Copy link
Copy Markdown
Member

Summary

  • Adds a build-time COMING_SOON gate in the shared layout: production deploys keep showing the Coming Soon page while PR deploy previews and branch deploys render the real site (netlify.toml sets COMING_SOON=false for those contexts).
  • Gated is the safe default; only the literal string false unlocks. Dev server shows real content by default (COMING_SOON=true to preview the gate locally). Gated builds also force generic title/description so real page metadata does not leak.
  • Coming Soon markup extracted to ComingSoon.astro; index.astro now holds a minimal placeholder for the real page.
  • COMING_SOON added to Nx build inputs so cached builds cannot serve the wrong variant. @types/node added so process.env passes astro check. pnpm-lock.yaml re-aligned with the devEngines pnpm pin (11.0.6).

Launch later = set COMING_SOON=false on the Netlify production context, no code change.


View session information ↗

@netlify

netlify Bot commented Jul 5, 2026

Copy link
Copy Markdown

Deploy Preview for nrwl-harnesstools ready!

Name Link
🔨 Latest commit 42308da
🔍 Latest deploy log https://app.netlify.com/projects/nrwl-harnesstools/deploys/6a4a62d267a42200084c574a
😎 Deploy Preview https://deploy-preview-2--nrwl-harnesstools.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@juristr
juristr marked this pull request as ready for review July 6, 2026 15:35
@juristr
juristr merged commit ad83edd into main Jul 6, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant