UNPKG

projen

Version:

CDK for software projects

43 lines (42 loc) 1.17 kB
import type { InitProject, Project } from "../project"; import { ProjenrcFile } from "../projenrc"; /** * Options for `Projenrc`. */ export interface ProjenrcOptions { /** * The name of the projenrc file. * @default ".projenrc.py" */ readonly filename?: string; /** * The projen version to use * @default - current version */ readonly projenVersion?: string; /** * Path to the python executable to use. * @default "python" */ readonly pythonExec?: string; } /** * Allows writing projenrc files in python. * * This will install `projen` as a Python dependency and will add a * `synth` task which will run `.projenrc.py`. */ export declare class Projenrc extends ProjenrcFile { /** * The name of the projenrc file. */ readonly filePath: string; /** * Path to the python executable to use. */ readonly pythonExec: string; constructor(project: Project, options?: ProjenrcOptions); projectCreation(initProject: InitProject): void; private generateProjenrc; } export declare function resolvePythonImportName(jsiiFqn: string, jsiiManifest: any): string;