apiVersion: capsule.dev/v0.1
kind: Capsule
name: lkmeet-build-config
version: 0.1.0
type: adapter
purpose:
summary: 'Bundles all development and build configuration files for a Next.js project,
including ESLint, Prettier, TypeScript, package dependencies, and environment
variable examples. This capsule provides a standardized setup for developing and
building a LiveKit-enabled Next.js application.
'
owns:
- Package dependencies and scripts
- Next.js configuration
- TypeScript configuration
- Linting and formatting rules
- Environment variable examples
does_not_own:
- Application code
- Static assets
interfaces:
provides:
- kind: env
name: Development Environment
description: Standardized development and build environment configuration.
agent:
summary_for_ai: 'This capsule defines the project''s development and build environment.
Ensure all configurations (ESLint, Prettier, TypeScript) are consistent and up-to-date.
`package.json` should list necessary dependencies for LiveKit and Next.js. `next.config.js`
might need adjustments for specific deployment environments.
'
verification:
invariants:
- All build and linting scripts must be functional.
- TypeScript compilation must succeed without errors.
- Dependencies must be correctly specified and resolvable.
x-reuse:
notes: 'The `package.json` contains specific dependency versions and `pnpm` as the
package manager, which might need adjustment. The `.env.example` lists specific
LiveKit and S3 environment variables. `next.config.js` includes `Cross-Origin-Opener-Policy`
and `Cross-Origin-Embedder-Policy` headers, which may or may not be required for
other projects. `renovate.json` is specific to dependency update automation.
'
x-reconstruct:
install: install.json