Loading...
Loading...
Specialized skill for building and starting Next.js applications, handling build errors, verifying production builds, and managing development servers. Use when building the application, starting development servers, troubleshooting build issues, or verifying production readiness.
npx skill4agent add santiagoxor/pintureria-digital build-startnpm run devnpm run dev:turbonpm run buildnpm run startnpm run build:vercel# Standard development server
npm run dev
# Development with Turbopack (faster)
npm run dev:turbo# Standard production build
npm run build
# Vercel-optimized build
npm run build:vercel.next# Start production server
npm run startNODE_ENV=production# Purgar CDN + Data Cache (requiere Vercel CLI y vercel login)
npm run cache:purge?v=<commit-sha>/images/tenantsdocs/CACHE_PURGE_ANTES_DEPLOY.mdnpm run cache:purgescripts/create-react-cache-polyfill.jsreact/cachenext.config.jsANALYZE=trueNEXT_PUBLIC_ASSETS_VERSIONVERCEL_GIT_COMMIT_SHA# Check TypeScript errors
npx tsc --noEmit
# Build ignores TypeScript errors (configured in next.config.js)
npm run build# Increase Node memory limit
NODE_OPTIONS="--max-old-space-size=4096" npm run build.nextrm -rf .nextrm -rf node_modules && npm installnpm run build.nextNEXT_PUBLIC_*.env.local.example# Ensure polyfill script runs
node scripts/create-react-cache-polyfill.js
npm run buildnpm run dev:turbonext.config.jspackage.jsoncache:purgescripts/create-react-cache-polyfill.jsdocs/CACHE_PURGE_ANTES_DEPLOY.md.env.local