@neuralangular/angular-adapters
v0.1.0
Published
Deployment adapters for Neural Angular SSR applications.
Downloads
132
Readme
@neuralangular/angular-adapters
Provider-specific deployment adapters for Neural Angular. Version 0.1.0
ships the Node.js 22 Vercel adapter at
@neuralangular/angular-adapters/vercel.
The package converts an Angular application build containing browser/ and
server/ into the Vercel Build Output API v3 layout:
pnpm nx build angular-ssr
neural-vercel-build --input dist/examples/angular-ssr
vercel deploy --prebuiltIn the Angular server entry, create a Vercel-compatible Node handler:
import { AngularNodeAppEngine } from '@angular/ssr/node';
import { createNeuralVercelNodeHandler } from '@neuralangular/angular-adapters/vercel';
const angularApp = new AngularNodeAppEngine();
export default createNeuralVercelNodeHandler(angularApp);Environment variables
Secrets are read at Function runtime through process.env. The adapter never
copies environment values into .vercel/output.
vercel env add API_SECRET production --sensitive
vercel env pull
vercel env run -e preview -- pnpm nx serve angular-ssrOnly access secret variables from server-only entry points, providers, API handlers, or services. Do not import them into browser application code.
