Skip to content

OPS-12.5: apps/playground is a dev sandbox, drop vercel.json - #212

Merged
securedeveloper merged 1 commit into
mainfrom
ops-12.5-sandbox
Nov 17, 2026
Merged

securedeveloper merged 1 commit into
mainfrom
ops-12.5-sandbox

Conversation

@securedeveloper

Copy link
Copy Markdown
Owner

OPS-12.5: apps/playground is a CI-tested dev sandbox, not a deployment. The public playground is securedeveloper/react-data-export-playground at https://react-data-export-playground.vercel.app/ (HTTP 200), which installs the published package.

  • Removed apps/playground/vercel.json.
  • apps/playground/vite.config.ts: it used to read the security headers from vercel.json for vite preview. The same four headers (CSP 'self' only, Referrer-Policy, X-Content-Type-Options, Permissions-Policy) are now a constant in the config, so local and CI previews still serve the CSP. The values are unchanged, and curl -sI against vite preview shows all four.
  • apps/playground/README.md: a "Dev sandbox, not deployed" note with the public repo and URL at the top. The Vercel deployment section and the vercel.json references are gone.
  • Root README.md already called it a dev sandbox and linked the public playground, so it is unchanged.

The CI and test jobs are unchanged. No shipped file changes (the package README is untouched), so there is no changeset.

Checked locally on Node 26.13.1: npm ci, npm run typecheck, the playground tests (if any), the playground build, and the preview headers.

The security headers for vite preview move into vite.config.ts; READMEs point to the public playground repository.
@securedeveloper
securedeveloper merged commit 9458a12 into main Nov 17, 2026
37 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant