OpenAI Sites provides JavaScript/TypeScript tooling for building and packaging sites hosted by OpenAI.
@openai/sites-vite-plugin: Vite plugin that packages OpenAI Sites deployment metadata and Drizzle migrations.
- Node.js 22.13 or later
- Vite 8
This repository is a pnpm workspace.
pnpm install
pnpm checkThe full check formats, lints, type-checks, builds, and tests every workspace package. Plugin tests run real Vite builds against test fixtures.
Common commands:
| Command | Description |
|---|---|
pnpm build |
Build every workspace package. |
pnpm test |
Run every workspace package's tests. |
pnpm typecheck |
Type-check every workspace package. |
pnpm lint |
Lint the repository. |
pnpm format |
Format the repository. |
pnpm check |
Run the complete local validation suite. |
Keep changes focused and include contract-level tests for observable behavior.
Run pnpm check before opening a pull request.
To report a security issue, follow the instructions in our security policy.
This project is licensed under the MIT License.