_id
stringlengths
21
254
text
stringlengths
1
93.7k
metadata
dict
angular-cli/packages/angular/cli/src/commands/e2e/cli.ts_0_1291
/** * @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 { MissingTargetChoice } from '../../command-builder/architect-base-command-module'; import { ArchitectCommand...
{ "end_byte": 1291, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/cli/src/commands/e2e/cli.ts" }
angular-cli/packages/angular/cli/src/commands/analytics/cli.ts_0_1410
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import { join } from 'node:path'; import { Argv } from 'yargs'; import { CommandModule, CommandModuleImplementat...
{ "end_byte": 1410, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/cli/src/commands/analytics/cli.ts" }
angular-cli/packages/angular/cli/src/commands/analytics/long-description.md_0_1347
You can help the Angular Team to prioritize features and improvements by permitting the Angular team to send command-line command usage statistics to Google. The Angular Team does not collect usage statistics unless you explicitly opt in. When installing the Angular CLI you are prompted to allow global collection of us...
{ "end_byte": 1347, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/cli/src/commands/analytics/long-description.md" }
angular-cli/packages/angular/cli/src/commands/analytics/settings/cli.ts_0_2365
/** * @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 { Argv } from 'yargs'; import { getAnalyticsInfoString, promptAnalytics, setAnalyticsConfig, } from '.....
{ "end_byte": 2365, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/cli/src/commands/analytics/settings/cli.ts" }
angular-cli/packages/angular/cli/src/commands/analytics/info/cli.ts_0_876
/** * @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 { Argv } from 'yargs'; import { getAnalyticsInfoString } from '../../../analytics/analytics'; import { Comm...
{ "end_byte": 876, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/cli/src/commands/analytics/info/cli.ts" }
angular-cli/packages/angular/cli/src/analytics/analytics.ts_0_6783
/** * @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, tags } from '@angular-devkit/core'; import { randomUUID } from 'crypto'; import type { CommandContext...
{ "end_byte": 6783, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/cli/src/analytics/analytics.ts" }
angular-cli/packages/angular/cli/src/analytics/analytics-parameters.ts_0_3267
/** * @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 */ /** Any changes in this file needs to be done in the mts version. */ export type PrimitiveTypes = string | number |...
{ "end_byte": 3267, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/cli/src/analytics/analytics-parameters.ts" }
angular-cli/packages/angular/cli/src/analytics/analytics-collector.ts_0_7433
/** * @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 { randomUUID } from 'crypto'; import * as https from 'https'; import * as os from 'os'; import * as querystri...
{ "end_byte": 7433, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/cli/src/analytics/analytics-collector.ts" }
angular-cli/packages/angular/cli/src/analytics/analytics-parameters.mts_0_3261
/** * @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 */ /** This is a copy of analytics-parameters.ts and is needed for `yarn admin validate-user-analytics` due to ts-node....
{ "end_byte": 3261, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/cli/src/analytics/analytics-parameters.mts" }
angular-cli/packages/angular/ssr/private_export.ts_0_890
/** * @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 */ // ɵgetRoutesFromAngularRouterConfig is only used by the Webpack based server builder. export { getRoutesFromAngul...
{ "end_byte": 890, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/ssr/private_export.ts" }
angular-cli/packages/angular/ssr/README.md_0_73
# Angular SSR Read the dev guide [here](https://angular.dev/guide/ssr).
{ "end_byte": 73, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/ssr/README.md" }
angular-cli/packages/angular/ssr/public_api_transitive.ts_0_623
/** * @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 */ // This file exports symbols that are not part of the public API but are // dependencies of public API symbols. Incl...
{ "end_byte": 623, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/ssr/public_api_transitive.ts" }
angular-cli/packages/angular/ssr/BUILD.bazel_0_2216
load("@npm//@angular/build-tooling/bazel/api-golden:index.bzl", "api_golden_test", "api_golden_test_npm_package") load("@rules_pkg//:pkg.bzl", "pkg_tar") load("//tools:defaults.bzl", "ng_package", "ts_library") package(default_visibility = ["//visibility:public"]) ts_library( name = "ssr", package_name = "@an...
{ "end_byte": 2216, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/ssr/BUILD.bazel" }
angular-cli/packages/angular/ssr/index.ts_0_234
/** * @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 './public_api';
{ "end_byte": 234, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/ssr/index.ts" }
angular-cli/packages/angular/ssr/public_api.ts_0_481
/** * @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 './private_export'; export { AngularAppEngine } from './src/app-engine'; export { createRequestHandle...
{ "end_byte": 481, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/ssr/public_api.ts" }
angular-cli/packages/angular/ssr/test/assets_spec.ts_0_1268
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import { ServerAssets } from '../src/assets'; describe('ServerAsset', () => { let assetManager: ServerAssets; ...
{ "end_byte": 1268, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/ssr/test/assets_spec.ts" }
angular-cli/packages/angular/ssr/test/testing-utils.ts_0_2555
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import { Component, provideExperimentalZonelessChangeDetection } from '@angular/core'; import { bootstrapApplication...
{ "end_byte": 2555, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/ssr/test/testing-utils.ts" }
angular-cli/packages/angular/ssr/test/i18n_spec.ts_0_2460
/** * @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 { getPotentialLocaleIdFromUrl } from '../src/i18n'; describe('getPotentialLocaleIdFromUrl', () => { it('sh...
{ "end_byte": 2460, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/ssr/test/i18n_spec.ts" }
angular-cli/packages/angular/ssr/test/hooks_spec.ts_0_2161
/** * @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 { Hooks } from '../src/hooks'; describe('Hooks', () => { let hooks: Hooks & { run: Function }; const url...
{ "end_byte": 2161, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/ssr/test/hooks_spec.ts" }
angular-cli/packages/angular/ssr/test/BUILD.bazel_0_1281
load("@npm//@angular/build-tooling/bazel/spec-bundling:index.bzl", "spec_bundle") load("@npm//@bazel/jasmine:index.bzl", "jasmine_node_test") load("//tools:defaults.bzl", "ts_library") ESM_TESTS = [ "app_spec.ts", "app-engine_spec.ts", "routes/router_spec.ts", "routes/ng-routes_spec.ts", ] ts_library(...
{ "end_byte": 1281, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/ssr/test/BUILD.bazel" }
angular-cli/packages/angular/ssr/test/app-engine_spec.ts_0_6928
/** * @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 */ // The compiler is needed as tests are in JIT. /* eslint-disable import/no-unassigned-import */ import '@angular/com...
{ "end_byte": 6928, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/ssr/test/app-engine_spec.ts" }
angular-cli/packages/angular/ssr/test/app_spec.ts_0_5442
/** * @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 */ // The compiler is needed as tests are in JIT. /* eslint-disable import/no-unassigned-import */ import '@angular/com...
{ "end_byte": 5442, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/ssr/test/app_spec.ts" }
angular-cli/packages/angular/ssr/test/npm_package/package_spec.ts_0_1736
/** * @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 { runfiles } from '@bazel/runfiles'; import { existsSync } from 'node:fs'; import { readFile } from 'node:fs/...
{ "end_byte": 1736, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/ssr/test/npm_package/package_spec.ts" }
angular-cli/packages/angular/ssr/test/npm_package/THIRD_PARTY_LICENSES.txt.golden_0_9523
-------------------------------------------------------------------------------- Package: beasties License: Apache-2.0 Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 1. Def...
{ "end_byte": 9523, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/ssr/test/npm_package/THIRD_PARTY_LICENSES.txt.golden" }
angular-cli/packages/angular/ssr/test/npm_package/THIRD_PARTY_LICENSES.txt.golden_9525_11569
9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting...
{ "end_byte": 11569, "start_byte": 9525, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/ssr/test/npm_package/THIRD_PARTY_LICENSES.txt.golden" }
angular-cli/packages/angular/ssr/test/npm_package/THIRD_PARTY_LICENSES.txt.golden_11572_22487
-------------------------------------------------------------------------------- Package: css-select License: BSD-2-Clause Copyright (c) Felix Böhm All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redis...
{ "end_byte": 22487, "start_byte": 11572, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/ssr/test/npm_package/THIRD_PARTY_LICENSES.txt.golden" }
angular-cli/packages/angular/ssr/test/npm_package/THIRD_PARTY_LICENSES.txt.golden_22489_29509
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the ...
{ "end_byte": 29509, "start_byte": 22489, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/ssr/test/npm_package/THIRD_PARTY_LICENSES.txt.golden" }
angular-cli/packages/angular/ssr/test/npm_package/THIRD_PARTY_LICENSES.txt.golden_29512_30781
-------------------------------------------------------------------------------- Package: unenv License: MIT MIT License Copyright (c) Pooya Parsa <pooya@pi0.io> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal ...
{ "end_byte": 30781, "start_byte": 29512, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/ssr/test/npm_package/THIRD_PARTY_LICENSES.txt.golden" }
angular-cli/packages/angular/ssr/test/npm_package/BUILD.bazel_0_1632
load("@bazel_skylib//rules:diff_test.bzl", "diff_test") load("@bazel_skylib//rules:write_file.bzl", "write_file") load("@npm//@bazel/jasmine:index.bzl", "jasmine_node_test") load("//tools:defaults.bzl", "ts_library") ts_library( name = "unit_test_lib", testonly = True, srcs = glob(["**/*.ts"]), deps = ...
{ "end_byte": 1632, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/ssr/test/npm_package/BUILD.bazel" }
angular-cli/packages/angular/ssr/test/utils/url_spec.ts_0_4742
/** * @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 { addLeadingSlash, joinUrlParts, stripIndexHtmlFromURL, stripLeadingSlash, stripTrailingSlash, } fr...
{ "end_byte": 4742, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/ssr/test/utils/url_spec.ts" }
angular-cli/packages/angular/ssr/test/utils/lru_cache_spec.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 { LRUCache } from '../../src/utils/lru-cache'; describe('LRUCache', () => { let cache: LRUCache<string, nu...
{ "end_byte": 2060, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/ssr/test/utils/lru_cache_spec.ts" }
angular-cli/packages/angular/ssr/test/routes/route-tree_spec.ts_0_7567
/** * @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 { RouteTree } from '../../src/routes/route-tree'; describe('RouteTree', () => { let routeTree: RouteTree; ...
{ "end_byte": 7567, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/ssr/test/routes/route-tree_spec.ts" }
angular-cli/packages/angular/ssr/test/routes/ng-routes_spec.ts_0_8105
/** * @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 */ // The compiler is needed as tests are in JIT. /* eslint-disable import/no-unassigned-import */ import '@angular/com...
{ "end_byte": 8105, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/ssr/test/routes/ng-routes_spec.ts" }
angular-cli/packages/angular/ssr/test/routes/ng-routes_spec.ts_8109_12661
it('should include fallback routes for SSG when `includePrerenderFallbackRoutes` is true', async () => { setAngularAppTestingManifest( [ { path: 'home', component: DummyComponent }, { path: 'user/:id/role/:role', component: DummyComponent }, ], [ { path: 'user/:id...
{ "end_byte": 12661, "start_byte": 8109, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/ssr/test/routes/ng-routes_spec.ts" }
angular-cli/packages/angular/ssr/test/routes/router_spec.ts_0_4338
/** * @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 */ // The compiler is needed as tests are in JIT. /* eslint-disable import/no-unassigned-import */ import '@angular/com...
{ "end_byte": 4338, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/ssr/test/routes/router_spec.ts" }
angular-cli/packages/angular/ssr/third_party/beasties/rollup.config.mjs_0_2137
/** * @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 { nodeResolve } from '@rollup/plugin-node-resolve'; import commonjs from '@rollup/plugin-commonjs'; import ali...
{ "end_byte": 2137, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/ssr/third_party/beasties/rollup.config.mjs" }
angular-cli/packages/angular/ssr/third_party/beasties/BUILD.bazel_0_1550
load("@npm//@bazel/rollup:index.bzl", "rollup_bundle") load("//tools:defaults.bzl", "js_library") package(default_visibility = ["//visibility:public"]) js_library( name = "bundled_beasties_lib", srcs = [ "index.d.ts", ":bundled_beasties_files", ], deps = [ "@npm//beasties", ...
{ "end_byte": 1550, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/ssr/third_party/beasties/BUILD.bazel" }
angular-cli/packages/angular/ssr/third_party/beasties/index.d.ts_0_239
/** * @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 */ export { default } from 'beasties';
{ "end_byte": 239, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/ssr/third_party/beasties/index.d.ts" }
angular-cli/packages/angular/ssr/node/BUILD.bazel_0_419
load("//tools:defaults.bzl", "ts_library") package(default_visibility = ["//visibility:public"]) ts_library( name = "node", srcs = glob( [ "*.ts", "src/**/*.ts", ], ), module_name = "@angular/ssr/node", deps = [ "//packages/angular/ssr", "@np...
{ "end_byte": 419, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/ssr/node/BUILD.bazel" }
angular-cli/packages/angular/ssr/node/index.ts_0_234
/** * @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 './public_api';
{ "end_byte": 234, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/ssr/node/index.ts" }
angular-cli/packages/angular/ssr/node/public_api.ts_0_624
/** * @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 { CommonEngine, type CommonEngineRenderOptions, type CommonEngineOptions, } from './src/common-engine/c...
{ "end_byte": 624, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/ssr/node/public_api.ts" }
angular-cli/packages/angular/ssr/node/test/request_spec.ts_0_4821
/** * @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 { IncomingMessage, Server, ServerResponse, createServer, request } from 'node:http'; import { AddressInfo } f...
{ "end_byte": 4821, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/ssr/node/test/request_spec.ts" }
angular-cli/packages/angular/ssr/node/test/response_spec.ts_0_3087
/** * @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 { IncomingMessage, Server, createServer, request as requestCb } from 'node:http'; import { AddressInfo } from...
{ "end_byte": 3087, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/ssr/node/test/response_spec.ts" }
angular-cli/packages/angular/ssr/node/test/BUILD.bazel_0_348
load("@npm//@bazel/jasmine:index.bzl", "jasmine_node_test") load("//tools:defaults.bzl", "ts_library") ts_library( name = "unit_test_lib", testonly = True, srcs = glob(["**/*_spec.ts"]), deps = [ "//packages/angular/ssr/node", ], ) jasmine_node_test( name = "test", deps = [ ...
{ "end_byte": 348, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/ssr/node/test/BUILD.bazel" }
angular-cli/packages/angular/ssr/node/src/module.ts_0_1229
/** * @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 { argv } from 'node:process'; import { fileURLToPath } from 'node:url'; /** * Determines whether the provid...
{ "end_byte": 1229, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/ssr/node/src/module.ts" }
angular-cli/packages/angular/ssr/node/src/response.ts_0_2005
/** * @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 { ServerResponse } from 'node:http'; /** * Streams a web-standard `Response` into a Node.js `ServerRes...
{ "end_byte": 2005, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/ssr/node/src/response.ts" }
angular-cli/packages/angular/ssr/node/src/request.ts_0_2448
/** * @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 { IncomingHttpHeaders, IncomingMessage } from 'node:http'; /** * Converts a Node.js `IncomingMessage` ...
{ "end_byte": 2448, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/ssr/node/src/request.ts" }
angular-cli/packages/angular/ssr/node/src/app-engine.ts_0_2972
/** * @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 { AngularAppEngine } from '@angular/ssr'; import type { IncomingMessage } from 'node:http'; import { createWe...
{ "end_byte": 2972, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/ssr/node/src/app-engine.ts" }
angular-cli/packages/angular/ssr/node/src/handler.ts_0_2243
/** * @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 { IncomingMessage, ServerResponse } from 'node:http'; /** * Represents a middleware function for handl...
{ "end_byte": 2243, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/ssr/node/src/handler.ts" }
angular-cli/packages/angular/ssr/node/src/common-engine/peformance-profiler.ts_0_1847
/** * @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 */ const PERFORMANCE_MARK_PREFIX = '🅰️'; export function printPerformanceLogs(): void { let maxWordLength = 0; co...
{ "end_byte": 1847, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/ssr/node/src/common-engine/peformance-profiler.ts" }
angular-cli/packages/angular/ssr/node/src/common-engine/common-engine.ts_0_6479
/** * @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 { ApplicationRef, StaticProvider, Type } from '@angular/core'; import { renderApplication, renderModule, ɵSER...
{ "end_byte": 6479, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/ssr/node/src/common-engine/common-engine.ts" }
angular-cli/packages/angular/ssr/node/src/common-engine/inline-css-processor.ts_0_923
/** * @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 { ɵInlineCriticalCssProcessor as InlineCriticalCssProcessor } from '@angular/ssr'; import { readFile } from '...
{ "end_byte": 923, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/ssr/node/src/common-engine/inline-css-processor.ts" }
angular-cli/packages/angular/ssr/schematics/BUILD.bazel_0_2591
# 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", "pkg_npm", "ts_library") load("//tools:ts_json_sch...
{ "end_byte": 2591, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/ssr/schematics/BUILD.bazel" }
angular-cli/packages/angular/ssr/schematics/ng-add/index.ts_0_416
/** * @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 { externalSchematic } from '@angular-devkit/schematics'; import { Schema as SSROptions } from './schema'; ex...
{ "end_byte": 416, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/ssr/schematics/ng-add/index.ts" }
angular-cli/packages/angular/ssr/schematics/ng-add/index_spec.ts_0_1558
/** * @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 { SchematicTestRunner, UnitTestTree } from '@an...
{ "end_byte": 1558, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/ssr/schematics/ng-add/index_spec.ts" }
angular-cli/packages/angular/ssr/tokens/BUILD.bazel_0_380
load("//tools:defaults.bzl", "ts_library") package(default_visibility = ["//visibility:public"]) ts_library( name = "tokens", srcs = glob( [ "*.ts", "src/**/*.ts", ], ), module_name = "@angular/ssr/tokens", tsconfig = "//:tsconfig-build-ng", deps = [ ...
{ "end_byte": 380, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/ssr/tokens/BUILD.bazel" }
angular-cli/packages/angular/ssr/tokens/index.ts_0_234
/** * @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 './public_api';
{ "end_byte": 234, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/ssr/tokens/index.ts" }
angular-cli/packages/angular/ssr/tokens/public_api.ts_0_276
/** * @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 { REQUEST, RESPONSE_INIT, REQUEST_CONTEXT } from './src/tokens';
{ "end_byte": 276, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/ssr/tokens/public_api.ts" }
angular-cli/packages/angular/ssr/tokens/src/tokens.ts_0_719
/** * @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 { InjectionToken } from '@angular/core'; /** * Injection token for the current request. * @developerPrevie...
{ "end_byte": 719, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/ssr/tokens/src/tokens.ts" }
angular-cli/packages/angular/ssr/src/i18n.ts_0_1453
/** * @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 */ /** * Extracts a potential locale ID from a given URL based on the specified base path. * * This function parses ...
{ "end_byte": 1453, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/ssr/src/i18n.ts" }
angular-cli/packages/angular/ssr/src/app.ts_0_2108
/** * @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 { LOCALE_ID, StaticProvider, ɵresetCompiledComponents } from '@angular/core'; import { REQUEST, REQUEST_CONTE...
{ "end_byte": 2108, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/ssr/src/app.ts" }
angular-cli/packages/angular/ssr/src/app.ts_2109_11238
xport class AngularServerApp { /** * Hooks for extending or modifying the behavior of the server application. * This instance can be used to attach custom functionality to various events in the server application lifecycle. */ hooks = new Hooks(); /** * The manifest associated with this server applic...
{ "end_byte": 11238, "start_byte": 2109, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/ssr/src/app.ts" }
angular-cli/packages/angular/ssr/src/app.ts_11239_11661
xport function destroyAngularServerApp(): void { if (typeof ngDevMode === 'undefined' || ngDevMode) { // Need to clean up GENERATED_COMP_IDS map in `@angular/core`. // Otherwise an incorrect component ID generation collision detected warning will be displayed in development. // See: https://github.com/ang...
{ "end_byte": 11661, "start_byte": 11239, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/ssr/src/app.ts" }
angular-cli/packages/angular/ssr/src/assets.ts_0_1341
/** * @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 { AngularAppManifest } from './manifest'; /** * Manages server-side assets. */ export class ServerAssets {...
{ "end_byte": 1341, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/ssr/src/assets.ts" }
angular-cli/packages/angular/ssr/src/app-engine.ts_0_5946
/** * @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 { AngularServerApp } from './app'; import { Hooks } from './hooks'; import { getPotentialLocaleIdFromUrl...
{ "end_byte": 5946, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/ssr/src/app-engine.ts" }
angular-cli/packages/angular/ssr/src/global.d.ts_0_250
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ declare const ngDevMode: boolean | undefined;
{ "end_byte": 250, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/ssr/src/global.d.ts" }
angular-cli/packages/angular/ssr/src/manifest.ts_0_5196
/** * @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 { SerializableRouteTreeNode } from './routes/route-tree'; import { AngularBootstrap } from './utils/ng';...
{ "end_byte": 5196, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/ssr/src/manifest.ts" }
angular-cli/packages/angular/ssr/src/handler.ts_0_1406
/** * @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 for handling HTTP requests in a web environment. * * @param request - The incoming HTTP request ob...
{ "end_byte": 1406, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/ssr/src/handler.ts" }
angular-cli/packages/angular/ssr/src/hooks.ts_0_4501
/** * @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 */ /** * Defines a handler function type for transforming HTML content. * This function receives an object with the H...
{ "end_byte": 4501, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/ssr/src/hooks.ts" }
angular-cli/packages/angular/ssr/src/console.ts_0_1295
/** * @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 { ɵConsole } from '@angular/core'; /** * Custom implementation of the Angular Console service that filters ...
{ "end_byte": 1295, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/ssr/src/console.ts" }
angular-cli/packages/angular/ssr/src/utils/ng.ts_0_3700
/** * @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 { ɵConsole } from '@angular/core'; import type { ApplicationRef, StaticProvider, Type } from '@angular/core';...
{ "end_byte": 3700, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/ssr/src/utils/ng.ts" }
angular-cli/packages/angular/ssr/src/utils/lru-cache.ts_0_3900
/** * @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 */ /** * Represents a node in the doubly linked list. */ interface Node<Key, Value> { key: Key; value: Value; p...
{ "end_byte": 3900, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/ssr/src/utils/lru-cache.ts" }
angular-cli/packages/angular/ssr/src/utils/crypto.ts_0_786
/** * @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 */ /** * Generates a SHA-256 hash of the provided string. * * @param data - The input string to be hashed. * @retur...
{ "end_byte": 786, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/ssr/src/utils/crypto.ts" }
angular-cli/packages/angular/ssr/src/utils/url.ts_0_3928
/** * @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 */ /** * Removes the trailing slash from a URL if it exists. * * @param url - The URL string from which to remove th...
{ "end_byte": 3928, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/ssr/src/utils/url.ts" }
angular-cli/packages/angular/ssr/src/utils/inline-critical-css.ts_0_7964
/** * @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 Beasties from '../../third_party/beasties'; /** * Pattern used to extract the media query set by Beasties i...
{ "end_byte": 7964, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/ssr/src/utils/inline-critical-css.ts" }
angular-cli/packages/angular/ssr/src/routes/router.ts_0_3860
/** * @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 { AngularAppManifest } from '../manifest'; import { stripIndexHtmlFromURL } from '../utils/url'; import { ext...
{ "end_byte": 3860, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/ssr/src/routes/router.ts" }
angular-cli/packages/angular/ssr/src/routes/ng-routes.ts_0_7373
/** * @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 { APP_BASE_HREF, PlatformLocation } from '@angular/common'; import { ApplicationRef, Compiler, Injector...
{ "end_byte": 7373, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/ssr/src/routes/ng-routes.ts" }
angular-cli/packages/angular/ssr/src/routes/ng-routes.ts_7374_13295
nc function* handleSSGRoute( metadata: ServerConfigRouteTreeNodeMetadata, parentInjector: Injector, invokeGetPrerenderParams: boolean, includePrerenderFallbackRoutes: boolean, ): AsyncIterableIterator<RouteTreeNodeMetadata | { error: string }> { if (metadata.renderMode !== RenderMode.Prerender) { throw ne...
{ "end_byte": 13295, "start_byte": 7374, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/ssr/src/routes/ng-routes.ts" }
angular-cli/packages/angular/ssr/src/routes/ng-routes.ts_13296_19682
ort async function getRoutesFromAngularRouterConfig( bootstrap: AngularBootstrap, document: string, url: URL, invokeGetPrerenderParams = false, includePrerenderFallbackRoutes = true, ): Promise<AngularRouterConfigResult> { const { protocol, host } = url; // Create and initialize the Angular platform for ...
{ "end_byte": 19682, "start_byte": 13296, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/ssr/src/routes/ng-routes.ts" }
angular-cli/packages/angular/ssr/src/routes/route-config.ts_0_6126
/** * @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 { EnvironmentProviders, InjectionToken, makeEnvironmentProviders } from '@angular/core'; /** * Different re...
{ "end_byte": 6126, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/ssr/src/routes/route-config.ts" }
angular-cli/packages/angular/ssr/src/routes/route-tree.ts_0_4270
/** * @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 { stripTrailingSlash } from '../utils/url'; import { RenderMode } from './route-config'; /** * Represents t...
{ "end_byte": 4270, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/ssr/src/routes/route-tree.ts" }
angular-cli/packages/angular/ssr/src/routes/route-tree.ts_4271_12294
export class RouteTree<AdditionalMetadata extends Record<string, unknown> = {}> { /** * The root node of the route tree. * All routes are stored and accessed relative to this root node. */ private readonly root = this.createEmptyRouteTreeNode(''); /** * A counter that tracks the order of route insert...
{ "end_byte": 12294, "start_byte": 4271, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/ssr/src/routes/route-tree.ts" }
angular-cli/packages/angular/pwa/README.md_0_1148
# `@angular/pwa` This is a [schematic](https://angular.dev/tools/cli/schematics) for adding [Progressive Web App](https://web.dev/progressive-web-apps/) support to an Angular project. Run the schematic with the [Angular CLI](https://angular.dev/tools/cli): ```shell ng add @angular/pwa --project <project-name> ``` Ex...
{ "end_byte": 1148, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/pwa/README.md" }
angular-cli/packages/angular/pwa/BUILD.bazel_0_1674
# 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", "pkg_npm", "ts_library") load("//tools:ts_json_sch...
{ "end_byte": 1674, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/pwa/BUILD.bazel" }
angular-cli/packages/angular/pwa/pwa/index.ts_0_5814
/** * @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 { Rule, SchematicsException, Tree, apply, chain, externalSchematic, mergeWith, move, templa...
{ "end_byte": 5814, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/pwa/pwa/index.ts" }
angular-cli/packages/angular/pwa/pwa/index_spec.ts_0_6136
/** * @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 { SchematicTestRunner, UnitTestTree } from '@angular-devkit/schematics/testing'; import * as path from 'path'...
{ "end_byte": 6136, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/pwa/pwa/index_spec.ts" }
angular-cli/packages/angular/pwa/pwa/files/assets/manifest.webmanifest_0_1380
{ "name": "<%= title %>", "short_name": "<%= title %>", "theme_color": "#1976d2", "background_color": "#fafafa", "display": "standalone", "scope": "./", "start_url": "./", "icons": [ { "src": "<%= iconsPath %>/icon-72x72.png", "sizes": "72x72", "type": "image/png", "purpose":...
{ "end_byte": 1380, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/pwa/pwa/files/assets/manifest.webmanifest" }
angular-cli/packages/angular/build/README.md_0_326
# Angular Build System for Applications and Libraries The sources for this package are in the [Angular CLI](https://github.com/angular/angular-cli) repository. Please file issues and pull requests against that repository. Usage information and reference details can be found in repository [README](../../../README.md) ...
{ "end_byte": 326, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/build/README.md" }
angular-cli/packages/angular/build/BUILD.bazel_0_5530
load("@npm//@angular/build-tooling/bazel/api-golden:index.bzl", "api_golden_test_npm_package") load("@npm//@bazel/jasmine:index.bzl", "jasmine_node_test") load("//tools:defaults.bzl", "pkg_npm", "ts_library") load("//tools:ts_json_schema.bzl", "ts_json_schema") licenses(["notice"]) package(default_visibility = ["//vi...
{ "end_byte": 5530, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/build/BUILD.bazel" }
angular-cli/packages/angular/build/src/private.ts_0_2657
/** * @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 * Private exports intended only for use with the @angular-devkit/build-angular package. * All...
{ "end_byte": 2657, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/build/src/private.ts" }
angular-cli/packages/angular/build/src/typings.d.ts_0_835
/** * @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 */ // The `bundled_beasties` causes issues with module mappings in Bazel, // leading to unexpected behavior with esbuil...
{ "end_byte": 835, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/build/src/typings.d.ts" }
angular-cli/packages/angular/build/src/index.ts_0_758
/** * @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 { buildApplication, type ApplicationBuilderOptions, type ApplicationBuilderOutput, } from './builders/a...
{ "end_byte": 758, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/build/src/index.ts" }
angular-cli/packages/angular/build/src/tools/angular/angular-host.ts_0_8041
/** * @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 ng from '@angular/compiler-cli'; import assert from 'node:assert'; import { createHash } from 'node:cryp...
{ "end_byte": 8041, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/build/src/tools/angular/angular-host.ts" }
angular-cli/packages/angular/build/src/tools/angular/uri.ts_0_2944
/** * @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 */ /** * A string value representing the base namespace for Angular JIT mode related imports. */ const JIT_BASE_NAMES...
{ "end_byte": 2944, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/build/src/tools/angular/uri.ts" }
angular-cli/packages/angular/build/src/tools/angular/transformers/jit-resource-transformer.ts_0_9699
/** * @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 ts from 'typescript'; import { generateJitFileUri, generateJitInlineUri } from '../uri'; /** * Creates a Ty...
{ "end_byte": 9699, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/build/src/tools/angular/transformers/jit-resource-transformer.ts" }
angular-cli/packages/angular/build/src/tools/angular/transformers/jit-bootstrap-transformer.ts_0_7511
/** * @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 ts from 'typescript'; /** * The name of the Angular platform that should be replaced within * bootstrap ca...
{ "end_byte": 7511, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/build/src/tools/angular/transformers/jit-bootstrap-transformer.ts" }
angular-cli/packages/angular/build/src/tools/angular/transformers/web-worker-transformer.ts_0_4566
/** * @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 ts from 'typescript'; /** * Creates a TypeScript Transformer to process Worker and SharedWorker entry point...
{ "end_byte": 4566, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/build/src/tools/angular/transformers/web-worker-transformer.ts" }
angular-cli/packages/angular/build/src/tools/angular/compilation/parallel-compilation.ts_0_5355
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import type { CompilerOptions } from '@angular/compiler-cli'; import type { PartialMessage } from 'esbuild'; import ...
{ "end_byte": 5355, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/build/src/tools/angular/compilation/parallel-compilation.ts" }
angular-cli/packages/angular/build/src/tools/angular/compilation/parallel-worker.ts_0_4085
/** * @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 { PartialMessage } from 'esbuild'; import assert from 'node:assert'; import { randomUUID } from 'node:cr...
{ "end_byte": 4085, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/build/src/tools/angular/compilation/parallel-worker.ts" }
angular-cli/packages/angular/build/src/tools/angular/compilation/factory.ts_0_1172
/** * @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 { useParallelTs } from '../../../utils/environment-options'; import type { AngularCompilation } from './angul...
{ "end_byte": 1172, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/packages/angular/build/src/tools/angular/compilation/factory.ts" }