wexts-vercel-builder
v1.0.0
Published
Vercel Build API integration for WEXTS framework
Maintainers
Readme
@wexts/vercel-builder
Official Vercel builder for WEXTS framework projects.
Installation
This package is automatically detected by Vercel when your project uses WEXTS.
Manual Installation
If you want to explicitly use this builder:
pnpm add -D @wexts/vercel-builderThen in your package.json:
{
"vercel": {
"framework": "wexts"
}
}Features
- ✅ Automatic WEXTS project detection
- ✅ Monorepo support (Turborepo, pnpm workspace, etc.)
- ✅ Optimized caching
- ✅ Next.js frontend support
- ✅ NestJS backend support
- ✅ Type-safe configuration
Configuration
Create a wexts.config.ts file in your project root:
import { WextsConfig } from '@wexts/config';
const config: WextsConfig = {
framework: 'wexts',
version: '2.0.0',
apps: {
frontend: {
dir: 'apps/web',
framework: 'nextjs'
},
backend: {
dir: 'apps/api',
framework: 'nestjs'
}
},
monorepo: {
tool: 'turborepo'
}
};
export default config;How It Works
Detection: Vercel automatically detects WEXTS projects by checking for:
wexts.config.tswextsin package.json dependenciesvercel.framework = "wexts"in package.json
Analysis: Reads your WEXTS config to understand project structure
Building: Delegates to framework-specific builders (Next.js, NestJS)
Caching: Optimizes build times with smart caching
License
MIT
