dryvPacks

@dryv/next-api-bridgev0.1.0

Next.js server actions over next-api-bridge, with routes, form actions and types.

Next API BridgeClientsUnitPublished 7 days ago2 downloads

dryv pack add @dryv/next-api-bridge
280 BRaw ↗
terminal
#!/usr/bin/env bash
# Typecheck the generated actions against the real next and next-api-bridge, then exercise the
# actions, routes and form actions with the bridge's network client mocked.
set -euo pipefail
bun install --silent
bunx tsc -p tsconfig.json
bun test bridge.test.ts