dryvPacks

@dryv/nextjs-appv0.1.0

Next.js App Router pages from views, typed API calls and schema-driven forms.

Next.js AppFrontendUnitPublished 7 days ago2 downloads

dryv pack add @dryv/nextjs-app
799 BRaw ↗
yaml
version: dryv/v1alpha1
sources:
  authoring:
    main:
      type: ir
      path: dryv.ir.yaml
  packs:
    local:
      path: packs
destinations:
  web:
    path: out/web
  client:
    path: out/client
  webBridge:
    path: out/web-bridge
authoring:
  source:
    $ref: "#/sources/authoring/main"
packs:
  web:
    source: { $ref: "#/sources/packs/local", path: unit/frontend/nextjs-app }
    destination:
      $ref: "#/destinations/web"
  client:
    source: { $ref: "#/sources/packs/local", path: unit/clients/next-api-bridge }
    destination:
      $ref: "#/destinations/client"
  web-bridge:
    source: { $ref: "#/sources/packs/local", path: unit/frontend/nextjs-app }
    destination:
      $ref: "#/destinations/webBridge"
    bind:
      operation.client:
        $ref: "#/packs/client"