dkershner6-projen-sst-nextjs-app
Version:
DKershner's preferred constructs for Projen SST Apps using Nextjs.
23 lines (22 loc) • 877 B
TypeScript
import { Node20SstApp, Node20SstAppOptions } from "dkershner6-projen-sst-app";
import { TypescriptConfig, TypescriptConfigOptions } from "projen/lib/javascript";
import { NextjsJestConfigFileOptions } from "projen-nextjs";
export interface Node20SstNextjsAppOptions extends Node20SstAppOptions {
/**
* 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 Node20SstNextjsApp extends Node20SstApp {
readonly nextjsTsconfig: TypescriptConfig;
constructor(options: Node20SstNextjsAppOptions);
}