Skip to content

Commit e992c9a

Browse files
alan-agius4clydin
authored andcommitted
build: update files to be fix eslint header/header failures
1 parent a8ec1f0 commit e992c9a

File tree

115 files changed

+115
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

115 files changed

+115
-0
lines changed

lib/registries.ts

+1
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@
55
* Use of this source code is governed by an MIT-style license that can be
66
* found in the LICENSE file at https://angular.io/license
77
*/
8+
89
/** URL to Wombat NPM registry proxy. */
910
export const wombat = 'https://wombat-dressing-room.appspot.com';

packages/angular/cli/commands/config-impl.ts

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
* Use of this source code is governed by an MIT-style license that can be
66
* found in the LICENSE file at https://angular.io/license
77
*/
8+
89
import { JsonValue, tags } from '@angular-devkit/core';
910
import { v4 as uuidV4 } from 'uuid';
1011
import { Command } from '../models/command';

packages/angular/cli/commands/doc-impl.ts

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
* Use of this source code is governed by an MIT-style license that can be
66
* found in the LICENSE file at https://angular.io/license
77
*/
8+
89
import * as open from 'open';
910
import { Command } from '../models/command';
1011
import { Arguments } from '../models/interface';

packages/angular/cli/commands/e2e-impl.ts

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
* Use of this source code is governed by an MIT-style license that can be
66
* found in the LICENSE file at https://angular.io/license
77
*/
8+
89
import { ArchitectCommand } from '../models/architect-command';
910
import { Arguments } from '../models/interface';
1011
import { Schema as E2eCommandSchema } from './e2e';

packages/angular/cli/commands/extract-i18n-impl.ts

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
* Use of this source code is governed by an MIT-style license that can be
66
* found in the LICENSE file at https://angular.io/license
77
*/
8+
89
import { ArchitectCommand } from '../models/architect-command';
910
import { Arguments } from '../models/interface';
1011
import { Schema as ExtractI18nCommandSchema } from './extract-i18n';

packages/angular/cli/commands/run-impl.ts

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
* Use of this source code is governed by an MIT-style license that can be
66
* found in the LICENSE file at https://angular.io/license
77
*/
8+
89
import { ArchitectCommand, ArchitectCommandOptions } from '../models/architect-command';
910
import { Arguments } from '../models/interface';
1011
import { Schema as RunCommandSchema } from './run';

packages/angular/cli/commands/test-impl.ts

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
* Use of this source code is governed by an MIT-style license that can be
66
* found in the LICENSE file at https://angular.io/license
77
*/
8+
89
import { ArchitectCommand, ArchitectCommandOptions } from '../models/architect-command';
910
import { Arguments } from '../models/interface';
1011
import { Schema as TestCommandSchema } from './test';

