From 89779da91557c6ed1d7d816df6b6f855b54e0b70 Mon Sep 17 00:00:00 2001 From: Stephen Cavaliere Date: Thu, 2 Feb 2017 09:48:04 -0500 Subject: [PATCH] chore: remove schema.d.ts file --- packages/@angular/cli/lib/config/schema.json | 1 - packages/angular-cli/lib/config/schema.d.ts | 133 ------------------- 2 files changed, 134 deletions(-) delete mode 100644 packages/angular-cli/lib/config/schema.d.ts diff --git a/packages/@angular/cli/lib/config/schema.json b/packages/@angular/cli/lib/config/schema.json index 927ee789ef34..a07a4fd92e14 100644 --- a/packages/@angular/cli/lib/config/schema.json +++ b/packages/@angular/cli/lib/config/schema.json @@ -1,5 +1,4 @@ { - "$comment": "Please run `npm run build-config-interface` after changing this file. Thanks!", "$schema": "http://json-schema.org/draft-04/schema#", "id": "CliConfig", "title": "Angular CLI Config Schema", diff --git a/packages/angular-cli/lib/config/schema.d.ts b/packages/angular-cli/lib/config/schema.d.ts deleted file mode 100644 index c34275a2522a..000000000000 --- a/packages/angular-cli/lib/config/schema.d.ts +++ /dev/null @@ -1,133 +0,0 @@ -export interface CliConfig { - /** - * The global configuration of the project. - */ - project?: { - version?: string; - name?: string; - }; - /** - * Properties of the different applications in this project. - */ - apps?: { - root?: string; - outDir?: string; - assets?: (string | string[]); - deployUrl?: string; - index?: string; - main?: string; - polyfills?: string; - test?: string; - tsconfig?: string; - prefix?: string; - mobile?: boolean; - /** - * Global styles to be included in the build. - */ - styles?: (string | { - input?: string; - [name: string]: any; - })[]; - /** - * Options to pass to style preprocessors - */ - stylePreprocessorOptions?: { - /** - * Paths to include. Paths will be resolved to project root. - */ - includePaths?: string[]; - }; - /** - * Global scripts to be included in the build. - */ - scripts?: (string | { - input: string; - [name: string]: any; - })[]; - /** - * Name and corresponding file for environment config. - */ - environments?: { - [name: string]: any; - }; - }[]; - /** - * Configuration reserved for installed third party addons. - */ - addons?: { - [name: string]: any; - }[]; - /** - * Configuration reserved for installed third party packages. - */ - packages?: { - [name: string]: any; - }[]; - e2e?: { - protractor?: { - config?: string; - }; - }; - /** - * Properties to be passed to TSLint. - */ - lint?: { - files: string; - project: string; - tslintConfig?: string; - }[]; - test?: { - karma?: { - config?: string; - }; - }; - defaults?: { - styleExt?: string; - prefixInterfaces?: boolean; - poll?: number; - viewEncapsulation?: string; - changeDetection?: string; - inline?: { - style?: boolean; - template?: boolean; - }; - spec?: { - class?: boolean; - component?: boolean; - directive?: boolean; - module?: boolean; - pipe?: boolean; - service?: boolean; - }; - /** - * Properties to be passed to the serve command - */ - serve?: { - /** - * The port the application will be served on - */ - port?: number; - /** - * The host the application will be served on - */ - host?: string; - }; - }; - /** - * Allow people to disable console warnings. - */ - warnings?: { - /** - * Show a warning when the node version is incompatible. - */ - nodeDeprecation?: boolean; - /** - * Show a warning when the user installed angular-cli. - */ - packageDeprecation?: boolean; - /** - * Show a warning when the global version is newer than the local one. - */ - versionMismatch?: boolean; - }; -}