_id
stringlengths
21
254
text
stringlengths
1
93.7k
metadata
dict
angular-cli/packages/angular_devkit/build_angular/test/hello-world-lib/projects/lib/karma.conf.js_0_1486
/** * @license * Copyright Google LLC 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.dev/license */ // Karma configuration file, see link for more information // https://karma-runner.github.io/1.0/config/configuratio...
{ "end_byte": 1486, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/test/hello-world-lib/projects/lib/karma.conf.js" }
angular-cli/packages/angular_devkit/build_angular/test/hello-world-lib/projects/lib/src/public-api.ts_0_313
/** * @license * Copyright Google LLC 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.dev/license */ /* * Public API Surface of lib */ export * from './lib/lib.service'; export * from './lib/lib.component';
{ "end_byte": 313, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/test/hello-world-lib/projects/lib/src/public-api.ts" }
angular-cli/packages/angular_devkit/build_angular/test/hello-world-lib/projects/lib/src/lib/lib.component.ts_0_380
/** * @license * Copyright Google LLC 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.dev/license */ import { Component } from '@angular/core'; @Component({ selector: 'lib', template: ` <p> lib works! ...
{ "end_byte": 380, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/test/hello-world-lib/projects/lib/src/lib/lib.component.ts" }
angular-cli/packages/angular_devkit/build_angular/test/hello-world-lib/projects/lib/src/lib/lib.service.spec.ts_0_560
/** * @license * Copyright Google LLC 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.dev/license */ import { TestBed, inject } from '@angular/core/testing'; import { LibService } from './lib.service'; describe('Lib...
{ "end_byte": 560, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/test/hello-world-lib/projects/lib/src/lib/lib.service.spec.ts" }
angular-cli/packages/angular_devkit/build_angular/test/hello-world-lib/projects/lib/src/lib/lib.service.ts_0_357
/** * @license * Copyright Google LLC 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.dev/license */ import { Injectable } from '@angular/core'; @Injectable() export class LibService { testEs2016() { return ['...
{ "end_byte": 357, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/test/hello-world-lib/projects/lib/src/lib/lib.service.ts" }
angular-cli/packages/angular_devkit/build_angular/test/hello-world-lib/projects/lib/src/lib/lib.component.spec.ts_0_755
/** * @license * Copyright Google LLC 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.dev/license */ import { ComponentFixture, TestBed } from '@angular/core/testing'; import { LibComponent } from './lib.component'; ...
{ "end_byte": 755, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/test/hello-world-lib/projects/lib/src/lib/lib.component.spec.ts" }
angular-cli/packages/angular_devkit/build_angular/plugins/karma.ts_0_274
/** * @license * Copyright Google LLC 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.dev/license */ module.exports = require('../src/tools/webpack/plugins/karma/karma');
{ "end_byte": 274, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/plugins/karma.ts" }
angular-cli/packages/angular_devkit/build_angular/src/index.ts_0_1721
/** * @license * Copyright Google LLC 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.dev/license */ export * from './transforms'; export { CrossOrigin, OutputHashing, Type } from './builders/browser/schema'; export ...
{ "end_byte": 1721, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/index.ts" }
angular-cli/packages/angular_devkit/build_angular/src/transforms.ts_0_272
/** * @license * Copyright Google LLC 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.dev/license */ export type ExecutionTransformer<T> = (input: T) => T | Promise<T>;
{ "end_byte": 272, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/transforms.ts" }
angular-cli/packages/angular_devkit/build_angular/src/tools/webpack/plugins/devtools-ignore-plugin.ts_0_2167
/** * @license * Copyright Google LLC 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.dev/license */ import { Compilation, Compiler } from 'webpack'; // Following the naming conventions from // https://sourcemaps.inf...
{ "end_byte": 2167, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/tools/webpack/plugins/devtools-ignore-plugin.ts" }
angular-cli/packages/angular_devkit/build_angular/src/tools/webpack/plugins/javascript-optimizer-plugin.ts_0_8639
/** * @license * Copyright Google LLC 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.dev/license */ import { transformSupportedBrowsersToTargets } from '@angular/build/private'; import Piscina from 'piscina'; import ...
{ "end_byte": 8639, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/tools/webpack/plugins/javascript-optimizer-plugin.ts" }
angular-cli/packages/angular_devkit/build_angular/src/tools/webpack/plugins/esbuild-executor.ts_0_3911
/** * @license * Copyright Google LLC 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.dev/license */ import type { FormatMessagesOptions, PartialMessage, TransformOptions, TransformResult, } from 'esbuild'; /...
{ "end_byte": 3911, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/tools/webpack/plugins/esbuild-executor.ts" }
angular-cli/packages/angular_devkit/build_angular/src/tools/webpack/plugins/postcss-cli-resources.ts_0_5593
/** * @license * Copyright Google LLC 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.dev/license */ import { interpolateName } from 'loader-utils'; import * as path from 'path'; import { Declaration, Plugin } from 'p...
{ "end_byte": 5593, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/tools/webpack/plugins/postcss-cli-resources.ts" }
angular-cli/packages/angular_devkit/build_angular/src/tools/webpack/plugins/suppress-entry-chunks-webpack-plugin.ts_0_1666
/** * @license * Copyright Google LLC 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.dev/license */ /** * Remove .js files from entry points consisting entirely of stylesheets. * To be used together with mini-css-e...
{ "end_byte": 1666, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/tools/webpack/plugins/suppress-entry-chunks-webpack-plugin.ts" }
angular-cli/packages/angular_devkit/build_angular/src/tools/webpack/plugins/any-component-style-budget-checker.ts_0_2606
/** * @license * Copyright Google LLC 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.dev/license */ import { BudgetAsset, BudgetEntry, BudgetType, ThresholdSeverity, checkBudgets, } from '@angular/build/pri...
{ "end_byte": 2606, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/tools/webpack/plugins/any-component-style-budget-checker.ts" }
angular-cli/packages/angular_devkit/build_angular/src/tools/webpack/plugins/styles-webpack-plugin.ts_0_2699
/** * @license * Copyright Google LLC 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.dev/license */ import assert from 'assert'; import type { Compilation, Compiler } from 'webpack'; import { assertIsError } from '.....
{ "end_byte": 2699, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/tools/webpack/plugins/styles-webpack-plugin.ts" }
angular-cli/packages/angular_devkit/build_angular/src/tools/webpack/plugins/css-optimizer-plugin.ts_0_5598
/** * @license * Copyright Google LLC 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.dev/license */ import { transformSupportedBrowsersToTargets } from '@angular/build/private'; import type { Message, TransformResult...
{ "end_byte": 5598, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/tools/webpack/plugins/css-optimizer-plugin.ts" }
angular-cli/packages/angular_devkit/build_angular/src/tools/webpack/plugins/named-chunks-plugin.ts_0_2066
/** * @license * Copyright Google LLC 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.dev/license */ import { AsyncDependenciesBlock, Chunk, Compiler, Template, dependencies } from 'webpack'; // `ImportDependency` is...
{ "end_byte": 2066, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/tools/webpack/plugins/named-chunks-plugin.ts" }
angular-cli/packages/angular_devkit/build_angular/src/tools/webpack/plugins/transfer-size-plugin.ts_0_2024
/** * @license * Copyright Google LLC 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.dev/license */ import { promisify } from 'util'; import { Compiler } from 'webpack'; import { brotliCompress } from 'zlib'; import ...
{ "end_byte": 2024, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/tools/webpack/plugins/transfer-size-plugin.ts" }
angular-cli/packages/angular_devkit/build_angular/src/tools/webpack/plugins/common-js-usage-warn-plugin.ts_0_5883
/** * @license * Copyright Google LLC 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.dev/license */ import { isAbsolute } from 'path'; import { Compilation, Compiler, Dependency, Module, NormalModule } from 'webpack'...
{ "end_byte": 5883, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/tools/webpack/plugins/common-js-usage-warn-plugin.ts" }
angular-cli/packages/angular_devkit/build_angular/src/tools/webpack/plugins/index-html-webpack-plugin.ts_0_3375
/** * @license * Copyright Google LLC 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.dev/license */ import { FileInfo, IndexHtmlGenerator, IndexHtmlGeneratorOptions, IndexHtmlGeneratorProcessOptions, } from '...
{ "end_byte": 3375, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/tools/webpack/plugins/index-html-webpack-plugin.ts" }
angular-cli/packages/angular_devkit/build_angular/src/tools/webpack/plugins/occurrences-plugin.ts_0_2948
/** * @license * Copyright Google LLC 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.dev/license */ import { Compiler } from 'webpack'; const PLUGIN_NAME = 'angular-occurrences-plugin'; export interface Occurrences...
{ "end_byte": 2948, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/tools/webpack/plugins/occurrences-plugin.ts" }
angular-cli/packages/angular_devkit/build_angular/src/tools/webpack/plugins/service-worker-plugin.ts_0_2237
/** * @license * Copyright Google LLC 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.dev/license */ import { augmentAppWithServiceWorker } from '@angular/build/private'; import type { Compiler } from 'webpack'; expo...
{ "end_byte": 2237, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/tools/webpack/plugins/service-worker-plugin.ts" }
angular-cli/packages/angular_devkit/build_angular/src/tools/webpack/plugins/remove-hash-plugin.ts_0_1097
/** * @license * Copyright Google LLC 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.dev/license */ import { Compiler } from 'webpack'; import { HashFormat } from '../utils/helpers'; export interface RemoveHashPlugi...
{ "end_byte": 1097, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/tools/webpack/plugins/remove-hash-plugin.ts" }
angular-cli/packages/angular_devkit/build_angular/src/tools/webpack/plugins/scripts-webpack-plugin.ts_0_6474
/** * @license * Copyright Google LLC 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.dev/license */ import { interpolateName } from 'loader-utils'; import * as path from 'path'; import { Chunk, Compilation, Compiler,...
{ "end_byte": 6474, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/tools/webpack/plugins/scripts-webpack-plugin.ts" }
angular-cli/packages/angular_devkit/build_angular/src/tools/webpack/plugins/javascript-optimizer-worker.ts_0_7261
/** * @license * Copyright Google LLC 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.dev/license */ import remapping, { SourceMapInput } from '@ampproject/remapping'; import type { BuildFailure, TransformResult } fro...
{ "end_byte": 7261, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/tools/webpack/plugins/javascript-optimizer-worker.ts" }
angular-cli/packages/angular_devkit/build_angular/src/tools/webpack/plugins/watch-files-logs-plugin.ts_0_846
/** * @license * Copyright Google LLC 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.dev/license */ import type { Compiler } from 'webpack'; const PLUGIN_NAME = 'angular.watch-files-logs-plugin'; export class Watch...
{ "end_byte": 846, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/tools/webpack/plugins/watch-files-logs-plugin.ts" }
angular-cli/packages/angular_devkit/build_angular/src/tools/webpack/plugins/typescript.ts_0_2371
/** * @license * Copyright Google LLC 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.dev/license */ import type { CompilerOptions } from '@angular/compiler-cli'; import { AngularWebpackPlugin } from '@ngtools/webpack...
{ "end_byte": 2371, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/tools/webpack/plugins/typescript.ts" }
angular-cli/packages/angular_devkit/build_angular/src/tools/webpack/plugins/index.ts_0_1017
/** * @license * Copyright Google LLC 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.dev/license */ // Exports the webpack plugins we use internally. export { AnyComponentStyleBudgetChecker } from './any-component-st...
{ "end_byte": 1017, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/tools/webpack/plugins/index.ts" }
angular-cli/packages/angular_devkit/build_angular/src/tools/webpack/plugins/builder-watch-plugin.ts_0_4156
/** * @license * Copyright Google LLC 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.dev/license */ import { Compiler } from 'webpack'; export type BuilderWatcherCallback = ( events: Array<{ path: string; type: 'c...
{ "end_byte": 4156, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/tools/webpack/plugins/builder-watch-plugin.ts" }
angular-cli/packages/angular_devkit/build_angular/src/tools/webpack/plugins/json-stats-plugin.ts_0_1232
/** * @license * Copyright Google LLC 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.dev/license */ import { createWriteStream } from 'node:fs'; import { mkdir } from 'node:fs/promises'; import { dirname } from 'node...
{ "end_byte": 1232, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/tools/webpack/plugins/json-stats-plugin.ts" }
angular-cli/packages/angular_devkit/build_angular/src/tools/webpack/plugins/progress-plugin.ts_0_1214
/** * @license * Copyright Google LLC 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.dev/license */ import { ProgressPlugin as WebpackProgressPlugin } from 'webpack'; import { Spinner } from '../../../utils/spinner';...
{ "end_byte": 1214, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/tools/webpack/plugins/progress-plugin.ts" }
angular-cli/packages/angular_devkit/build_angular/src/tools/webpack/plugins/dedupe-module-resolve-plugin.ts_0_3260
/** * @license * Copyright Google LLC 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.dev/license */ import { Compiler } from 'webpack'; import { addWarning } from '../../../utils/webpack-diagnostics'; interface Reso...
{ "end_byte": 3260, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/tools/webpack/plugins/dedupe-module-resolve-plugin.ts" }
angular-cli/packages/angular_devkit/build_angular/src/tools/webpack/plugins/hmr/hmr-loader.ts_0_706
/** * @license * Copyright Google LLC 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.dev/license */ import { join } from 'path'; export const HmrLoader = __filename; const hmrAcceptPath = join(__dirname, './hmr-acce...
{ "end_byte": 706, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/tools/webpack/plugins/hmr/hmr-loader.ts" }
angular-cli/packages/angular_devkit/build_angular/src/tools/webpack/plugins/hmr/hmr-accept.ts_0_6736
/** * @license * Copyright Google LLC 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.dev/license */ // eslint-disable-next-line import/no-extraneous-dependencies import { ApplicationRef, PlatformRef, Type, is...
{ "end_byte": 6736, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/tools/webpack/plugins/hmr/hmr-accept.ts" }
angular-cli/packages/angular_devkit/build_angular/src/tools/webpack/plugins/karma/karma.ts_0_8036
/** * @license * Copyright Google LLC 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.dev/license */ /* eslint-disable */ // TODO: cleanup this file, it's copied as is from Angular CLI. import * as http from 'http'; i...
{ "end_byte": 8036, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/tools/webpack/plugins/karma/karma.ts" }
angular-cli/packages/angular_devkit/build_angular/src/tools/webpack/plugins/karma/karma.ts_8037_10119
const sourceMapReporter: any = function (this: any, baseReporterDecorator: any, config: any) { baseReporterDecorator(this); muteDuplicateReporterLogging(this, config); const urlRegexp = /http:\/\/localhost:\d+\/_karma_webpack_\/(webpack:\/)?/gi; this.onSpecComplete = function (_browser: any, result: any) { ...
{ "end_byte": 10119, "start_byte": 8037, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/tools/webpack/plugins/karma/karma.ts" }
angular-cli/packages/angular_devkit/build_angular/src/tools/webpack/plugins/karma/karma-debug.html_0_1834
<!DOCTYPE html> <!-- This file is almost the same as context.html - loads all source files, but its purpose is to be loaded in the main frame (not within an iframe), just for immediate execution, without reporting to Karma server. --> <html> <head> %X_UA_COMPATIBLE% <title>Karma DEBUG RUNNER</title> <base...
{ "end_byte": 1834, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/tools/webpack/plugins/karma/karma-debug.html" }
angular-cli/packages/angular_devkit/build_angular/src/tools/webpack/plugins/karma/karma-context.html_0_1678
<!DOCTYPE html> <!-- This is the execution context. Loaded within the iframe. Reloaded before every execution run. --> <html> <head> <title></title> <base href="/" /> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <link rel="stylesheet" href="_karma_webpack_/styles.css" crossori...
{ "end_byte": 1678, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/tools/webpack/plugins/karma/karma-context.html" }
angular-cli/packages/angular_devkit/build_angular/src/tools/webpack/utils/helpers.ts_0_8020
/** * @license * Copyright Google LLC 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.dev/license */ import type { ObjectPattern } from 'copy-webpack-plugin'; import { createHash } from 'crypto'; import glob from 'fas...
{ "end_byte": 8020, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/tools/webpack/utils/helpers.ts" }
angular-cli/packages/angular_devkit/build_angular/src/tools/webpack/utils/helpers.ts_8022_9751
export function getStatsOptions(verbose = false): WebpackStatsOptions { const webpackOutputOptions: WebpackStatsOptions = { all: false, // Fallback value for stats options when an option is not defined. It has precedence over local webpack defaults. colors: true, hash: true, // required by custom stat out...
{ "end_byte": 9751, "start_byte": 8022, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/tools/webpack/utils/helpers.ts" }
angular-cli/packages/angular_devkit/build_angular/src/tools/webpack/utils/stats.ts_0_7920
/** * @license * Copyright Google LLC 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.dev/license */ import { BudgetCalculatorResult, BundleStats, generateBuildStatsTable, } from '@angular/build/private'; import...
{ "end_byte": 7920, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/tools/webpack/utils/stats.ts" }
angular-cli/packages/angular_devkit/build_angular/src/tools/webpack/utils/stats.ts_7922_11186
export function statsHasWarnings(json: StatsCompilation): boolean { return !!(json.warnings?.length || json.children?.some((c) => c.warnings?.length)); } export function createWebpackLoggingCallback( options: BrowserBuilderOptions, logger: logging.LoggerApi, ): WebpackLoggingCallback { const { verbose = false,...
{ "end_byte": 11186, "start_byte": 7922, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/tools/webpack/utils/stats.ts" }
angular-cli/packages/angular_devkit/build_angular/src/tools/webpack/utils/async-chunks.ts_0_2012
/** * @license * Copyright Google LLC 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.dev/license */ import { StatsChunk, StatsCompilation } from 'webpack'; import { NormalizedEntryPoint } from './helpers'; /** * We...
{ "end_byte": 2012, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/tools/webpack/utils/async-chunks.ts" }
angular-cli/packages/angular_devkit/build_angular/src/tools/webpack/configs/styles.ts_0_1140
/** * @license * Copyright Google LLC 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.dev/license */ import { SassWorkerImplementation } from '@angular/build/private'; import MiniCssExtractPlugin from 'mini-css-extrac...
{ "end_byte": 1140, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/tools/webpack/configs/styles.ts" }
angular-cli/packages/angular_devkit/build_angular/src/tools/webpack/configs/styles.ts_1141_9422
export async function getStylesConfig(wco: WebpackConfigOptions): Promise<Configuration> { const { root, buildOptions, logger, projectRoot } = wco; const extraPlugins: Configuration['plugins'] = []; extraPlugins.push(new AnyComponentStyleBudgetChecker(buildOptions.budgets)); const cssSourceMap = buildOptions....
{ "end_byte": 9422, "start_byte": 1141, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/tools/webpack/configs/styles.ts" }
angular-cli/packages/angular_devkit/build_angular/src/tools/webpack/configs/styles.ts_9424_13018
function getSassLoaderOptions( root: string, implementation: SassWorkerImplementation, includePaths: string[], indentedSyntax: boolean, verbose: boolean, preserveSymlinks: boolean, ): Record<string, unknown> { return { sourceMap: true, api: 'modern', implementation, // Webpack importer is ...
{ "end_byte": 13018, "start_byte": 9424, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/tools/webpack/configs/styles.ts" }
angular-cli/packages/angular_devkit/build_angular/src/tools/webpack/configs/common.ts_0_1743
/** * @license * Copyright Google LLC 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.dev/license */ import { AngularWebpackLoaderPath } from '@ngtools/webpack'; import CopyWebpackPlugin from 'copy-webpack-plugin'; im...
{ "end_byte": 1743, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/tools/webpack/configs/common.ts" }
angular-cli/packages/angular_devkit/build_angular/src/tools/webpack/configs/common.ts_1744_10110
export async function getCommonConfig(wco: WebpackConfigOptions): Promise<Configuration> { const { root, projectRoot, buildOptions, tsConfig, projectName, sourceRoot, tsConfigPath } = wco; const { cache, codeCoverage, crossOrigin = 'none', platform = 'browser', aot = true, codeCoverageExclud...
{ "end_byte": 10110, "start_byte": 1744, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/tools/webpack/configs/common.ts" }
angular-cli/packages/angular_devkit/build_angular/src/tools/webpack/configs/common.ts_10113_17154
if (scriptsOptimization) { extraMinimizers.push( new JavaScriptOptimizerPlugin({ define: buildOptions.aot ? GLOBAL_DEFS_FOR_TERSER_WITH_AOT : GLOBAL_DEFS_FOR_TERSER, sourcemap: scriptsSourceMap, supportedBrowsers: buildOptions.supportedBrowsers, keepIdentifierNames: !allowMangl...
{ "end_byte": 17154, "start_byte": 10113, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/tools/webpack/configs/common.ts" }
angular-cli/packages/angular_devkit/build_angular/src/tools/webpack/configs/index.ts_0_286
/** * @license * Copyright Google LLC 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.dev/license */ export * from './common'; export * from './dev-server'; export * from './styles';
{ "end_byte": 286, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/tools/webpack/configs/index.ts" }
angular-cli/packages/angular_devkit/build_angular/src/tools/webpack/configs/dev-server.ts_0_8244
/** * @license * Copyright Google LLC 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.dev/license */ import { logging, tags } from '@angular-devkit/core'; import { existsSync, promises as fsPromises } from 'fs'; impor...
{ "end_byte": 8244, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/tools/webpack/configs/dev-server.ts" }
angular-cli/packages/angular_devkit/build_angular/src/tools/webpack/configs/dev-server.ts_8245_10943
function findDefaultServePath(baseHref?: string, deployUrl?: string): string | null { if (!baseHref && !deployUrl) { return ''; } if (/^(\w+:)?\/\//.test(baseHref || '') || /^(\w+:)?\/\//.test(deployUrl || '')) { // If baseHref or deployUrl is absolute, unsupported by ng serve return null; } // ...
{ "end_byte": 10943, "start_byte": 8245, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/tools/webpack/configs/dev-server.ts" }
angular-cli/packages/angular_devkit/build_angular/src/tools/babel/babel-loader.d.ts_0_1280
/** * @license * Copyright Google LLC 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.dev/license */ declare module 'babel-loader' { type BabelLoaderCustomizer<T> = (babel: typeof import('@babel/core')) => { cus...
{ "end_byte": 1280, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/tools/babel/babel-loader.d.ts" }
angular-cli/packages/angular_devkit/build_angular/src/tools/babel/webpack-loader.ts_0_7920
/** * @license * Copyright Google LLC 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.dev/license */ import { custom } from 'babel-loader'; import { loadEsmModule } from '../../utils/load-esm'; import { VERSION } from...
{ "end_byte": 7920, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/tools/babel/webpack-loader.ts" }
angular-cli/packages/angular_devkit/build_angular/src/tools/babel/plugins/types.d.ts_0_590
/** * @license * Copyright Google LLC 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.dev/license */ declare module 'istanbul-lib-instrument' { export interface Visitor { enter(path: import('@babel/core').NodePa...
{ "end_byte": 590, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/tools/babel/plugins/types.d.ts" }
angular-cli/packages/angular_devkit/build_angular/src/tools/babel/plugins/add-code-coverage.ts_0_1268
/** * @license * Copyright Google LLC 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.dev/license */ import { NodePath, PluginObj, types } from '@babel/core'; import { Visitor, programVisitor } from 'istanbul-lib-inst...
{ "end_byte": 1268, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/tools/babel/plugins/add-code-coverage.ts" }
angular-cli/packages/angular_devkit/build_angular/src/tools/babel/presets/application.ts_0_8030
/** * @license * Copyright Google LLC 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.dev/license */ import type { ɵParsedTranslation } from '@angular/localize'; import type { DiagnosticHandlingStrategy, Diagnosti...
{ "end_byte": 8030, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/tools/babel/presets/application.ts" }
angular-cli/packages/angular_devkit/build_angular/src/builders/dev-server/webpack-server.ts_0_2600
/** * @license * Copyright Google LLC 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.dev/license */ import { IndexHtmlTransform, assertCompatibleAngularVersion, createTranslationLoader, } from '@angular/build/p...
{ "end_byte": 2600, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/dev-server/webpack-server.ts" }
angular-cli/packages/angular_devkit/build_angular/src/builders/dev-server/webpack-server.ts_2601_9969
export function serveWebpackBrowser( options: NormalizedDevServerOptions, builderName: string, context: BuilderContext, transforms: { webpackConfiguration?: ExecutionTransformer<webpack.Configuration>; logging?: WebpackLoggingCallback; indexHtml?: IndexHtmlTransform; } = {}, ): Observable<DevServe...
{ "end_byte": 9969, "start_byte": 2601, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/dev-server/webpack-server.ts" }
angular-cli/packages/angular_devkit/build_angular/src/builders/dev-server/webpack-server.ts_9971_13364
async function setupLocalize( locale: string, i18n: I18nOptions, browserOptions: BrowserBuilderSchema, webpackConfig: webpack.Configuration, cacheOptions: NormalizedCachedOptions, context: BuilderContext, ) { const localeDescription = i18n.locales[locale]; // Modify main entrypoint to include locale da...
{ "end_byte": 13364, "start_byte": 9971, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/dev-server/webpack-server.ts" }
angular-cli/packages/angular_devkit/build_angular/src/builders/dev-server/builder.ts_0_8048
/** * @license * Copyright Google LLC 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.dev/license */ import type { DevServerBuilderOutput } from '@angular/build'; import { type IndexHtmlTransform, checkPort, purgeStal...
{ "end_byte": 8048, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/dev-server/builder.ts" }
angular-cli/packages/angular_devkit/build_angular/src/builders/dev-server/index.ts_0_699
/** * @license * Copyright Google LLC 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.dev/license */ import { DevServerBuilderOutput } from '@angular/build'; import { createBuilder } from '@angular-devkit/architect'; ...
{ "end_byte": 699, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/dev-server/index.ts" }
angular-cli/packages/angular_devkit/build_angular/src/builders/dev-server/options.ts_0_4388
/** * @license * Copyright Google LLC 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.dev/license */ import { BuilderContext, targetFromTargetString } from '@angular-devkit/architect'; import path from 'node:path'; im...
{ "end_byte": 4388, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/dev-server/options.ts" }
angular-cli/packages/angular_devkit/build_angular/src/builders/dev-server/specs/ssl_spec.ts_0_3874
/** * @license * Copyright Google LLC 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.dev/license */ import { Architect, BuilderRun } from '@angular-devkit/architect'; import { DevServerBuilderOutput } from '@angular-...
{ "end_byte": 3874, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/dev-server/specs/ssl_spec.ts" }
angular-cli/packages/angular_devkit/build_angular/src/builders/dev-server/specs/ssl_spec.ts_3881_6429
'ssl/server.crt': tags.stripIndents` -----BEGIN CERTIFICATE----- MIID5jCCAs6gAwIBAgIJAJOebwfGCm61MA0GCSqGSIb3DQEBBQUAMFUxCzAJBgNV BAYTAlVTMRAwDgYDVQQIEwdHZW9yZ2lhMRAwDgYDVQQHEwdBdGxhbnRhMRAwDgYD VQQKEwdBbmd1bGFyMRAwDgYDVQQLEwdBbmd1bGFyMB4XDTE2MTAwNDAxMDAyMVoX DTI2MTAwMjAxMDAyMVow...
{ "end_byte": 6429, "start_byte": 3881, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/dev-server/specs/ssl_spec.ts" }
angular-cli/packages/angular_devkit/build_angular/src/builders/dev-server/specs/works_spec.ts_0_3672
/** * @license * Copyright Google LLC 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.dev/license */ import { Architect, BuilderRun } from '@angular-devkit/architect'; import { DevServerBuilderOutput } from '@angular-...
{ "end_byte": 3672, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/dev-server/specs/works_spec.ts" }
angular-cli/packages/angular_devkit/build_angular/src/builders/dev-server/specs/hmr_spec.ts_0_6329
/** * @license * Copyright Google LLC 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.dev/license */ import { Architect, BuilderRun } from '@angular-devkit/architect'; // eslint-disable-next-line import/no-extraneous-...
{ "end_byte": 6329, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/dev-server/specs/hmr_spec.ts" }
angular-cli/packages/angular_devkit/build_angular/src/builders/dev-server/specs/index_spec.ts_0_1787
/** * @license * Copyright Google LLC 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.dev/license */ import { DevServerBuilderOutput } from '@angular-devkit/build-angular'; import { workspaces } from '@angular-devkit/...
{ "end_byte": 1787, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/dev-server/specs/index_spec.ts" }
angular-cli/packages/angular_devkit/build_angular/src/builders/dev-server/tests/jasmine-helpers.ts_0_1908
/** * @license * Copyright Google LLC 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.dev/license */ import { BuilderHandlerFn } from '@angular-devkit/architect'; import { json } from '@angular-devkit/core'; import { ...
{ "end_byte": 1908, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/dev-server/tests/jasmine-helpers.ts" }
angular-cli/packages/angular_devkit/build_angular/src/builders/dev-server/tests/setup.ts_0_4208
/** * @license * Copyright Google LLC 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.dev/license */ import { json } from '@angular-devkit/core'; import { readFileSync } from 'node:fs'; import path from 'node:path'; i...
{ "end_byte": 4208, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/dev-server/tests/setup.ts" }
angular-cli/packages/angular_devkit/build_angular/src/builders/dev-server/tests/execute-fetch.ts_0_1455
/** * @license * Copyright Google LLC 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.dev/license */ import { lastValueFrom, mergeMap, take, timeout } from 'rxjs'; import { URL } from 'url'; import { BuilderHarness,...
{ "end_byte": 1455, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/dev-server/tests/execute-fetch.ts" }
angular-cli/packages/angular_devkit/build_angular/src/builders/dev-server/tests/behavior/serve_service-worker_spec.ts_0_7449
/** * @license * Copyright Google LLC 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.dev/license */ import { concatMap, count, take, timeout } from 'rxjs'; import { executeDevServer } from '../../index'; import { exe...
{ "end_byte": 7449, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/dev-server/tests/behavior/serve_service-worker_spec.ts" }
angular-cli/packages/angular_devkit/build_angular/src/builders/dev-server/tests/behavior/build-deploy-url_spec.ts_0_1165
/** * @license * Copyright Google LLC 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.dev/license */ import { executeDevServer } from '../../index'; import { executeOnceAndFetch } from '../execute-fetch'; import { B...
{ "end_byte": 1165, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/dev-server/tests/behavior/build-deploy-url_spec.ts" }
angular-cli/packages/angular_devkit/build_angular/src/builders/dev-server/tests/behavior/build-assets_spec.ts_0_3644
/** * @license * Copyright Google LLC 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.dev/license */ import { executeDevServer } from '../../index'; import { executeOnceAndFetch } from '../execute-fetch'; import { des...
{ "end_byte": 3644, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/dev-server/tests/behavior/build-assets_spec.ts" }
angular-cli/packages/angular_devkit/build_angular/src/builders/dev-server/tests/behavior/build_localize_replaced_watch_spec.ts_0_2476
/** * @license * Copyright Google LLC 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.dev/license */ /* eslint-disable max-len */ import { concatMap, count, take, timeout } from 'rxjs'; import { URL } from 'url'; impo...
{ "end_byte": 2476, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/dev-server/tests/behavior/build_localize_replaced_watch_spec.ts" }
angular-cli/packages/angular_devkit/build_angular/src/builders/dev-server/tests/behavior/serve-live-reload-proxies_spec.ts_0_3491
/** * @license * Copyright Google LLC 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.dev/license */ /* eslint-disable import/no-extraneous-dependencies */ import { tags } from '@angular-devkit/core'; import { createS...
{ "end_byte": 3491, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/dev-server/tests/behavior/serve-live-reload-proxies_spec.ts" }
angular-cli/packages/angular_devkit/build_angular/src/builders/dev-server/tests/behavior/serve-live-reload-proxies_spec.ts_3498_6078
cert: tags.stripIndents` -----BEGIN CERTIFICATE----- MIIDXTCCAkWgAwIBAgIJALz8gD/gAt0OMA0GCSqGSIb3DQEBCwUAMEUxCzAJBgNV BAYTAkFVMRMwEQYDVQQIDApTb21lLVN0YXRlMSEwHwYDVQQKDBhJbnRlcm5ldCBX aWRnaXRzIFB0eSBMdGQwHhcNMTgxMDIzMTgyMTQ5WhcNMTkxMDIzMTgyMTQ5WjBF MQswCQYDVQQGEwJBVTETMBEGA1UECAwKU29tZS1TdG...
{ "end_byte": 6078, "start_byte": 3498, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/dev-server/tests/behavior/serve-live-reload-proxies_spec.ts" }
angular-cli/packages/angular_devkit/build_angular/src/builders/dev-server/tests/behavior/serve-live-reload-proxies_spec.ts_6080_12248
describeServeBuilder( executeDevServer, DEV_SERVER_BUILDER_INFO, (harness, setupTarget, isViteRun) => { // TODO(fix-vite): currently this is broken in vite. (isViteRun ? xdescribe : describe)( 'Behavior: "Dev-server builder live-reload with proxies"', () => { let browser: Browser; ...
{ "end_byte": 12248, "start_byte": 6080, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/dev-server/tests/behavior/serve-live-reload-proxies_spec.ts" }
angular-cli/packages/angular_devkit/build_angular/src/builders/dev-server/tests/behavior/build-budgets_spec.ts_0_1208
/** * @license * Copyright Google LLC 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.dev/license */ import { Type as BudgetType } from '../../../..'; import { executeDevServer } from '../../index'; import { describeS...
{ "end_byte": 1208, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/dev-server/tests/behavior/build-budgets_spec.ts" }
angular-cli/packages/angular_devkit/build_angular/src/builders/dev-server/tests/behavior/build_translation_watch_spec.ts_0_3446
/** * @license * Copyright Google LLC 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.dev/license */ /* eslint-disable max-len */ import { concatMap, count, take, timeout } from 'rxjs'; import { URL } from 'url'; impo...
{ "end_byte": 3446, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/dev-server/tests/behavior/build_translation_watch_spec.ts" }
angular-cli/packages/angular_devkit/build_angular/src/builders/dev-server/tests/behavior/build-base-href_spec.ts_0_1677
/** * @license * Copyright Google LLC 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.dev/license */ import { executeDevServer } from '../../index'; import { executeOnceAndFetch } from '../execute-fetch'; import { des...
{ "end_byte": 1677, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/dev-server/tests/behavior/build-base-href_spec.ts" }
angular-cli/packages/angular_devkit/build_angular/src/builders/dev-server/tests/behavior/build-inline-critical-css_spec.ts_0_1401
/** * @license * Copyright Google LLC 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.dev/license */ import { executeDevServer } from '../../index'; import { executeOnceAndFetch } from '../execute-fetch'; import { des...
{ "end_byte": 1401, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/dev-server/tests/behavior/build-inline-critical-css_spec.ts" }
angular-cli/packages/angular_devkit/build_angular/src/builders/dev-server/tests/options/proxy-config_spec.ts_0_8643
/** * @license * Copyright Google LLC 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.dev/license */ import { createServer } from 'node:http'; import { BuilderHarness } from '../../../../testing'; import { executeDevS...
{ "end_byte": 8643, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/dev-server/tests/options/proxy-config_spec.ts" }
angular-cli/packages/angular_devkit/build_angular/src/builders/dev-server/tests/options/proxy-config_spec.ts_8644_10620
async function createProxyServer() { const proxyServer = createServer((request, response) => { if (request.url?.endsWith('/test')) { response.writeHead(200); response.end('TEST_API_RETURN'); } else { response.writeHead(404); response.end(); } }); await new Promise<void>((resol...
{ "end_byte": 10620, "start_byte": 8644, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/dev-server/tests/options/proxy-config_spec.ts" }
angular-cli/packages/angular_devkit/build_angular/src/builders/dev-server/tests/options/port_spec.ts_0_3338
/** * @license * Copyright Google LLC 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.dev/license */ import { URL } from 'url'; import { executeDevServer } from '../../index'; import { executeOnceAndFetch } from '../e...
{ "end_byte": 3338, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/dev-server/tests/options/port_spec.ts" }
angular-cli/packages/angular_devkit/build_angular/src/builders/dev-server/tests/options/prebundle_spec.ts_0_3413
/** * @license * Copyright Google LLC 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.dev/license */ import { executeDevServer } from '../../index'; import { executeOnceAndFetch } from '../execute-fetch'; import { des...
{ "end_byte": 3413, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/dev-server/tests/options/prebundle_spec.ts" }
angular-cli/packages/angular_devkit/build_angular/src/builders/dev-server/tests/options/force-esbuild_spec.ts_0_2668
/** * @license * Copyright Google LLC 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.dev/license */ import { executeDevServer } from '../../index'; import { executeOnceAndFetch } from '../execute-fetch'; import { des...
{ "end_byte": 2668, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/dev-server/tests/options/force-esbuild_spec.ts" }
angular-cli/packages/angular_devkit/build_angular/src/builders/dev-server/tests/options/watch_spec.ts_0_3212
/** * @license * Copyright Google LLC 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.dev/license */ import { TimeoutError, concatMap, count, take, timeout } from 'rxjs'; import { executeDevServer } from '../../index'...
{ "end_byte": 3212, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/dev-server/tests/options/watch_spec.ts" }
angular-cli/packages/angular_devkit/build_angular/src/builders/dev-server/tests/options/public-host_spec.ts_0_2254
/** * @license * Copyright Google LLC 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.dev/license */ import { executeDevServer } from '../../index'; import { executeOnceAndFetch } from '../execute-fetch'; import { des...
{ "end_byte": 2254, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/dev-server/tests/options/public-host_spec.ts" }
angular-cli/packages/angular_devkit/build_angular/src/builders/dev-server/tests/options/verbose_spec.ts_0_1815
/** * @license * Copyright Google LLC 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.dev/license */ import { executeDevServer } from '../../index'; import { BASE_OPTIONS, DEV_SERVER_BUILDER_INFO, describeBuilde...
{ "end_byte": 1815, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/dev-server/tests/options/verbose_spec.ts" }
angular-cli/packages/angular_devkit/build_angular/src/builders/dev-server/tests/options/allowed-hosts_spec.ts_0_2255
/** * @license * Copyright Google LLC 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.dev/license */ import { executeDevServer } from '../../index'; import { executeOnceAndFetch } from '../execute-fetch'; import { des...
{ "end_byte": 2255, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/dev-server/tests/options/allowed-hosts_spec.ts" }
angular-cli/packages/angular_devkit/build_angular/src/builders/dev-server/tests/options/disable-host-check_spec.ts_0_2232
/** * @license * Copyright Google LLC 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.dev/license */ import { executeDevServer } from '../../index'; import { executeOnceAndFetch } from '../execute-fetch'; import { des...
{ "end_byte": 2232, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/dev-server/tests/options/disable-host-check_spec.ts" }
angular-cli/packages/angular_devkit/build_angular/src/builders/dev-server/tests/options/serve-path_spec.ts_0_4053
/** * @license * Copyright Google LLC 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.dev/license */ import { URL } from 'url'; import { executeDevServer } from '../../index'; import { executeOnceAndFetch } from '../e...
{ "end_byte": 4053, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/dev-server/tests/options/serve-path_spec.ts" }
angular-cli/packages/angular_devkit/build_angular/src/builders/ssr-dev-server/utils.ts_0_2299
/** * @license * Copyright Google LLC 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.dev/license */ import { SpawnOptions, spawn } from 'child_process'; import { AddressInfo, createConnection, createServer } from 'ne...
{ "end_byte": 2299, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/ssr-dev-server/utils.ts" }
angular-cli/packages/angular_devkit/build_angular/src/builders/ssr-dev-server/index.ts_0_7101
/** * @license * Copyright Google LLC 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.dev/license */ import { loadProxyConfiguration } from '@angular/build/private'; import { BuilderContext, BuilderOutput, creat...
{ "end_byte": 7101, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/ssr-dev-server/index.ts" }
angular-cli/packages/angular_devkit/build_angular/src/builders/ssr-dev-server/index.ts_7103_11618
async function initBrowserSync( browserSyncInstance: BrowserSyncInstance, nodeServerPort: number, options: SSRDevServerBuilderOptions, context: BuilderContext, ): Promise<BrowserSyncInstance> { if (browserSyncInstance.active) { return browserSyncInstance; } const { port: browserSyncPort, open, host, ...
{ "end_byte": 11618, "start_byte": 7103, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/ssr-dev-server/index.ts" }
angular-cli/packages/angular_devkit/build_angular/src/builders/ssr-dev-server/specs/ssl_spec.ts_0_3073
/** * @license * Copyright Google LLC 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.dev/license */ import { Architect } from '@angular-devkit/architect'; // eslint-disable-next-line import/no-extraneous-dependencies...
{ "end_byte": 3073, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/ssr-dev-server/specs/ssl_spec.ts" }
angular-cli/packages/angular_devkit/build_angular/src/builders/ssr-dev-server/specs/proxy_spec.ts_0_3479
/** * @license * Copyright Google LLC 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.dev/license */ import { Architect } from '@angular-devkit/architect'; // eslint-disable-next-line import/no-extraneous-dependencies...
{ "end_byte": 3479, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/ssr-dev-server/specs/proxy_spec.ts" }
angular-cli/packages/angular_devkit/build_angular/src/builders/ssr-dev-server/specs/works_spec.ts_0_2714
/** * @license * Copyright Google LLC 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.dev/license */ import { Architect } from '@angular-devkit/architect'; // eslint-disable-next-line import/no-extraneous-dependencies...
{ "end_byte": 2714, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/ssr-dev-server/specs/works_spec.ts" }