/** * @additionalProperties false */ export interface BeforeBuildCleanOptions { /** * If true, delete output directory before build. */ cleanOutDir?: boolean; /** * If true, delete cache directories before build. */ cleanCache?: boolean; /** * Paths to be deleted. */ paths?: string[]; /** * Path array to exclude from deleting. */ excludes?: string[]; } /** * @additionalProperties false */ export interface AfterEmitCleanOptions { /** * Paths to be deleted. */ paths?: string[]; /** * Path array to exclude from deleting. */ excludes?: string[]; } /** * @additionalProperties false */ export interface CleanOptions { /** * Before build clean option. */ beforeBuild?: BeforeBuildCleanOptions; /** * After emit clean option. */ afterEmit?: AfterEmitCleanOptions; /** * Allows cleaning outside of output directory. */ allowOutsideOutDir?: boolean; /** * Allows cleaning outside of workspace root. */ allowOutsideWorkspaceRoot?: boolean; } /** * @additionalProperties false */ export interface AssetEntry { /** * The source file, it can be absolute or relative path or glob pattern. */ from: string; /** * The output file name. */ to?: string; /** * The ignore list. */ exclude?: string[]; } /** * @additionalProperties false */ export interface GlobalEntry { /** * The file to include. */ input: string | string[]; /** * The bundle name for this extra entry point. */ bundleName?: string; /** * If the bundle will be lazy loaded. */ lazy?: boolean; } /** * @additionalProperties false */ export interface StylePreprocessorOptions { /** * An array of paths that LibSass can look in to attempt to resolve your @import declarations. */ includePaths: string[]; } export interface ExternalsObjectElement { [key: string]: string | { commonjs: string; amd: string; root: string; [key: string]: string; }; } export declare type ExternalsEntry = string | ExternalsObjectElement; export interface EnvOverridesOptions { [name: string]: TConfig; } /** * @additionalProperties false */ export interface ProjectConfigBase { /** * The output directory for build results. */ outputPath?: string; /** * Tell the build system which platform environment the application is targeting. */ platformTarget?: 'web' | 'node'; /** * Clean options. */ clean?: CleanOptions | boolean; /** * Copy options. */ copy?: (string | AssetEntry)[]; /** * List of global style entries. */ styles?: (string | GlobalEntry)[]; /** * Options to pass to style preprocessors. */ stylePreprocessorOptions?: StylePreprocessorOptions; /** * The typescript configuration file to be used. */ tsConfig?: string; /** * Banner text to add at the top of each generated files. It can be text file name or raw text. */ banner?: string; /** * If true, sourcemaps will be generated. */ sourceMap?: boolean; /** * If true, this project config will be skipped by the build process. */ skip?: boolean; } /** * @additionalProperties false */ export interface ProjectConfig extends ProjectConfigBase { /** * Link to schema. */ $schema?: string; /** * The name of this configuration. */ name?: string; /** * The name of build-in configuration preset, or path(s) to other configuration files which are extended by this configuration. */ extends?: 'ngb:lib-default' | 'ngb-app-browser-default' | string | string[]; /** * The project root folder. */ root?: string; /** * To override properties based on build environment. */ envOverrides?: EnvOverridesOptions; }