hunk.code_window:     "skipTsConfig": {
         "type": "boolean",
         "default": false,
         "description": "When true, does not update \"tsconfig.json\" to add a path mapping for the new library. The path mapping is needed to use the library in an app, but can be disabled here to simplify development."
       }
     },
     "required": []
   }
hunk.labels: keep keep keep add keep keep keep keep
hunk.after_edit:     },
       "lintFix": {
         "type": "boolean",
         "default": false,
         "description": "When true, applies lint fixes after generating the library."
  
hunk.file_path: packages/schematics/angular/library/schema.json
hunk.type: add
file: /**
  * @license
  * Copyright Google Inc. All Rights Reserved.
  *
  * Use of this source code is governed by an MIT-style license that can be
  * found in the LICENSE file at https://angular.io/license
  */
  import { strings } from '@angular-devkit/core';
  import {
    Rule,
    SchematicContext,
    SchematicsException,
    Tree,
    apply,
    branchAndMerge,
    filter,
    mergeWith,
    move,
    noop,
    template,
    url,
  } from '@angular-devkit/schematics';
  import { parseName } from '../utility/parse-name';
  import { buildDefaultPath, getProject } from '../utility/project';
  import { Schema as ClassOptions } from './schema';
  
  export default function (options: ClassOptions): Rule {
    return (host: Tree, context: SchematicContext) => {
      if (!options.project) {
        throw new SchematicsException('Option (project) is required.');
      }
  
      const project = getProject(host, options.project);
  
      if (options.path === undefined) {
        options.path = buildDefaultPath(project);
      }
  
      options.type = !!options.type ? `.${options.type}` : '';
  
      const parsedPath = parseName(options.path, options.name);
      options.name = parsedPath.name;
      options.path = parsedPath.path;
  
      // todo remove these when we remove the deprecations
      options.skipTests = options.skipTests || !options.spec;
  
      const templateSource = apply(url('./files'), [
        options.skipTests ? filter(path => !path.endsWith('.spec.ts')) : noop(),
        template({
          ...strings,
          ...options,
        }),
        move(parsedPath.path),
      ]);
  
      return branchAndMerge(mergeWith(templateSource));
    };
  }
  