UNPKG

prisma-frontend

Version:

A Prisma generator for creating frontend-friendly exports (types and enums).

26 lines (23 loc) 684 B
import {baseTypedocConfig} from '@virmator/docs/configs/typedoc.config.base'; import {join, resolve} from 'node:path'; import type {TypeDocOptions} from 'typedoc'; const repoRoot = resolve( __dirname, /** Go up two directories because this gets compiled into `node_modules/.virmator` */ '..', '..', ); const indexTsFile = join(repoRoot, 'src', 'index.ts'); export const typeDocConfig: Partial<TypeDocOptions> = { ...baseTypedocConfig, out: join(repoRoot, 'dist-docs'), entryPoints: [ indexTsFile, ], intentionallyNotExported: [], defaultCategory: 'MISSING CATEGORY', categoryOrder: [ 'Main', 'Internal', ], };