Repository navigation
OPS-12.5: apps/playground is a dev sandbox, drop vercel.json - #212
Merged
Merged
Conversation
The security headers for vite preview move into vite.config.ts; READMEs point to the public playground repository.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
OPS-12.5:
apps/playgroundis a CI-tested dev sandbox, not a deployment. The public playground issecuredeveloper/react-data-export-playgroundat https://react-data-export-playground.vercel.app/ (HTTP 200), which installs the published package.apps/playground/vercel.json.apps/playground/vite.config.ts: it used to read the security headers fromvercel.jsonforvite 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, andcurl -sIagainstvite previewshows 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 thevercel.jsonreferences are gone.README.mdalready 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.