Skip to content

@meyer0x/socrate 0.1.0

Choose a tag to compare

@meyer0x meyer0x released this 28 Oct 10:47
· 15 commits to main since this release
d973023

First release of @meyer0x/socrate on npm.

npm install @meyer0x/socrate
  • socrate.yml: service, project and preview origins, plus optional label, review key template, CSP file and zones.
  • @meyer0x/socrate/vite: build-time import.meta.env.SOCRATE flag, strict validation of the preview context, CSP completion. Without a preview context the flag is false and Socrate code is dropped from the bundle.
  • @meyer0x/socrate/react: SocrateReview, inert outside the declared preview origin and inside iframes.
  • socrate CLI: preview prepare, preview register, check-absent.

See the package README and docs/integrate.md.