UNPKG

dkershner6-projen-awscdk-nextjs-app

Version:

DKershner's preferred constructs for Projen AWS CDK Apps using Nextjs.

23 lines (22 loc) 901 B
import { Node20AwsCdkApp, Node20AwsCdkAppOptions } from "dkershner6-projen-awscdk-app"; import { TypescriptConfig, TypescriptConfigOptions } from "projen/lib/javascript"; import { NextjsJestConfigFileOptions } from "projen-nextjs"; export interface Node20AwsCdkNextjsAppOptions extends Node20AwsCdkAppOptions { /** * Implement next/jest on the project's jestConfig. * * @default true */ nextjsJest?: boolean; nextjsJestConfigFileOptions?: NextjsJestConfigFileOptions; /** * A custom tsconfig for nextjs development, separate from Projen's tsconfig. * * @default - Recommended tsconfig for Next.js development by Vercel. */ nextjsTsconfig?: TypescriptConfigOptions; } export declare class Node20AwsCdkNextjsApp extends Node20AwsCdkApp { readonly nextjsTsconfig: TypescriptConfig; constructor(options: Node20AwsCdkNextjsAppOptions); }