_id
stringlengths
21
254
text
stringlengths
1
93.7k
metadata
dict
angular-cli/packages/angular/build/src/builders/dev-server/output.ts_0_465
/** * @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'; /** * @experimental Direct usage of this type is consid...
{ "end_byte": 465, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/build/src/builders/dev-server/output.ts" }
angular-cli/packages/angular/build/src/builders/dev-server/vite-server.ts_0_6998
/** * @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 { ɵdestroyAngularServerApp as destroyAngularServerApp } from '@angular/ssr'; import type { BuilderContex...
{ "end_byte": 6998, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/build/src/builders/dev-server/vite-server.ts" }
angular-cli/packages/angular/build/src/builders/dev-server/vite-server.ts_7001_15862
or await (const result of builderAction(browserOptions, context, extensions?.buildPlugins)) { switch (result.kind) { case ResultKind.Failure: if (result.errors.length && server) { hadError = true; server.ws.send({ type: 'error', err: { message:...
{ "end_byte": 15862, "start_byte": 7001, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/build/src/builders/dev-server/vite-server.ts" }
angular-cli/packages/angular/build/src/builders/dev-server/vite-server.ts_15864_20369
sync function handleUpdate( normalizePath: (id: string) => string, generatedFiles: Map<string, OutputFileRecord>, server: ViteDevServer, serverOptions: NormalizedDevServerOptions, logger: BuilderContext['logger'], usedComponentStyles: Map<string, Set<string>>, ): Promise<void> { const updatedFiles: string...
{ "end_byte": 20369, "start_byte": 15864, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/build/src/builders/dev-server/vite-server.ts" }
angular-cli/packages/angular/build/src/builders/dev-server/vite-server.ts_20371_28923
rt async function setupServer( serverOptions: NormalizedDevServerOptions, outputFiles: Map<string, OutputFileRecord>, assets: Map<string, string>, preserveSymlinks: boolean | undefined, externalMetadata: DevServerExternalResultMetadata, ssrMode: ServerSsrMode, prebundleTransformer: JavaScriptTransformer, ...
{ "end_byte": 28923, "start_byte": 20371, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/build/src/builders/dev-server/vite-server.ts" }
angular-cli/packages/angular/build/src/builders/dev-server/vite-server.ts_28925_29318
* Checks if the given value is an absolute URL. * * This function helps in avoiding Vite's prebundling from processing absolute URLs (http://, https://, //) as files. * * @param value - The URL or path to check. * @returns `true` if the value is not an absolute URL; otherwise, `false`. */ function isAbsoluteUrl(...
{ "end_byte": 29318, "start_byte": 28925, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/build/src/builders/dev-server/vite-server.ts" }
angular-cli/packages/angular/build/src/builders/dev-server/builder.ts_0_3590
/** * @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 { BuilderContext } from '@angular-devkit/architect'; import type { Plugin } from 'esbuild'; import type ...
{ "end_byte": 3590, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/build/src/builders/dev-server/builder.ts" }
angular-cli/packages/angular/build/src/builders/dev-server/index.ts_0_703
/** * @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 '@angular-devkit/architect'; import { execute } from './builder'; import type { DevSer...
{ "end_byte": 703, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/build/src/builders/dev-server/index.ts" }
angular-cli/packages/angular/build/src/builders/dev-server/internal.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 */ export { type BuildOutputFile, BuildOutputFileType } from '@angular/build'; export { createRxjsEsmResolutionPlugin }...
{ "end_byte": 1097, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/build/src/builders/dev-server/internal.ts" }
angular-cli/packages/angular/build/src/builders/dev-server/options.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 { BuilderContext, targetFromTargetString } from '@angular-devkit/architect'; import path from 'node:path'; im...
{ "end_byte": 4156, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/build/src/builders/dev-server/options.ts" }
angular-cli/packages/angular/build/src/builders/dev-server/tests/jasmine-helpers.ts_0_1419
/** * @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": 1419, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/build/src/builders/dev-server/tests/jasmine-helpers.ts" }
angular-cli/packages/angular/build/src/builders/dev-server/tests/setup.ts_0_3233
/** * @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": 3233, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/build/src/builders/dev-server/tests/setup.ts" }
angular-cli/packages/angular/build/src/builders/dev-server/tests/execute-fetch.ts_0_1446
/** * @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": 1446, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/build/src/builders/dev-server/tests/execute-fetch.ts" }
angular-cli/packages/angular/build/src/builders/dev-server/tests/behavior/serve_service-worker_spec.ts_0_7257
/** * @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": 7257, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/build/src/builders/dev-server/tests/behavior/serve_service-worker_spec.ts" }
angular-cli/packages/angular/build/src/builders/dev-server/tests/behavior/build-assets_spec.ts_0_4281
/** * @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": 4281, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/build/src/builders/dev-server/tests/behavior/build-assets_spec.ts" }
angular-cli/packages/angular/build/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/build/src/builders/dev-server/tests/behavior/build_localize_replaced_watch_spec.ts" }
angular-cli/packages/angular/build/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/build/src/builders/dev-server/tests/behavior/serve-live-reload-proxies_spec.ts" }
angular-cli/packages/angular/build/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/build/src/builders/dev-server/tests/behavior/serve-live-reload-proxies_spec.ts" }
angular-cli/packages/angular/build/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/build/src/builders/dev-server/tests/behavior/serve-live-reload-proxies_spec.ts" }
angular-cli/packages/angular/build/src/builders/dev-server/tests/behavior/build-conditions_spec.ts_0_2709
/** * @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 { setupConditionImport, setTargetMapping, } from '../../../../../../../../modules/testing/builder/src/dev...
{ "end_byte": 2709, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/build/src/builders/dev-server/tests/behavior/build-conditions_spec.ts" }
angular-cli/packages/angular/build/src/builders/dev-server/tests/behavior/build-budgets_spec.ts_0_1224
/** * @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 { BudgetType } from '../../../../utils/bundle-calculator'; import { executeDevServer } from '../../index'; im...
{ "end_byte": 1224, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/build/src/builders/dev-server/tests/behavior/build-budgets_spec.ts" }
angular-cli/packages/angular/build/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/build/src/builders/dev-server/tests/behavior/build_translation_watch_spec.ts" }
angular-cli/packages/angular/build/src/builders/dev-server/tests/behavior/component-updates_spec.ts_0_1776
/** * @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": 1776, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/build/src/builders/dev-server/tests/behavior/component-updates_spec.ts" }
angular-cli/packages/angular/build/src/builders/dev-server/tests/behavior/build-external-dependencies_spec.ts_0_2790
/** * @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": 2790, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/build/src/builders/dev-server/tests/behavior/build-external-dependencies_spec.ts" }
angular-cli/packages/angular/build/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/build/src/builders/dev-server/tests/behavior/build-base-href_spec.ts" }
angular-cli/packages/angular/build/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/build/src/builders/dev-server/tests/behavior/build-inline-critical-css_spec.ts" }
angular-cli/packages/angular/build/src/builders/dev-server/tests/options/proxy-config_spec.ts_0_8605
/** * @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 { executeDevServer } from '../../index'; import { executeOnceAndFet...
{ "end_byte": 8605, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/build/src/builders/dev-server/tests/options/proxy-config_spec.ts" }
angular-cli/packages/angular/build/src/builders/dev-server/tests/options/proxy-config_spec.ts_8606_10582
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": 10582, "start_byte": 8606, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/build/src/builders/dev-server/tests/options/proxy-config_spec.ts" }
angular-cli/packages/angular/build/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/build/src/builders/dev-server/tests/options/port_spec.ts" }
angular-cli/packages/angular/build/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/build/src/builders/dev-server/tests/options/prebundle_spec.ts" }
angular-cli/packages/angular/build/src/builders/dev-server/tests/options/watch_spec.ts_0_2861
/** * @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 } from 'rxjs'; import { executeDevServer } from '../../index'; import { describeServeBuilder }...
{ "end_byte": 2861, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/build/src/builders/dev-server/tests/options/watch_spec.ts" }
angular-cli/packages/angular/build/src/builders/dev-server/tests/options/headers_spec.ts_0_1981
/** * @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": 1981, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/build/src/builders/dev-server/tests/options/headers_spec.ts" }
angular-cli/packages/angular/build/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/build/src/builders/dev-server/tests/options/serve-path_spec.ts" }
angular-cli/packages/angular/build/src/builders/extract-i18n/builder.ts_0_6002
/** * @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 { Diagnostics } from '@angular/localize/tools'; import type { BuilderContext, BuilderOutput } from '@ang...
{ "end_byte": 6002, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/build/src/builders/extract-i18n/builder.ts" }
angular-cli/packages/angular/build/src/builders/extract-i18n/application-extraction.ts_0_5440
/** * @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 { ɵParsedMessage as LocalizeMessage } from '@angular/localize'; import type { MessageExtractor } from '@...
{ "end_byte": 5440, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/build/src/builders/extract-i18n/application-extraction.ts" }
angular-cli/packages/angular/build/src/builders/extract-i18n/index.ts_0_483
/** * @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 '@angular-devkit/architect'; import { execute } from './builder'; import type { Schema...
{ "end_byte": 483, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/build/src/builders/extract-i18n/index.ts" }
angular-cli/packages/angular/build/src/builders/extract-i18n/options.ts_0_2836
/** * @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 { fail } from 'node:asser...
{ "end_byte": 2836, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/build/src/builders/extract-i18n/options.ts" }
angular-cli/packages/angular/build/src/builders/application/build-action.ts_0_7560
/** * @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 { existsSync } from 'node:fs'; import path from '...
{ "end_byte": 7560, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/build/src/builders/application/build-action.ts" }
angular-cli/packages/angular/build/src/builders/application/setup-bundling.ts_0_5668
/** * @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 { ComponentStylesheetBundler } from '../../tools/esbuild/angular/component-stylesheets'; import { SourceFileC...
{ "end_byte": 5668, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/build/src/builders/application/setup-bundling.ts" }
angular-cli/packages/angular/build/src/builders/application/chunk-optimizer.ts_0_5650
/** * @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 'node:assert'; import { rollup } from 'rollup'; import { BuildOutputFile, BuildOutputFileType...
{ "end_byte": 5650, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/build/src/builders/application/chunk-optimizer.ts" }
angular-cli/packages/angular/build/src/builders/application/i18n.ts_0_5688
/** * @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 { join } from 'node:path'; import { BuildOutputFi...
{ "end_byte": 5688, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/build/src/builders/application/i18n.ts" }
angular-cli/packages/angular/build/src/builders/application/execute-post-bundle.ts_0_8125
/** * @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 'node:assert'; import { BuildOutputFile, BuildOutputFileType, InitialFileRecord, } from '.....
{ "end_byte": 8125, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/build/src/builders/application/execute-post-bundle.ts" }
angular-cli/packages/angular/build/src/builders/application/results.ts_0_1699
/** * @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 '../../tools/esbuild/bundler-context'; export enum ResultKind { Failure, Fu...
{ "end_byte": 1699, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/build/src/builders/application/results.ts" }
angular-cli/packages/angular/build/src/builders/application/index.ts_0_9770
/** * @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 } from '@angular-devkit/architect'; import type { Plugin } fro...
{ "end_byte": 9770, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/build/src/builders/application/index.ts" }
angular-cli/packages/angular/build/src/builders/application/options.ts_0_4975
/** * @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 { BuilderContext } from '@angular-devkit/architect'; import type { Plugin } from 'esbuild'; import { rea...
{ "end_byte": 4975, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/build/src/builders/application/options.ts" }
angular-cli/packages/angular/build/src/builders/application/options.ts_4976_13619
export async function normalizeOptions( context: BuilderContext, projectName: string, options: ApplicationBuilderInternalOptions, extensions?: ApplicationBuilderExtensions, ) { // If not explicitly set, default to the Node.js process argument const preserveSymlinks = options.preserveSymlinks ?? process....
{ "end_byte": 13619, "start_byte": 4976, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/build/src/builders/application/options.ts" }
angular-cli/packages/angular/build/src/builders/application/options.ts_13623_22055
if (appShellOptions || ssrOptions || prerenderOptions) { if (!serverEntryPoint) { throw new Error( 'The "server" option is required when enabling "ssr", "prerender" or "app-shell".', ); } if (!indexHtmlOptions) { throw new Error( 'The "index" option cannot be set to false ...
{ "end_byte": 22055, "start_byte": 13623, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/build/src/builders/application/options.ts" }
angular-cli/packages/angular/build/src/builders/application/options.ts_22057_22456
export function getLocaleBaseHref( baseHref: string | undefined, i18n: NormalizedApplicationBuildOptions['i18nOptions'], locale: string, ): string | undefined { if (i18n.flatOutput) { return undefined; } if (i18n.locales[locale] && i18n.locales[locale].baseHref !== '') { return urlJoin(baseHref || ...
{ "end_byte": 22456, "start_byte": 22057, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/build/src/builders/application/options.ts" }
angular-cli/packages/angular/build/src/builders/application/execute-build.ts_0_1827
/** * @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 assert from 'node:assert'; import { SourceFileCac...
{ "end_byte": 1827, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/build/src/builders/application/execute-build.ts" }
angular-cli/packages/angular/build/src/builders/application/execute-build.ts_1828_9526
export async function executeBuild( options: NormalizedApplicationBuildOptions, context: BuilderContext, rebuildState?: RebuildState, ): Promise<ExecutionResult> { const { projectRoot, workspaceRoot, i18nOptions, optimizationOptions, assets, outputMode, cacheOptions, serverEntryP...
{ "end_byte": 9526, "start_byte": 1828, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/build/src/builders/application/execute-build.ts" }
angular-cli/packages/angular/build/src/builders/application/tests/setup.ts_0_1089
/** * @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'; // TODO: Consider using package.json imports field instead of relative path // ...
{ "end_byte": 1089, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/build/src/builders/application/tests/setup.ts" }
angular-cli/packages/angular/build/src/builders/application/tests/behavior/rebuild-index-html_spec.ts_0_2289
/** * @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 { buildApplication } from '../../index'; import { APP...
{ "end_byte": 2289, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/build/src/builders/application/tests/behavior/rebuild-index-html_spec.ts" }
angular-cli/packages/angular/build/src/builders/application/tests/behavior/typescript-path-mapping_spec.ts_0_3556
/** * @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 { buildApplication } from '../../index'; import { APPLICATION_BUILDER_INFO, BASE_OPTIONS, describeBuilder } f...
{ "end_byte": 3556, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/build/src/builders/application/tests/behavior/typescript-path-mapping_spec.ts" }
angular-cli/packages/angular/build/src/builders/application/tests/behavior/typescript-rebuild-touch-file_spec.ts_0_1709
/** * @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 { buildApplication } from '../../index'; import { APP...
{ "end_byte": 1709, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/build/src/builders/application/tests/behavior/typescript-rebuild-touch-file_spec.ts" }
angular-cli/packages/angular/build/src/builders/application/tests/behavior/rebuild-web-workers_spec.ts_0_4704
/** * @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 } from '@angular-devkit/core'; import { concatMap, count, take, timeout } from 'rxjs'; import { bui...
{ "end_byte": 4704, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/build/src/builders/application/tests/behavior/rebuild-web-workers_spec.ts" }
angular-cli/packages/angular/build/src/builders/application/tests/behavior/browser-support_spec.ts_0_5339
/** * @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 { buildApplication } from '../../index'; import { APPLICATION_BUILDER_INFO, BASE_OPTIONS, describeBuilder } f...
{ "end_byte": 5339, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/build/src/builders/application/tests/behavior/browser-support_spec.ts" }
angular-cli/packages/angular/build/src/builders/application/tests/behavior/wasm-esm_spec.ts_0_1546
/** * @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 { buildApplication } from '../../index'; import { APPLICATION_BUILDER_INFO, BASE_OPTIONS, describeBuilder } f...
{ "end_byte": 1546, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/build/src/builders/application/tests/behavior/wasm-esm_spec.ts" }
angular-cli/packages/angular/build/src/builders/application/tests/behavior/wasm-esm_spec.ts_1548_8650
describeBuilder(buildApplication, APPLICATION_BUILDER_INFO, (harness) => { describe('Behavior: "Supports WASM/ES module integration"', () => { it('should inject initialization code and add an export', async () => { harness.useTarget('build', { ...BASE_OPTIONS, }); // Create WASM file ...
{ "end_byte": 8650, "start_byte": 1548, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/build/src/builders/application/tests/behavior/wasm-esm_spec.ts" }
angular-cli/packages/angular/build/src/builders/application/tests/behavior/stylesheet_autoprefixer_spec.ts_0_6378
/** * @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 { buildApplication } from '../../index'; import { APPLICATION_BUILDER_INFO, BASE_OPTIONS, describeBuilder } f...
{ "end_byte": 6378, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/build/src/builders/application/tests/behavior/stylesheet_autoprefixer_spec.ts" }
angular-cli/packages/angular/build/src/builders/application/tests/behavior/stylesheet-url-resolution_spec.ts_0_9152
/** * @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 { buildApplication } from '../../index'; import { OutputHashing } from '../../schema'; import { APPLICATION_B...
{ "end_byte": 9152, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/build/src/builders/application/tests/behavior/stylesheet-url-resolution_spec.ts" }
angular-cli/packages/angular/build/src/builders/application/tests/behavior/stylesheet-url-resolution_spec.ts_9158_12939
it('should rebase a URL with interpolation using concatenation referencing a local resource', async () => { await harness.writeFiles({ 'src/styles.scss': `@use 'theme/a';`, 'src/theme/a.scss': ` @import './b'; $extra-var: "2"; ...
{ "end_byte": 12939, "start_byte": 9158, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/build/src/builders/application/tests/behavior/stylesheet-url-resolution_spec.ts" }
angular-cli/packages/angular/build/src/builders/application/tests/behavior/build-conditions_spec.ts_0_3198
/** * @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 { setupConditionImport, setTargetMapping, } from '../../../../../../../../modules/testing/builder/src/dev...
{ "end_byte": 3198, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/build/src/builders/application/tests/behavior/build-conditions_spec.ts" }
angular-cli/packages/angular/build/src/builders/application/tests/behavior/typescript-isolated-modules_spec.ts_0_2684
/** * @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.io/license */ import { buildApplication } from '../../index'; import { APPLICATION_BUILDER_INFO, BASE_OPTIONS, describeBuilder } fr...
{ "end_byte": 2684, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/build/src/builders/application/tests/behavior/typescript-isolated-modules_spec.ts" }
angular-cli/packages/angular/build/src/builders/application/tests/behavior/component-stylesheets_spec.ts_0_1710
/** * @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 { buildApplication } from '../../index'; import { APPLICATION_BUILDER_INFO, BASE_OPTIONS, describeBuilder } f...
{ "end_byte": 1710, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/build/src/builders/application/tests/behavior/component-stylesheets_spec.ts" }
angular-cli/packages/angular/build/src/builders/application/tests/behavior/rebuild-general_spec.ts_0_3475
/** * @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 { buildApplication } from '../../index'; import { APP...
{ "end_byte": 3475, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/build/src/builders/application/tests/behavior/rebuild-general_spec.ts" }
angular-cli/packages/angular/build/src/builders/application/tests/behavior/angular-aot-metadata_spec.ts_0_1221
/** * @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 { buildApplication } from '../../index'; import { APPLICATION_BUILDER_INFO, BASE_OPTIONS, describeBuilder } f...
{ "end_byte": 1221, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/build/src/builders/application/tests/behavior/angular-aot-metadata_spec.ts" }
angular-cli/packages/angular/build/src/builders/application/tests/behavior/typescript-resolve-json_spec.ts_0_3000
/** * @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 { buildApplication } from '../../index'; import { APPLICATION_BUILDER_INFO, BASE_OPTIONS, describeBuilder } f...
{ "end_byte": 3000, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/build/src/builders/application/tests/behavior/typescript-resolve-json_spec.ts" }
angular-cli/packages/angular/build/src/builders/application/tests/behavior/index-preload-hints_spec.ts_0_1995
/** * @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 { buildApplication } from '../../index'; import { APPLICATION_BUILDER_INFO, BASE_OPTIONS, describeBuilder } f...
{ "end_byte": 1995, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/build/src/builders/application/tests/behavior/index-preload-hints_spec.ts" }
angular-cli/packages/angular/build/src/builders/application/tests/behavior/web-workers-application_spec.ts_0_2037
/** * @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 { buildApplication } from '../../index'; import { APPLICATION_BUILDER_INFO, BASE_OPTIONS, describeBuilder } f...
{ "end_byte": 2037, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/build/src/builders/application/tests/behavior/web-workers-application_spec.ts" }
angular-cli/packages/angular/build/src/builders/application/tests/behavior/rebuild-errors_spec.ts_0_10281
/** * @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 } from '@angular-devkit/core'; import { concatMap, count, take, timeout } from 'rxjs'; import { bui...
{ "end_byte": 10281, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/build/src/builders/application/tests/behavior/rebuild-errors_spec.ts" }
angular-cli/packages/angular/build/src/builders/application/tests/behavior/rebuild-errors_spec.ts_10287_12398
it('recovers from component template error', async () => { harness.useTarget('build', { ...BASE_OPTIONS, watch: true, }); const buildCount = await harness .execute({ outputLogsOnFailure: false }) .pipe( timeout(BUILD_TIMEOUT), concatMap(async ({ res...
{ "end_byte": 12398, "start_byte": 10287, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/build/src/builders/application/tests/behavior/rebuild-errors_spec.ts" }
angular-cli/packages/angular/build/src/builders/application/tests/behavior/rebuild-global_styles_spec.ts_0_6570
/** * @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 { buildApplication } from '../../index'; import { APP...
{ "end_byte": 6570, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/build/src/builders/application/tests/behavior/rebuild-global_styles_spec.ts" }
angular-cli/packages/angular/build/src/builders/application/tests/behavior/csp-nonce_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 { buildApplication } from '../../index'; import { APPLICATION_BUILDER_INFO, BASE_OPTIONS, describeBuilder } f...
{ "end_byte": 1208, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/build/src/builders/application/tests/behavior/csp-nonce_spec.ts" }
angular-cli/packages/angular/build/src/builders/application/tests/behavior/loader-import-attribute_spec.ts_0_5501
/** * @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 { buildApplication } from '../../index'; import { APPLICATION_BUILDER_INFO, BASE_OPTIONS, describeBuilder } f...
{ "end_byte": 5501, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/build/src/builders/application/tests/behavior/loader-import-attribute_spec.ts" }
angular-cli/packages/angular/build/src/builders/application/tests/behavior/typescript-rebuild-lazy_spec.ts_0_2960
/** * @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 { logging } from '@angular-devkit/core'; import { concatMap, count, firstValueFrom, take, timeout } from...
{ "end_byte": 2960, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/build/src/builders/application/tests/behavior/typescript-rebuild-lazy_spec.ts" }
angular-cli/packages/angular/build/src/builders/application/tests/behavior/rebuild-component_styles_spec.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 { concatMap, count, take, timeout } from 'rxjs'; import { buildApplication } from '../../index'; import { APP...
{ "end_byte": 2853, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/build/src/builders/application/tests/behavior/rebuild-component_styles_spec.ts" }
angular-cli/packages/angular/build/src/builders/application/tests/behavior/typescript-incremental_spec.ts_0_1025
/** * @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.io/license */ import { buildApplication } from '../../index'; import { APPLICATION_BUILDER_INFO, BASE_OPTIONS, describeBuilder } fr...
{ "end_byte": 1025, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/build/src/builders/application/tests/behavior/typescript-incremental_spec.ts" }
angular-cli/packages/angular/build/src/builders/application/tests/options/assets_spec.ts_0_4062
/** * @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 { buildApplication } from '../../index'; import { APPLICATION_BUILDER_INFO, BASE_OPTIONS, describeBuilder } f...
{ "end_byte": 4062, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/build/src/builders/application/tests/options/assets_spec.ts" }
angular-cli/packages/angular/build/src/builders/application/tests/options/assets_spec.ts_4068_12973
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": 12973, "start_byte": 4068, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/build/src/builders/application/tests/options/assets_spec.ts" }
angular-cli/packages/angular/build/src/builders/application/tests/options/app-shell_spec.ts_0_5851
/** * @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 { buildApplication } from '../../index'; import { APPLICATION_BUILDER_INFO, BASE_OPTIONS, describeBuilder } f...
{ "end_byte": 5851, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/build/src/builders/application/tests/options/app-shell_spec.ts" }
angular-cli/packages/angular/build/src/builders/application/tests/options/optimization-inline-critical_spec.ts_0_4407
/** * @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 { buildApplication } from '../../index'; import { APPLICATION_BUILDER_INFO, BASE_OPTIONS, describeBuilder } f...
{ "end_byte": 4407, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/build/src/builders/application/tests/options/optimization-inline-critical_spec.ts" }
angular-cli/packages/angular/build/src/builders/application/tests/options/inline-style-language_spec.ts_0_5439
/** * @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 { buildApplication } from '../../index'; import { Inl...
{ "end_byte": 5439, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/build/src/builders/application/tests/options/inline-style-language_spec.ts" }
angular-cli/packages/angular/build/src/builders/application/tests/options/bundle-budgets_spec.ts_0_7811
/** * @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 } from '@angular-devkit/core'; import { buildApplication } from '../../index'; import { Type } from...
{ "end_byte": 7811, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/build/src/builders/application/tests/options/bundle-budgets_spec.ts" }
angular-cli/packages/angular/build/src/builders/application/tests/options/loader_spec.ts_0_8770
/** * @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 { buildApplication } from '../../index'; import { APPLICATION_BUILDER_INFO, BASE_OPTIONS, describeBuilder } f...
{ "end_byte": 8770, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/build/src/builders/application/tests/options/loader_spec.ts" }
angular-cli/packages/angular/build/src/builders/application/tests/options/server_spec.ts_0_3151
/** * @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 { buildApplication } from '../../index'; import { APPLICATION_BUILDER_INFO, BASE_OPTIONS, describeBuilder } f...
{ "end_byte": 3151, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/build/src/builders/application/tests/options/server_spec.ts" }
angular-cli/packages/angular/build/src/builders/application/tests/options/i18n-missing-translation_spec.ts_0_7242
/** * @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 { buildApplication } from '../../index'; import { APPLICATION_BUILDER_INFO, BASE_OPTIONS, describeBuilder } f...
{ "end_byte": 7242, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/build/src/builders/application/tests/options/i18n-missing-translation_spec.ts" }
angular-cli/packages/angular/build/src/builders/application/tests/options/base-href_spec.ts_0_3428
/** * @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 { buildApplication } from '../../index'; import { APPLICATION_BUILDER_INFO, BASE_OPTIONS, describeBuilder } f...
{ "end_byte": 3428, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/build/src/builders/application/tests/options/base-href_spec.ts" }
angular-cli/packages/angular/build/src/builders/application/tests/options/subresource-integrity_spec.ts_0_2324
/** * @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 } from '@angular-devkit/core'; import { buildApplication } from '../../index'; import { APPLICATION...
{ "end_byte": 2324, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/build/src/builders/application/tests/options/subresource-integrity_spec.ts" }
angular-cli/packages/angular/build/src/builders/application/tests/options/sourcemap_spec.ts_0_7974
/** * @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 { buildApplication } from '../../index'; import { APPLICATION_BUILDER_INFO, BASE_OPTIONS, describeBuilder } f...
{ "end_byte": 7974, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/build/src/builders/application/tests/options/sourcemap_spec.ts" }
angular-cli/packages/angular/build/src/builders/application/tests/options/allowed-common-js-dependencies_spec.ts_0_6363
/** * @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 } from '@angular-devkit/core'; import { buildApplication } from '../../index'; import { APPLICATION...
{ "end_byte": 6363, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/build/src/builders/application/tests/options/allowed-common-js-dependencies_spec.ts" }
angular-cli/packages/angular/build/src/builders/application/tests/options/output-path_spec.ts_0_2497
/** * @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 { buildApplication } from '../../index'; import { APPLICATION_BUILDER_INFO, BASE_OPTIONS, describeBuilder } f...
{ "end_byte": 2497, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/build/src/builders/application/tests/options/output-path_spec.ts" }
angular-cli/packages/angular/build/src/builders/application/tests/options/output-path_spec.ts_2503_12190
describe(`when option value is an object`, () => { describe(`'media' is set to 'resources'`, () => { beforeEach(() => { harness.useTarget('build', { ...BASE_OPTIONS, polyfills: [], styles: ['src/styles.css'], server: 'src/main.server.ts', ...
{ "end_byte": 12190, "start_byte": 2503, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/build/src/builders/application/tests/options/output-path_spec.ts" }
angular-cli/packages/angular/build/src/builders/application/tests/options/ssr_spec.ts_0_3051
/** * @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 { buildApplication } from '../../index'; import { APPLICATION_BUILDER_INFO, BASE_OPTIONS, describeBuilder } f...
{ "end_byte": 3051, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/build/src/builders/application/tests/options/ssr_spec.ts" }
angular-cli/packages/angular/build/src/builders/application/tests/options/optimization-fonts-inline_spec.ts_0_3209
/** * @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 { buildApplication } from '../../index'; import { APPLICATION_BUILDER_INFO, BASE_OPTIONS, describeBuilder } f...
{ "end_byte": 3209, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/build/src/builders/application/tests/options/optimization-fonts-inline_spec.ts" }
angular-cli/packages/angular/build/src/builders/application/tests/options/output-hashing_spec.ts_0_6693
/** * @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 { buildApplication } from '../../index'; import { OutputHashing } from '../../schema'; import { APPLICATION_B...
{ "end_byte": 6693, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/build/src/builders/application/tests/options/output-hashing_spec.ts" }
angular-cli/packages/angular/build/src/builders/application/tests/options/scripts_spec.ts_0_5111
/** * @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 { buildApplication } from '../../index'; import { APPLICATION_BUILDER_INFO, BASE_OPTIONS, describeBuilder } f...
{ "end_byte": 5111, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/build/src/builders/application/tests/options/scripts_spec.ts" }
angular-cli/packages/angular/build/src/builders/application/tests/options/scripts_spec.ts_5117_13672
describe('longhand syntax', () => { it('processes a single script into a single output', async () => { await harness.writeFile('src/test-script-a.js', 'console.log("a");'); harness.useTarget('build', { ...BASE_OPTIONS, scripts: [{ input: 'src/test-script-a.js' }], }); ...
{ "end_byte": 13672, "start_byte": 5117, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/build/src/builders/application/tests/options/scripts_spec.ts" }
angular-cli/packages/angular/build/src/builders/application/tests/options/scripts_spec.ts_13680_15542
it('does not add script element to index with bundleName when inject is false', async () => { await harness.writeFile('src/test-script-a.js', 'console.log("a");'); harness.useTarget('build', { ...BASE_OPTIONS, scripts: [{ input: 'src/test-script-a.js', bundleName: 'extra', inject: f...
{ "end_byte": 15542, "start_byte": 13680, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/build/src/builders/application/tests/options/scripts_spec.ts" }
angular-cli/packages/angular/build/src/builders/application/tests/options/deploy-url_spec.ts_0_2960
/** * @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 { buildApplication } from '../../index'; import { APPLICATION_BUILDER_INFO, BASE_OPTIONS, describeBuilder } f...
{ "end_byte": 2960, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/build/src/builders/application/tests/options/deploy-url_spec.ts" }
angular-cli/packages/angular/build/src/builders/application/tests/options/external-dependencies_spec.ts_0_2666
/** * @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 { buildApplication } from '../../index'; import { APPLICATION_BUILDER_INFO, BASE_OPTIONS, describeBuilder } f...
{ "end_byte": 2666, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/build/src/builders/application/tests/options/external-dependencies_spec.ts" }