Skip to content

Commit f441a48

Browse files
alexeaglefilipesilva
authored andcommitted
refactor: add missing license headers under packages/angular/cli
1 parent eadf627 commit f441a48

34 files changed

+283
-34
lines changed

packages/angular/cli/commands/add.ts

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
1-
// tslint:disable:no-global-tslint-disable no-any file-header
1+
/**
2+
* @license
3+
* Copyright Google Inc. All Rights Reserved.
4+
*
5+
* Use of this source code is governed by an MIT-style license that can be
6+
* found in the LICENSE file at https://angular.io/license
7+
*/
8+
9+
// tslint:disable:no-global-tslint-disable no-any
210
import { tags, terminal } from '@angular-devkit/core';
311
import { NodePackageDoesNotSupportSchematics } from '@angular-devkit/schematics/tools';
412
import { CommandScope, Option } from '../models/command';

packages/angular/cli/commands/build.ts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
1-
// tslint:disable:no-global-tslint-disable file-header
1+
/**
2+
* @license
3+
* Copyright Google Inc. All Rights Reserved.
4+
*
5+
* Use of this source code is governed by an MIT-style license that can be
6+
* found in the LICENSE file at https://angular.io/license
7+
*/
8+
29
import { ArchitectCommand, ArchitectCommandOptions } from '../models/architect-command';
310
import { CommandScope, Option } from '../models/command';
411
import { Version } from '../upgrade/version';

packages/angular/cli/commands/config.ts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
1-
// tslint:disable:no-global-tslint-disable file-header
1+
/**
2+
* @license
3+
* Copyright Google Inc. All Rights Reserved.
4+
*
5+
* Use of this source code is governed by an MIT-style license that can be
6+
* found in the LICENSE file at https://angular.io/license
7+
*/
8+
29
import {
310
InvalidJsonCharacterException,
411
JsonArray,

packages/angular/cli/commands/doc.ts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
1-
// tslint:disable:no-global-tslint-disable file-header
1+
/**
2+
* @license
3+
* Copyright Google Inc. All Rights Reserved.
4+
*
5+
* Use of this source code is governed by an MIT-style license that can be
6+
* found in the LICENSE file at https://angular.io/license
7+
*/
8+
29
import { Command } from '../models/command';
310
const opn = require('opn');
411

packages/angular/cli/commands/e2e.ts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
1-
// tslint:disable:no-global-tslint-disable file-header
1+
/**
2+
* @license
3+
* Copyright Google Inc. All Rights Reserved.
4+
*
5+
* Use of this source code is governed by an MIT-style license that can be
6+
* found in the LICENSE file at https://angular.io/license
7+
*/
8+
29
import { ArchitectCommand, ArchitectCommandOptions } from '../models/architect-command';
310
import { CommandScope, Option } from '../models/command';
411

packages/angular/cli/commands/easter-egg.ts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
1-
// tslint:disable:no-global-tslint-disable file-header
1+
/**
2+
* @license
3+
* Copyright Google Inc. All Rights Reserved.
4+
*
5+
* Use of this source code is governed by an MIT-style license that can be
6+
* found in the LICENSE file at https://angular.io/license
7+
*/
8+
29
import { terminal } from '@angular-devkit/core';
310
import { Command, Option } from '../models/command';
411

packages/angular/cli/commands/eject.ts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
1-
// tslint:disable:no-global-tslint-disable file-header
1+
/**
2+
* @license
3+
* Copyright Google Inc. All Rights Reserved.
4+
*
5+
* Use of this source code is governed by an MIT-style license that can be
6+
* found in the LICENSE file at https://angular.io/license
7+
*/
8+
29
import { tags } from '@angular-devkit/core';
310
import { Command, Option } from '../models/command';
411

packages/angular/cli/commands/generate.ts

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
1-
// tslint:disable:no-global-tslint-disable no-any file-header
1+
/**
2+
* @license
3+
* Copyright Google Inc. All Rights Reserved.
4+
*
5+
* Use of this source code is governed by an MIT-style license that can be
6+
* found in the LICENSE file at https://angular.io/license
7+
*/
8+
9+
// tslint:disable:no-global-tslint-disable no-any
210
import { tags, terminal } from '@angular-devkit/core';
311
import { CommandScope, Option } from '../models/command';
412
import { SchematicCommand } from '../models/schematic-command';

packages/angular/cli/commands/getset.ts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
1-
// tslint:disable:no-global-tslint-disable file-header
1+
/**
2+
* @license
3+
* Copyright Google Inc. All Rights Reserved.
4+
*
5+
* Use of this source code is governed by an MIT-style license that can be
6+
* found in the LICENSE file at https://angular.io/license
7+
*/
8+
29
import { Command, Option } from '../models/command';
310

411
export interface Options {

packages/angular/cli/commands/help.ts

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
1-
// tslint:disable:no-global-tslint-disable no-any file-header
1+
/**
2+
* @license
3+
* Copyright Google Inc. All Rights Reserved.
4+
*
5+
* Use of this source code is governed by an MIT-style license that can be
6+
* found in the LICENSE file at https://angular.io/license
7+
*/
8+
9+
// tslint:disable:no-global-tslint-disable no-any
210
import { terminal } from '@angular-devkit/core';
311
import { Command, Option } from '../models/command';
412

0 commit comments

Comments
 (0)