_id
stringlengths
21
254
text
stringlengths
1
93.7k
metadata
dict
angular-cli/packages/angular_devkit/build_angular/src/builders/karma/browser_builder.ts_0_6383
/** * @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 { purgeStaleBuildCache } from '@angular/build/private'; import { BuilderContext, BuilderOutput } from '@angul...
{ "end_byte": 6383, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/karma/browser_builder.ts" }
angular-cli/packages/angular_devkit/build_angular/src/builders/karma/find-tests-plugin.ts_0_2163
/** * @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 { pluginName } from 'mini-css-extract-plugin'; import type { Compilation, Compil...
{ "end_byte": 2163, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/karma/find-tests-plugin.ts" }
angular-cli/packages/angular_devkit/build_angular/src/builders/karma/index.ts_0_7237
/** * @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 { assertCompatibleAngularVersion } from '@angular/build/private'; import { BuilderContext, BuilderOutput,...
{ "end_byte": 7237, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/karma/index.ts" }
angular-cli/packages/angular_devkit/build_angular/src/builders/karma/application_builder.ts_0_5603
/** * @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 { BuildOutputFileType } from '@angular/build'; import { ApplicationBuilderInternalOptions, ResultFile, ...
{ "end_byte": 5603, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/karma/application_builder.ts" }
angular-cli/packages/angular_devkit/build_angular/src/builders/karma/application_builder.ts_5605_12851
async function initializeApplication( options: KarmaBuilderOptions, context: BuilderContext, karmaOptions: ConfigOptions, transforms: { webpackConfiguration?: ExecutionTransformer<Configuration>; karmaOptions?: (options: ConfigOptions) => ConfigOptions; } = {}, ): Promise<[typeof import('karma'), Conf...
{ "end_byte": 12851, "start_byte": 5605, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/karma/application_builder.ts" }
angular-cli/packages/angular_devkit/build_angular/src/builders/karma/tests/setup.ts_0_5819
/** * @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 { BuilderMode, Schema } from '../schema'; import { BuilderHandlerFn } from '@angular-devkit/architect'; impor...
{ "end_byte": 5819, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/karma/tests/setup.ts" }
angular-cli/packages/angular_devkit/build_angular/src/builders/karma/tests/behavior/fake-async_spec.ts_0_2557
/** * @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 { execute } from '../../index'; import { BASE_OPTIONS, KARMA_BUILDER_INFO, describeKarmaBuilder } from '../se...
{ "end_byte": 2557, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/karma/tests/behavior/fake-async_spec.ts" }
angular-cli/packages/angular_devkit/build_angular/src/builders/karma/tests/behavior/rebuilds_spec.ts_0_2359
/** * @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, debounceTime, take, timeout } from 'rxjs'; import { execute } from '../../index'; import ...
{ "end_byte": 2359, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/karma/tests/behavior/rebuilds_spec.ts" }
angular-cli/packages/angular_devkit/build_angular/src/builders/karma/tests/behavior/errors_spec.ts_0_907
/** * @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 { execute } from '../../index'; import { BASE_OPTIONS, KARMA_BUILDER_INFO, describeKarmaBuilder } from '../se...
{ "end_byte": 907, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/karma/tests/behavior/errors_spec.ts" }
angular-cli/packages/angular_devkit/build_angular/src/builders/karma/tests/behavior/module-cjs_spec.ts_0_997
/** * @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 { execute } from '../../index'; import { BASE_OPTIONS, KARMA_BUILDER_INFO, describeKarmaBuilder } from '../se...
{ "end_byte": 997, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/karma/tests/behavior/module-cjs_spec.ts" }
angular-cli/packages/angular_devkit/build_angular/src/builders/karma/tests/behavior/code-coverage_spec.ts_0_3993
/** * @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 { setTimeout } from 'node:timers/promises'; import { tags } from '@angular-devkit/core'; import { last, tap }...
{ "end_byte": 3993, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/karma/tests/behavior/code-coverage_spec.ts" }
angular-cli/packages/angular_devkit/build_angular/src/builders/karma/tests/options/assets_spec.ts_0_3779
/** * @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 { execute } from '../../index'; import { BASE_OPTIONS, KARMA_BUILDER_INFO, describeKarmaBuilder } from '../se...
{ "end_byte": 3779, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/karma/tests/options/assets_spec.ts" }
angular-cli/packages/angular_devkit/build_angular/src/builders/karma/tests/options/main_spec.ts_0_1676
/** * @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 { execute } from '../../index'; import { BASE_OPTIONS, KARMA_BUILDER_INFO, describeKarmaBuilder } from '../se...
{ "end_byte": 1676, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/karma/tests/options/main_spec.ts" }
angular-cli/packages/angular_devkit/build_angular/src/builders/karma/tests/options/builder-mode_spec.ts_0_2333
/** * @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 { execute } from '../../index'; import { BASE_OPTIONS, KARMA_BUILDER_INFO, describeKarmaBuilder } from '../se...
{ "end_byte": 2333, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/karma/tests/options/builder-mode_spec.ts" }
angular-cli/packages/angular_devkit/build_angular/src/builders/karma/tests/options/web-worker-tsconfig_spec.ts_0_3836
/** * @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 { execute } from '../../index'; import { BASE_OPTIONS, KARMA_BUILDER_INFO, describeKarmaBuilder } from '../se...
{ "end_byte": 3836, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/karma/tests/options/web-worker-tsconfig_spec.ts" }
angular-cli/packages/angular_devkit/build_angular/src/builders/karma/tests/options/code-coverage-exclude_spec.ts_0_2426
/** * @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 { setTimeout } from 'node:timers/promises'; import { execute } from '../../index'; import { BASE_OPTIONS, KARM...
{ "end_byte": 2426, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/karma/tests/options/code-coverage-exclude_spec.ts" }
angular-cli/packages/angular_devkit/build_angular/src/builders/karma/tests/options/styles_spec.ts_0_4690
/** * @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 { execute } from '../../index'; import { BASE_OPTIONS, KARMA_BUILDER_INFO, describeKarmaBuilder } from '../se...
{ "end_byte": 4690, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/karma/tests/options/styles_spec.ts" }
angular-cli/packages/angular_devkit/build_angular/src/builders/karma/tests/options/code-coverage_spec.ts_0_3534
/** * @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 { setTimeout } from 'node:timers/promises'; import { execute } from '../../index'; import { BASE_OPTIONS, KAR...
{ "end_byte": 3534, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/karma/tests/options/code-coverage_spec.ts" }
angular-cli/packages/angular_devkit/build_angular/src/builders/karma/tests/options/exclude_spec.ts_0_1986
/** * @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 { execute } from '../../index'; import { BASE_OPTIONS, KARMA_BUILDER_INFO, describeKarmaBuilder } from '../se...
{ "end_byte": 1986, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/karma/tests/options/exclude_spec.ts" }
angular-cli/packages/angular_devkit/build_angular/src/builders/karma/tests/options/include_spec.ts_0_2835
/** * @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 { execute } from '../../index'; import { BASE_OPTIONS, KARMA_BUILDER_INFO, describeKarmaBuilder } from '../se...
{ "end_byte": 2835, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/karma/tests/options/include_spec.ts" }
angular-cli/packages/angular_devkit/build_angular/src/builders/app-shell/app-shell_spec.ts_0_6249
/** * @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'; import { normalize, virtualFs } from '@angular-devkit/core'; ...
{ "end_byte": 6249, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/app-shell/app-shell_spec.ts" }
angular-cli/packages/angular_devkit/build_angular/src/builders/app-shell/index.ts_0_7189
/** * @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 { BuilderContext, BuilderOutput, ...
{ "end_byte": 7189, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/app-shell/index.ts" }
angular-cli/packages/angular_devkit/build_angular/src/builders/app-shell/render-worker.ts_0_4523
/** * @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 { ApplicationRef, StaticProvider, Type } from '@angular/core'; import type { renderApplication, renderMo...
{ "end_byte": 4523, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/app-shell/render-worker.ts" }
angular-cli/packages/angular_devkit/build_angular/src/builders/prerender/routes-extractor-worker.ts_0_2541
/** * @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 { ApplicationRef, Type } from '@angular/core'; import type { ɵgetRoutesFromAngularRouterConfig } from '@...
{ "end_byte": 2541, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/prerender/routes-extractor-worker.ts" }
angular-cli/packages/angular_devkit/build_angular/src/builders/prerender/works_spec.ts_0_6893
/** * @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'; import { join, normalize, virtualFs } from '@angular-devkit/c...
{ "end_byte": 6893, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/prerender/works_spec.ts" }
angular-cli/packages/angular_devkit/build_angular/src/builders/prerender/index.ts_0_9075
/** * @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 { BuilderContext, BuilderOutput, ...
{ "end_byte": 9075, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/prerender/index.ts" }
angular-cli/packages/angular_devkit/build_angular/src/builders/prerender/render-worker.ts_0_5136
/** * @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 { ApplicationRef, StaticProvider, Type } from '@angular/core'; import type { renderApplication, renderMo...
{ "end_byte": 5136, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/prerender/render-worker.ts" }
angular-cli/packages/angular_devkit/build_angular/src/builders/browser-esbuild/index.ts_0_2658
/** * @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 ApplicationBuilderOptions, buildApplication } from '@angular/build'; import { BuilderContext, BuilderO...
{ "end_byte": 2658, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/browser-esbuild/index.ts" }
angular-cli/packages/angular_devkit/build_angular/src/builders/browser-esbuild/tests/setup.ts_0_834
/** * @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 { Schema } from '../schema'; export { describeBuilder } from '../../../testing'; export const BROWSER_BUILD...
{ "end_byte": 834, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/browser-esbuild/tests/setup.ts" }
angular-cli/packages/angular_devkit/build_angular/src/builders/browser-esbuild/tests/options/assets_spec.ts_0_3988
/** * @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 { buildEsbuildBrowser } from '../../index'; import { BASE_OPTIONS, BROWSER_BUILDER_INFO, describeBuilder } fr...
{ "end_byte": 3988, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/browser-esbuild/tests/options/assets_spec.ts" }
angular-cli/packages/angular_devkit/build_angular/src/builders/browser-esbuild/tests/options/assets_spec.ts_3994_12715
describe('longhand syntax', () => { it('copies a single asset', async () => { await harness.writeFile('src/test.svg', '<svg></svg>'); harness.useTarget('build', { ...BASE_OPTIONS, assets: [{ glob: 'test.svg', input: 'src', output: '.' }], }); const { result } ...
{ "end_byte": 12715, "start_byte": 3994, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/browser-esbuild/tests/options/assets_spec.ts" }
angular-cli/packages/angular_devkit/build_angular/src/builders/browser-esbuild/tests/options/main_spec.ts_0_2761
/** * @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 { buildEsbuildBrowser } from '../../index'; import { BASE_OPTIONS, BROWSER_BUILDER_INFO, describeBuilder } fr...
{ "end_byte": 2761, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/browser-esbuild/tests/options/main_spec.ts" }
angular-cli/packages/angular_devkit/build_angular/src/builders/browser-esbuild/tests/options/deploy-url_spec.ts_0_2934
/** * @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 { buildEsbuildBrowser } from '../../index'; import { BASE_OPTIONS, BROWSER_BUILDER_INFO, describeBuilder } fr...
{ "end_byte": 2934, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/browser-esbuild/tests/options/deploy-url_spec.ts" }
angular-cli/packages/angular_devkit/build_angular/src/builders/browser-esbuild/tests/options/delete-output-path_spec.ts_0_1781
/** * @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 { buildEsbuildBrowser } from '../../index'; import { BASE_OPTIONS, BROWSER_BUILDER_INFO, describeBuilder } fr...
{ "end_byte": 1781, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/browser-esbuild/tests/options/delete-output-path_spec.ts" }
angular-cli/packages/angular_devkit/build_angular/src/builders/protractor/works_spec.ts_0_4356
/** * @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'; import { JsonObject, normalize } from '@angular-devkit/core';...
{ "end_byte": 4356, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/protractor/works_spec.ts" }
angular-cli/packages/angular_devkit/build_angular/src/builders/protractor/index.ts_0_5790
/** * @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, BuilderOutput, createBuilder, targetFromTargetString, } from '@angular-devkit/archi...
{ "end_byte": 5790, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/protractor/index.ts" }
angular-cli/packages/angular_devkit/build_angular/src/builders/ng-packagr/works_spec.ts_0_3480
/** * @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'; import { WorkspaceNodeModulesArchitectHost } from '@angular-d...
{ "end_byte": 3480, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/ng-packagr/works_spec.ts" }
angular-cli/packages/angular_devkit/build_angular/src/builders/ng-packagr/index.ts_0_2231
/** * @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 { purgeStaleBuildCache } from '@angular/build/private'; import { BuilderContext, BuilderOutput, createBuilder...
{ "end_byte": 2231, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/ng-packagr/index.ts" }
angular-cli/packages/angular_devkit/build_angular/src/builders/jest/init-test-bed.mjs_0_815
/** * @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 */ // TODO(dgp1130): These imports likely don't resolve in stricter package environments like `pnpm`, since they are re...
{ "end_byte": 815, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/jest/init-test-bed.mjs" }
angular-cli/packages/angular_devkit/build_angular/src/builders/jest/jest-global.mjs_0_858
/** * @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 */ /** * @fileoverview Zone.js requires the `jest` global to be initialized in order to know that it must patch the en...
{ "end_byte": 858, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/jest/jest-global.mjs" }
angular-cli/packages/angular_devkit/build_angular/src/builders/jest/jest.config.mjs_0_396
/** * @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 */ // Empty config file, everything is specified via CLI options right now. // This file is used just so Jest doesn't a...
{ "end_byte": 396, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/jest/jest.config.mjs" }
angular-cli/packages/angular_devkit/build_angular/src/builders/jest/index.ts_0_8881
/** * @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 { ResultKind, buildApplicationInternal } from '@angular/build/private'; import { BuilderContext, BuilderOutpu...
{ "end_byte": 8881, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/jest/index.ts" }
angular-cli/packages/angular_devkit/build_angular/src/builders/jest/options.ts_0_1045
/** * @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 { Schema as JestBuilderSchema } from './schema'; /** * Options supported for the Jest builder. The schema i...
{ "end_byte": 1045, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/jest/options.ts" }
angular-cli/packages/angular_devkit/build_angular/src/builders/jest/tests/options.ts_0_446
/** * @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 { JestBuilderOptions } from '../options'; /** Default options to use for most tests. */ export const BASE_OP...
{ "end_byte": 446, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/jest/tests/options.ts" }
angular-cli/packages/angular_devkit/build_angular/src/utils/webpack-diagnostics.ts_0_576
/** * @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 { Compilation } from 'webpack'; export function addWarning(compilation: Compilation, message: string): ...
{ "end_byte": 576, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/utils/webpack-diagnostics.ts" }
angular-cli/packages/angular_devkit/build_angular/src/utils/package-version.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 */ export const VERSION: string = require('../../package.json').version;
{ "end_byte": 274, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/utils/package-version.ts" }
angular-cli/packages/angular_devkit/build_angular/src/utils/spinner.ts_0_1284
/** * @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 ora from 'ora'; import { colors } from './color'; import { isTTY } from './tty'; export class Spinner { pr...
{ "end_byte": 1284, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/utils/spinner.ts" }
angular-cli/packages/angular_devkit/build_angular/src/utils/normalize-polyfills.ts_0_727
/** * @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 { existsSync } from 'fs'; import { resolve } from 'path'; export function normalizePolyfills( polyfills: s...
{ "end_byte": 727, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/utils/normalize-polyfills.ts" }
angular-cli/packages/angular_devkit/build_angular/src/utils/url_spec.ts_0_979
/** * @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 { urlJoin } from './url'; describe('urlJoin', () => { it('should work with absolute url with trailing slas...
{ "end_byte": 979, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/utils/url_spec.ts" }
angular-cli/packages/angular_devkit/build_angular/src/utils/i18n-webpack.ts_0_4783
/** * @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 I18nOptions, createI18nOptions, createTranslationLoader, loadTranslations, } from '@angular/bu...
{ "end_byte": 4783, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/utils/i18n-webpack.ts" }
angular-cli/packages/angular_devkit/build_angular/src/utils/environment-options.ts_0_3137
/** * @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 { availableParallelism } from 'node:os'; function isDisabled(variable: string): boolean { return variable ...
{ "end_byte": 3137, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/utils/environment-options.ts" }
angular-cli/packages/angular_devkit/build_angular/src/utils/bundle-inline-options.ts_0_391
/** * @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 interface InlineOptions { filename: string; code: string; map?: string; outputPath: string; missing...
{ "end_byte": 391, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/utils/bundle-inline-options.ts" }
angular-cli/packages/angular_devkit/build_angular/src/utils/read-tsconfig.ts_0_1407
/** * @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 { ParsedConfiguration } from '@angular/compiler-cli'; import * as path from 'path'; import { loadEsmModu...
{ "end_byte": 1407, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/utils/read-tsconfig.ts" }
angular-cli/packages/angular_devkit/build_angular/src/utils/normalize-file-replacements.ts_0_1892
/** * @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 { existsSync } from 'fs'; import * as path from 'path'; import { FileReplacement } from '../builders/browser/...
{ "end_byte": 1892, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/utils/normalize-file-replacements.ts" }
angular-cli/packages/angular_devkit/build_angular/src/utils/normalize-source-maps.ts_0_749
/** * @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 { SourceMapClass, SourceMapUnion } from '../builders/browser/schema'; export function normalizeSourceMaps(so...
{ "end_byte": 749, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/utils/normalize-source-maps.ts" }
angular-cli/packages/angular_devkit/build_angular/src/utils/run-module-as-observable-fork.ts_0_2558
/** * @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 { BuilderOutput } from '@angular-devkit/architect'; import { ForkOptions, fork } from 'child_process'; import...
{ "end_byte": 2558, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/utils/run-module-as-observable-fork.ts" }
angular-cli/packages/angular_devkit/build_angular/src/utils/tailwind.ts_0_1062
/** * @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 { readdir } from 'node:fs/promises'; import { join } from 'node:path'; const tailwindConfigFiles: string[] =...
{ "end_byte": 1062, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/utils/tailwind.ts" }
angular-cli/packages/angular_devkit/build_angular/src/utils/url.ts_0_485
/** * @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 function urlJoin(...parts: string[]): string { const [p, ...rest] = parts; // Remove trailing slash from...
{ "end_byte": 485, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/utils/url.ts" }
angular-cli/packages/angular_devkit/build_angular/src/utils/normalize-optimization.ts_0_1307
/** * @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 { FontsClass, OptimizationClass, OptimizationUnion, StylesClass, } from '../builders/browser/schema';...
{ "end_byte": 1307, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/utils/normalize-optimization.ts" }
angular-cli/packages/angular_devkit/build_angular/src/utils/action-executor.ts_0_1942
/** * @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 Piscina from 'piscina'; import { InlineOptions } from './bundle-inline-options'; import { maxWorkers } from '...
{ "end_byte": 1942, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/utils/action-executor.ts" }
angular-cli/packages/angular_devkit/build_angular/src/utils/output-paths.ts_0_821
/** * @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 { existsSync, mkdirSync } from 'fs'; import { join } from 'path'; import { I18nOptions } from './i18n-webpack...
{ "end_byte": 821, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/utils/output-paths.ts" }
angular-cli/packages/angular_devkit/build_angular/src/utils/test-files_spec.ts_0_5110
/** * @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 realGlob from 'fast-glob'; import { promises as...
{ "end_byte": 5110, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/utils/test-files_spec.ts" }
angular-cli/packages/angular_devkit/build_angular/src/utils/build-options.ts_0_2573
/** * @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 { ParsedConfiguration } from '@angular/compiler-cli'; import { logging } from '@angular-devkit/core'; im...
{ "end_byte": 2573, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/utils/build-options.ts" }
angular-cli/packages/angular_devkit/build_angular/src/utils/run-module-worker.js_0_592
/** * @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 */ process.on('message', (message) => { // Only process messages with the hash in 'run-module-as-observable-fork.ts'. ...
{ "end_byte": 592, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/utils/run-module-worker.js" }
angular-cli/packages/angular_devkit/build_angular/src/utils/process-bundle.ts_0_6931
/** * @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 from '@ampproject/remapping'; import { NodePath, ParseResult, parseSync, template as templa...
{ "end_byte": 6931, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/utils/process-bundle.ts" }
angular-cli/packages/angular_devkit/build_angular/src/utils/process-bundle.ts_6933_13284
async function inlineLocalesDirect(ast: ParseResult, options: InlineOptions) { if (!i18n || i18n.inlineLocales.size === 0) { return { file: options.filename, diagnostics: [], count: 0 }; } const { default: generate } = await import('@babel/generator'); const localizeDiag = await loadLocalizeTools(); cons...
{ "end_byte": 13284, "start_byte": 6933, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/utils/process-bundle.ts" }
angular-cli/packages/angular_devkit/build_angular/src/utils/package-chunk-sort.ts_0_1575
/** * @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 { ScriptElement, StyleElement } from '../builders/browser/schema'; import { normalizeExtraEntryPoints } from ...
{ "end_byte": 1575, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/utils/package-chunk-sort.ts" }
angular-cli/packages/angular_devkit/build_angular/src/utils/normalize-cache.ts_0_1796
/** * @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, resolve } from 'node:path'; /** Version placeholder is replaced during the build process with actual...
{ "end_byte": 1796, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/utils/normalize-cache.ts" }
angular-cli/packages/angular_devkit/build_angular/src/utils/index.ts_0_612
/** * @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 './default-progress'; export { deleteOutputDir, loadProxyConfiguration } from '@angular/build/private'...
{ "end_byte": 612, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/utils/index.ts" }
angular-cli/packages/angular_devkit/build_angular/src/utils/error.ts_0_597
/** * @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'; export function assertIsError(value: unknown): asserts value is Error & { code?: strin...
{ "end_byte": 597, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/utils/error.ts" }
angular-cli/packages/angular_devkit/build_angular/src/utils/color.ts_0_1267
/** * @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 * as ansiColors from 'ansi-colors'; import { WriteStream } from 'node:tty'; function supportColor(): boolean...
{ "end_byte": 1267, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/utils/color.ts" }
angular-cli/packages/angular_devkit/build_angular/src/utils/tty.ts_0_674
/** * @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 */ function _isTruthy(value: undefined | string): boolean { // Returns true if value is a string that is anything but...
{ "end_byte": 674, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/utils/tty.ts" }
angular-cli/packages/angular_devkit/build_angular/src/utils/normalize-builder-schema.ts_0_2853
/** * @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 { getSupportedBrowsers } from '@angular/build/private'; import { json, logging } from '@angular-devkit/core';...
{ "end_byte": 2853, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/utils/normalize-builder-schema.ts" }
angular-cli/packages/angular_devkit/build_angular/src/utils/copy-assets.ts_0_1772
/** * @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 glob from 'fast-glob'; import fs from 'node:fs'; import path from 'node:path'; export async function copyAss...
{ "end_byte": 1772, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/utils/copy-assets.ts" }
angular-cli/packages/angular_devkit/build_angular/src/utils/default-progress.ts_0_378
/** * @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 function defaultProgress(progress: boolean | undefined): boolean { if (progress === undefined) { return...
{ "end_byte": 378, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/utils/default-progress.ts" }
angular-cli/packages/angular_devkit/build_angular/src/utils/load-esm.ts_0_1203
/** * @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 */ /** * Lazily compiled dynamic import loader function. */ let load: (<T>(modulePath: string | URL) => Promise<T>) |...
{ "end_byte": 1203, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/utils/load-esm.ts" }
angular-cli/packages/angular_devkit/build_angular/src/utils/webpack-browser-config.ts_0_6305
/** * @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 } from '@angular-devkit/architect'; import * as path from 'path'; import { Configuration, ja...
{ "end_byte": 6305, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/utils/webpack-browser-config.ts" }
angular-cli/packages/angular_devkit/build_angular/src/utils/test-files.ts_0_1225
/** * @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 fastGlob, { Options as GlobOptions } from 'fast-glob'; /** * Finds all test files in the project. * * @pa...
{ "end_byte": 1225, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/utils/test-files.ts" }
angular-cli/packages/angular_devkit/build_angular/src/utils/i18n-inlining.ts_0_3866
/** * @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 } from '@angular-devkit/architect'; import { EmittedFiles } from '@angular-devkit/build-webp...
{ "end_byte": 3866, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/utils/i18n-inlining.ts" }
angular-cli/packages/angular_devkit/build_angular/src/utils/normalize-asset-patterns.ts_0_2656
/** * @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 { statSync } from 'fs'; import assert from 'node:assert'; import * as path from 'path'; import { AssetPattern...
{ "end_byte": 2656, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/utils/normalize-asset-patterns.ts" }
angular-cli/packages/angular_devkit/build_angular/src/testing/test-utils.ts_0_264
/** * @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 '../../../../../modules/testing/builder/src';
{ "end_byte": 264, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/testing/test-utils.ts" }
angular-cli/packages/angular_devkit/build_angular/src/testing/index.ts_0_379
/** * @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 */ // TODO: Consider using package.json imports field instead of relative path // after the switch to rules_js. e...
{ "end_byte": 379, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/testing/index.ts" }
angular-cli/packages/angular_devkit/architect_cli/README.md_0_563
# Architect CLI This package contains the executable for running an [Architect Builder](/packages/angular_devkit/architect/README.md). # Usage ``` architect [project][:target][:configuration] [options, ...] Run a project target. If project/target/configuration are not specified, the workspace defaults will be used....
{ "end_byte": 563, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/architect_cli/README.md" }
angular-cli/packages/angular_devkit/architect_cli/BUILD.bazel_0_1289
load("//tools:defaults.bzl", "pkg_npm", "ts_library") # Copyright Google Inc. All Rights Reserved. # # Use of this source code is governed by an MIT-style license that can be # found in the LICENSE file at https://angular.dev/license licenses(["notice"]) package(default_visibility = ["//visibility:public"]) ts_libra...
{ "end_byte": 1289, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/architect_cli/BUILD.bazel" }
angular-cli/packages/angular_devkit/architect_cli/bin/architect.ts_0_7445
#!/usr/bin/env node /** * @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, BuilderInfo, BuilderProgressState, Target } from '@angular-devkit/architect'...
{ "end_byte": 7445, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/architect_cli/bin/architect.ts" }
angular-cli/packages/angular_devkit/architect_cli/src/progress.ts_0_2388
/** * @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 ProgressBar from 'progress'; import * as readline from 'readline'; export class MultiProgressBar<Key, T> { ...
{ "end_byte": 2388, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/architect_cli/src/progress.ts" }
angular-cli/packages/angular_devkit/architect/README.md_0_28
# Angular Build Facade WIP
{ "end_byte": 28, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/architect/README.md" }
angular-cli/packages/angular_devkit/architect/BUILD.bazel_0_3266
# Copyright Google Inc. All Rights Reserved. # # Use of this source code is governed by an MIT-style license that can be # found in the LICENSE file at https://angular.dev/license load("@npm//@angular/build-tooling/bazel/api-golden:index.bzl", "api_golden_test_npm_package") load("@npm//@bazel/jasmine:index.bzl", "jasm...
{ "end_byte": 3266, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/architect/BUILD.bazel" }
angular-cli/packages/angular_devkit/architect/builders/false.ts_0_347
/** * @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 { createBuilder } from '../src'; export default createBuilder(() => ({ success: false, error: 'False bui...
{ "end_byte": 347, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/architect/builders/false.ts" }
angular-cli/packages/angular_devkit/architect/builders/all-of.ts_0_2060
/** * @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 { EMPTY, from, map, mergeMap, of } from 'rxjs'; import { Builder...
{ "end_byte": 2060, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/architect/builders/all-of.ts" }
angular-cli/packages/angular_devkit/architect/builders/concat.ts_0_1848
/** * @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 { concatMap, first, from, last, map, of, switchMap } from 'rxjs'...
{ "end_byte": 1848, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/architect/builders/concat.ts" }
angular-cli/packages/angular_devkit/architect/builders/true.ts_0_302
/** * @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 { createBuilder } from '../src'; export default createBuilder(() => ({ success: true }));
{ "end_byte": 302, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/architect/builders/true.ts" }
angular-cli/packages/angular_devkit/architect/testing/test-project-host.ts_0_4953
/** * @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 { Path, PathFragment, basename, dirname, join, normalize, relative, virtualFs, } from '@angul...
{ "end_byte": 4953, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/architect/testing/test-project-host.ts" }
angular-cli/packages/angular_devkit/architect/testing/testing-architect-host.ts_0_4421
/** * @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 { BuilderInfo, Target, targetStringFromTarget } from '../src'; i...
{ "end_byte": 4421, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/architect/testing/testing-architect-host.ts" }
angular-cli/packages/angular_devkit/architect/testing/BUILD.bazel_0_723
# Copyright Google Inc. All Rights Reserved. # # Use of this source code is governed by an MIT-style license that can be # found in the LICENSE file at https://angular.dev/license load("//tools:defaults.bzl", "ts_library") licenses(["notice"]) package(default_visibility = ["//visibility:public"]) ts_library( na...
{ "end_byte": 723, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/architect/testing/BUILD.bazel" }
angular-cli/packages/angular_devkit/architect/testing/index.ts_0_283
/** * @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 './testing-architect-host'; export * from './test-project-host';
{ "end_byte": 283, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/architect/testing/index.ts" }
angular-cli/packages/angular_devkit/architect/node/BUILD.bazel_0_1175
# Copyright Google Inc. All Rights Reserved. # # Use of this source code is governed by an MIT-style license that can be # found in the LICENSE file at https://angular.dev/license load("@npm//@bazel/jasmine:index.bzl", "jasmine_node_test") load("//tools:defaults.bzl", "ts_library") licenses(["notice"]) package(defau...
{ "end_byte": 1175, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/architect/node/BUILD.bazel" }
angular-cli/packages/angular_devkit/architect/node/index.ts_0_315
/** * @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 * as jobs from './jobs/job-registry'; export * from './node-modules-architect-host'; export { jobs };
{ "end_byte": 315, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/architect/node/index.ts" }
angular-cli/packages/angular_devkit/architect/node/node-modules-architect-host.ts_0_1921
/** * @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, workspaces } from '@angular-devkit/core'; import { readFileSync } from 'node:fs'; import { createRequ...
{ "end_byte": 1921, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/architect/node/node-modules-architect-host.ts" }
angular-cli/packages/angular_devkit/architect/node/node-modules-architect-host.ts_1923_10668
export class WorkspaceNodeModulesArchitectHost implements ArchitectHost<NodeModulesBuilderInfo> { private workspaceHost: WorkspaceHost; constructor(workspaceHost: WorkspaceHost, _root: string); constructor(workspace: workspaces.WorkspaceDefinition, _root: string); constructor( workspaceOrHost: workspaces...
{ "end_byte": 10668, "start_byte": 1923, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/architect/node/node-modules-architect-host.ts" }