packages/angular/cli/models/error.ts

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
* Use of this source code is governed by an MIT-style license that can be
66
* found in the LICENSE file at https://angular.io/license
77
*/
8+
89
export class NgToolkitError extends Error {
910
constructor(message?: string) {
1011
super();

packages/angular/cli/models/version.ts

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
* Use of this source code is governed by an MIT-style license that can be
66
* found in the LICENSE file at https://angular.io/license
77
*/
8+
89
// Same structure as used in framework packages
910
export class Version {
1011
public readonly major: string;

packages/angular/cli/utilities/find-up.ts

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
* Use of this source code is governed by an MIT-style license that can be
66
* found in the LICENSE file at https://angular.io/license
77
*/
8+
89
import { existsSync } from 'fs';
910
import * as path from 'path';
1011

packages/angular/cli/utilities/install-package.ts

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
* Use of this source code is governed by an MIT-style license that can be
66
* found in the LICENSE file at https://angular.io/license
77
*/
8+
89
import { logging } from '@angular-devkit/core';
910
import { spawnSync } from 'child_process';
1011
import { existsSync, mkdtempSync, readFileSync, realpathSync, writeFileSync } from 'fs';

packages/angular/cli/utilities/json-file.ts

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
* Use of this source code is governed by an MIT-style license that can be
66
* found in the LICENSE file at https://angular.io/license
77
*/
8+
89
import { JsonValue } from '@angular-devkit/core';
910
import { readFileSync, writeFileSync } from 'fs';
1011
import {

packages/angular/cli/utilities/log-file.ts

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
* Use of this source code is governed by an MIT-style license that can be
66
* found in the LICENSE file at https://angular.io/license
77
*/
8+
89
import { appendFileSync, mkdtempSync, realpathSync } from 'fs';
910
import { tmpdir } from 'os';
1011
import { normalize } from 'path';

packages/angular/cli/utilities/package-tree.ts

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
* Use of this source code is governed by an MIT-style license that can be
66
* found in the LICENSE file at https://angular.io/license
77
*/
8+
89
import * as fs from 'fs';
910
import { dirname, join } from 'path';
1011
import * as resolve from 'resolve';

packages/angular/cli/utilities/spinner.ts

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
* Use of this source code is governed by an MIT-style license that can be
66
* found in the LICENSE file at https://angular.io/license
77
*/
8+
89
import * as ora from 'ora';
910
import { colors } from './color';
1011

packages/angular/cli/utilities/tty.ts

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
* Use of this source code is governed by an MIT-style license that can be
66
* found in the LICENSE file at https://angular.io/license
77
*/
8+
89
function _isTruthy(value: undefined | string): boolean {
910
// Returns true if value is a string that is anything but 0 or false.
1011
return value !== undefined && value !== '0' && value.toUpperCase() !== 'FALSE';

packages/angular_devkit/architect/testing/test-project-host.ts

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
* Use of this source code is governed by an MIT-style license that can be
66
* found in the LICENSE file at https://angular.io/license
77
*/
8+
89
import {
910
Path,
1011
PathFragment,

packages/angular_devkit/benchmark/src/command.ts

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
* Use of this source code is governed by an MIT-style license that can be
66
* found in the LICENSE file at https://angular.io/license
77
*/
8+
89
export class Command {
910
constructor(
1011
public cmd: string,

packages/angular_devkit/benchmark/src/default-stats-capture.ts

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
* Use of this source code is governed by an MIT-style license that can be
66
* found in the LICENSE file at https://angular.io/license
77
*/
8+
89
import { Observable } from 'rxjs';
910
import { map, reduce } from 'rxjs/operators';
1011
import { AggregatedProcessStats, Capture, MetricGroup } from './interfaces';

packages/angular_devkit/benchmark/src/index.ts

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
* Use of this source code is governed by an MIT-style license that can be
66
* found in the LICENSE file at https://angular.io/license
77
*/
8+
89
export * from './interfaces';
910
export * from './command';
1011
export * from './default-reporter';

packages/angular_devkit/benchmark/src/main.ts

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
* Use of this source code is governed by an MIT-style license that can be
77
* found in the LICENSE file at https://angular.io/license
88
*/
9+
910
import { logging, tags } from '@angular-devkit/core';
1011
import { ProcessOutput } from '@angular-devkit/core/node';
1112
import * as ansiColors from 'ansi-colors';

packages/angular_devkit/benchmark/src/monitored-process_spec.ts

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
* Use of this source code is governed by an MIT-style license that can be
66
* found in the LICENSE file at https://angular.io/license
77
*/
8+
89
import { dirname } from 'path';
910
import { toArray } from 'rxjs/operators';
1011
import { Command } from './command';

packages/angular_devkit/benchmark/src/utils.ts

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
* Use of this source code is governed by an MIT-style license that can be
66
* found in the LICENSE file at https://angular.io/license
77
*/
8+
89
import { AggregatedMetric, Metric, MetricGroup } from './interfaces';
910

1011
// Prefers to keep v1 when both are equal.

packages/angular_devkit/build_angular/plugins/karma.ts

+1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,5 @@
55
* Use of this source code is governed by an MIT-style license that can be
66
* found in the LICENSE file at https://angular.io/license
77
*/
8+
89
module.exports = require('../src/webpack/plugins/karma/karma');

packages/angular_devkit/build_angular/src/browser/specs/aot_spec.ts

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
* Use of this source code is governed by an MIT-style license that can be
66
* found in the LICENSE file at https://angular.io/license
77
*/
8+
89
import { Architect } from '@angular-devkit/architect';
910
import { BrowserBuilderOutput } from '@angular-devkit/build-angular';
1011
import { join, logging, normalize, virtualFs } from '@angular-devkit/core';

packages/angular_devkit/build_angular/src/browser/specs/base-href_spec.ts

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
* Use of this source code is governed by an MIT-style license that can be
66
* found in the LICENSE file at https://angular.io/license
77
*/
8+
89
import { Architect } from '@angular-devkit/architect';
910
import { BrowserBuilderOutput } from '@angular-devkit/build-angular';
1011
import { join, normalize, tags, virtualFs } from '@angular-devkit/core';

packages/angular_devkit/build_angular/src/browser/specs/cross-origin_spec.ts

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
* Use of this source code is governed by an MIT-style license that can be
66
* found in the LICENSE file at https://angular.io/license
77
*/
8+
89
import { Architect } from '@angular-devkit/architect';
910
import { BrowserBuilderOutput, CrossOrigin } from '@angular-devkit/build-angular';
1011
import { join, normalize, virtualFs } from '@angular-devkit/core';

packages/angular_devkit/build_angular/src/browser/specs/differential_loading_spec.ts

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
* Use of this source code is governed by an MIT-style license that can be
66
* found in the LICENSE file at https://angular.io/license
77
*/
8+
89
import { Architect } from '@angular-devkit/architect';
910
import { PathFragment } from '@angular-devkit/core';
1011
import { browserBuild, createArchitect, host } from '../../test-utils';

packages/angular_devkit/build_angular/src/browser/specs/errors_spec.ts

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
* Use of this source code is governed by an MIT-style license that can be
66
* found in the LICENSE file at https://angular.io/license
77
*/
8+
89
import { Architect } from '@angular-devkit/architect';
910
import { logging } from '@angular-devkit/core';
1011
import { createArchitect, host } from '../../test-utils';

packages/angular_devkit/build_angular/src/browser/specs/lazy-module_spec.ts

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
* Use of this source code is governed by an MIT-style license that can be
66
* found in the LICENSE file at https://angular.io/license
77
*/
8+
89
import { Architect } from '@angular-devkit/architect';
910
import { TestProjectHost } from '@angular-devkit/architect/testing';
1011
import { logging } from '@angular-devkit/core';

packages/angular_devkit/build_angular/src/browser/specs/no-entry-module_spec.ts

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
* Use of this source code is governed by an MIT-style license that can be
66
* found in the LICENSE file at https://angular.io/license
77
*/
8+
89
import { Architect } from '@angular-devkit/architect';
910
import { browserBuild, createArchitect, host } from '../../test-utils';
1011

packages/angular_devkit/build_angular/src/browser/specs/output-path_spec.ts

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
* Use of this source code is governed by an MIT-style license that can be
66
* found in the LICENSE file at https://angular.io/license
77
*/
8+
89
import { Architect } from '@angular-devkit/architect';
910
import { getSystemPath, join, virtualFs } from '@angular-devkit/core';
1011
import * as fs from 'fs';

packages/angular_devkit/build_angular/src/browser/specs/poll_spec.ts

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
* Use of this source code is governed by an MIT-style license that can be
66
* found in the LICENSE file at https://angular.io/license
77
*/
8+
89
import { Architect } from '@angular-devkit/architect';
910
import { debounceTime, take, tap } from 'rxjs/operators';
1011
import { createArchitect, host } from '../../test-utils';

packages/angular_devkit/build_angular/src/browser/specs/replacements_spec.ts

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
* Use of this source code is governed by an MIT-style license that can be
66
* found in the LICENSE file at https://angular.io/license
77
*/
8+
89
import { Architect } from '@angular-devkit/architect';
910
import { logging, normalize, virtualFs } from '@angular-devkit/core';
1011
import { of, race } from 'rxjs';

packages/angular_devkit/build_angular/src/browser/specs/resolve-json-module_spec.ts

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
* Use of this source code is governed by an MIT-style license that can be
66
* found in the LICENSE file at https://angular.io/license
77
*/
8+
89
import { Architect } from '@angular-devkit/architect';
910
import { join, virtualFs } from '@angular-devkit/core';
1011
import { take, tap } from 'rxjs/operators';

packages/angular_devkit/build_angular/src/browser/specs/scripts-array_spec.ts

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
* Use of this source code is governed by an MIT-style license that can be
66
* found in the LICENSE file at https://angular.io/license
77
*/
8+
89
import { Architect } from '@angular-devkit/architect';
910
import { logging } from '@angular-devkit/core';
1011
import { browserBuild, createArchitect, host } from '../../test-utils';

packages/angular_devkit/build_angular/src/browser/specs/tsconfig-paths_spec.ts

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
* Use of this source code is governed by an MIT-style license that can be
66
* found in the LICENSE file at https://angular.io/license
77
*/
8+
89
import { Architect } from '@angular-devkit/architect';
910
import { browserBuild, createArchitect, host } from '../../test-utils';
1011

packages/angular_devkit/build_angular/src/browser/specs/web-worker_spec.ts

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
* Use of this source code is governed by an MIT-style license that can be
66
* found in the LICENSE file at https://angular.io/license
77
*/
8+
89
import { Architect } from '@angular-devkit/architect';
910
import { join, logging, virtualFs } from '@angular-devkit/core';
1011
import { timer } from 'rxjs';

packages/angular_devkit/build_angular/src/dev-server/index.ts

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
* Use of this source code is governed by an MIT-style license that can be
66
* found in the LICENSE file at https://angular.io/license
77
*/
8+
89
import { BuilderContext, createBuilder, targetFromTargetString } from '@angular-devkit/architect';
910
import {
1011
DevServerBuildOutput,

packages/angular_devkit/build_angular/src/index.ts

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
* Use of this source code is governed by an MIT-style license that can be
66
* found in the LICENSE file at https://angular.io/license
77
*/
8+
89
export * from './transforms';
910

1011
export {

packages/angular_devkit/build_angular/src/server/base_spec.ts

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
* Use of this source code is governed by an MIT-style license that can be
66
* found in the LICENSE file at https://angular.io/license
77
*/
8+
89
import { Architect } from '@angular-devkit/architect';
910
import { ServerBuilderOutput } from '@angular-devkit/build-angular';
1011
import { getSystemPath, join, normalize, virtualFs } from '@angular-devkit/core';

packages/angular_devkit/build_angular/src/server/external_dependencies_spec.ts

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
* Use of this source code is governed by an MIT-style license that can be
66
* found in the LICENSE file at https://angular.io/license
77
*/
8+
89
import { Architect } from '@angular-devkit/architect';
910
import { ServerBuilderOutput } from '@angular-devkit/build-angular';
1011
import { join, normalize, virtualFs } from '@angular-devkit/core';

packages/angular_devkit/build_angular/src/utils/build-browser-features.ts

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
* Use of this source code is governed by an MIT-style license that can be
66
* found in the LICENSE file at https://angular.io/license
77
*/
8+
89
import * as browserslist from 'browserslist';
910
import { feature, features } from 'caniuse-lite';
1011
import * as ts from 'typescript';

packages/angular_devkit/build_angular/src/utils/build-options.ts

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
* Use of this source code is governed by an MIT-style license that can be
66
* found in the LICENSE file at https://angular.io/license
77
*/
8+
89
import { logging } from '@angular-devkit/core';
910
import { ParsedConfiguration } from '@angular/compiler-cli';
1011
import {

packages/angular_devkit/build_angular/src/utils/default-progress.ts

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
* Use of this source code is governed by an MIT-style license that can be
66
* found in the LICENSE file at https://angular.io/license
77
*/
8+
89
export function defaultProgress(progress: boolean | undefined): boolean {
910
if (progress === undefined) {
1011
return process.stdout.isTTY === true;

packages/angular_devkit/build_angular/src/utils/index-file/augment-index-html.ts

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
* Use of this source code is governed by an MIT-style license that can be
66
* found in the LICENSE file at https://angular.io/license
77
*/
8+
89
import { createHash } from 'crypto';
910
import { htmlRewritingStream } from './html-rewriting-stream';
1011

packages/angular_devkit/build_angular/src/utils/index-file/html-rewriting-stream.ts

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
* Use of this source code is governed by an MIT-style license that can be
66
* found in the LICENSE file at https://angular.io/license
77
*/
8+
89
import { Readable, Writable } from 'stream';
910

1011
export async function htmlRewritingStream(

packages/angular_devkit/build_angular/src/utils/index-file/index-html-generator.ts

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
* Use of this source code is governed by an MIT-style license that can be
66
* found in the LICENSE file at https://angular.io/license
77
*/
8+
89
import * as fs from 'fs';
910
import { join } from 'path';
1011
import { NormalizedOptimizationOptions } from '../normalize-optimization';

packages/angular_devkit/build_angular/src/utils/index-file/inline-critical-css.ts

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
* Use of this source code is governed by an MIT-style license that can be
66
* found in the LICENSE file at https://angular.io/license
77
*/
8+
89
import * as fs from 'fs';
910

1011
const Critters: typeof import('critters').default = require('critters');

packages/angular_devkit/build_angular/src/utils/index-file/inline-fonts.ts

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
* Use of this source code is governed by an MIT-style license that can be
66
* found in the LICENSE file at https://angular.io/license
77
*/
8+
89
import * as cacache from 'cacache';
910
import * as fs from 'fs';
1011
import * as https from 'https';

0 commit comments

Comments
 (0)