Skip to content

Commit 93f1f8e

Browse files
committed
Add valid license headers for devkit-utils
1 parent 8a94a17 commit 93f1f8e

File tree

9 files changed

+72
-0
lines changed

9 files changed

+72
-0
lines changed

src/lib/schematics/utils/devkit-utils/ast-utils.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
/* tslint:disable */
22

3+
/**
4+
* @license
5+
* Copyright Google LLC All Rights Reserved.
6+
*
7+
* Use of this source code is governed by an MIT-style license that can be
8+
* found in the LICENSE file at https://angular.io/license
9+
*/
10+
311
import * as ts from 'typescript';
412
import { Change, InsertChange } from './change';
513
import { insertImport } from './route-utils';

src/lib/schematics/utils/devkit-utils/change.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
/* tslint:disable */
22

3+
/**
4+
* @license
5+
* Copyright Google LLC All Rights Reserved.
6+
*
7+
* Use of this source code is governed by an MIT-style license that can be
8+
* found in the LICENSE file at https://angular.io/license
9+
*/
10+
311
export interface Host {
412
write(path: string, content: string): Promise<void>;
513
read(path: string): Promise<string>;

src/lib/schematics/utils/devkit-utils/component.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
/* tslint:disable */
22

3+
/**
4+
* @license
5+
* Copyright Google LLC All Rights Reserved.
6+
*
7+
* Use of this source code is governed by an MIT-style license that can be
8+
* found in the LICENSE file at https://angular.io/license
9+
*/
10+
311
import {strings} from '@angular-devkit/core';
412
import {
513
apply,

src/lib/schematics/utils/devkit-utils/config.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
/* tslint:disable */
22

3+
/**
4+
* @license
5+
* Copyright Google LLC All Rights Reserved.
6+
*
7+
* Use of this source code is governed by an MIT-style license that can be
8+
* found in the LICENSE file at https://angular.io/license
9+
*/
10+
311
import {SchematicsException, Tree} from '@angular-devkit/schematics';
412

513
export const ANGULAR_CLI_WORKSPACE_PATH = '/angular.json';

src/lib/schematics/utils/devkit-utils/find-module.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
/* tslint:disable */
22

3+
/**
4+
* @license
5+
* Copyright Google LLC All Rights Reserved.
6+
*
7+
* Use of this source code is governed by an MIT-style license that can be
8+
* found in the LICENSE file at https://angular.io/license
9+
*/
10+
311
import { Path, join, normalize, relative, strings } from '@angular-devkit/core';
412
import { DirEntry, Tree } from '@angular-devkit/schematics';
513

src/lib/schematics/utils/devkit-utils/ng-ast-utils.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
/* tslint:disable */
22

3+
/**
4+
* @license
5+
* Copyright Google LLC All Rights Reserved.
6+
*
7+
* Use of this source code is governed by an MIT-style license that can be
8+
* found in the LICENSE file at https://angular.io/license
9+
*/
10+
311
import { normalize } from '@angular-devkit/core';
412
import { SchematicsException, Tree } from '@angular-devkit/schematics';
513
import { dirname } from 'path';

src/lib/schematics/utils/devkit-utils/parse-name.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
/* tslint:disable */
22

3+
/**
4+
* @license
5+
* Copyright Google LLC All Rights Reserved.
6+
*
7+
* Use of this source code is governed by an MIT-style license that can be
8+
* found in the LICENSE file at https://angular.io/license
9+
*/
10+
311
import { Path, basename, dirname, normalize } from '@angular-devkit/core';
412

513
export interface Location {

src/lib/schematics/utils/devkit-utils/route-utils.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
/* tslint:disable */
22

3+
/**
4+
* @license
5+
* Copyright Google LLC All Rights Reserved.
6+
*
7+
* Use of this source code is governed by an MIT-style license that can be
8+
* found in the LICENSE file at https://angular.io/license
9+
*/
10+
311
import * as ts from 'typescript';
412
import { findNodes, insertAfterLastOccurrence } from './ast-utils';
513
import { Change, NoopChange } from './change';

src/lib/schematics/utils/devkit-utils/validation.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
/* tslint:disable */
22

3+
/**
4+
* @license
5+
* Copyright Google LLC All Rights Reserved.
6+
*
7+
* Use of this source code is governed by an MIT-style license that can be
8+
* found in the LICENSE file at https://angular.io/license
9+
*/
10+
311
import { tags } from '@angular-devkit/core';
412
import { SchematicsException } from '@angular-devkit/schematics';
513

0 commit comments

Comments
 (0)