_id
stringlengths
21
254
text
stringlengths
1
93.7k
metadata
dict
angular-cli/tests/legacy-cli/e2e/assets/15.0-project/src/app/app.component.html_5882_8043
<div class="toolbar" role="banner"> <img width="40" alt="Angular Logo" src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNTAgMjUwIj4KICAgIDxwYXRoIGZpbGw9IiNERDAwMzEiIGQ9Ik0xMjUgMzBMMzEuOSA2My4ybDE0LjIgMTIzLjFMMTI1IDIzMGw3OC45LTQzLjcgMTQuMi0xMjMuMXoiIC8+...
{ "end_byte": 8043, "start_byte": 5882, "url": "https://github.com/angular/angular-cli/blob/main/tests/legacy-cli/e2e/assets/15.0-project/src/app/app.component.html" }
angular-cli/tests/legacy-cli/e2e/assets/15.0-project/src/app/app.component.html_8045_9993
<div class="content" role="main"> <!-- Highlight Card --> <div class="card highlight-card card-small"> <svg id="rocket" xmlns="http://www.w3.org/2000/svg" width="101.678" height="101.678" viewBox="0 0 101.678 101.678"> <title>Rocket Ship</title> <g id="Group_83" data-name="Group 83" transform="tra...
{ "end_byte": 9993, "start_byte": 8045, "url": "https://github.com/angular/angular-cli/blob/main/tests/legacy-cli/e2e/assets/15.0-project/src/app/app.component.html" }
angular-cli/tests/legacy-cli/e2e/assets/15.0-project/src/app/app.component.html_9997_13722
<div class="card-container"> <a class="card" target="_blank" rel="noopener" href="https://angular.dev/tutorials/learn-angular"> <svg class="material-icons" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M5 13.18v4L12 21l7-3.82v-4L12 17l-7-3.82zM12 3L1 9l11 6 9-4.91V17h2...
{ "end_byte": 13722, "start_byte": 9997, "url": "https://github.com/angular/angular-cli/blob/main/tests/legacy-cli/e2e/assets/15.0-project/src/app/app.component.html" }
angular-cli/tests/legacy-cli/e2e/assets/15.0-project/src/app/app.component.html_13722_16064
<div class="card-container"> <button class="card card-small" (click)="selection.value = 'component'" tabindex="0"> <svg class="material-icons" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"/></svg> <span>New Component</span> ...
{ "end_byte": 16064, "start_byte": 13722, "url": "https://github.com/angular/angular-cli/blob/main/tests/legacy-cli/e2e/assets/15.0-project/src/app/app.component.html" }
angular-cli/tests/legacy-cli/e2e/assets/15.0-project/src/app/app.component.html_16069_19252
<a class="circle-link" title="Find a Local Meetup" href="https://www.meetup.com/find/?keywords=angular" target="_blank" rel="noopener"> <svg xmlns="http://www.w3.org/2000/svg" width="24.607" height="23.447" viewBox="0 0 24.607 23.447"> <title>Meetup Logo</title> <path id="logo--mSwarm" d="M21.221,...
{ "end_byte": 19252, "start_byte": 16069, "url": "https://github.com/angular/angular-cli/blob/main/tests/legacy-cli/e2e/assets/15.0-project/src/app/app.component.html" }
angular-cli/tests/legacy-cli/e2e/assets/15.0-project/src/app/app.component.html_19258_22671
<a class="circle-link" title="Join the Conversation on Discord" href="https://discord.gg/angular" target="_blank" rel="noopener"> <svg xmlns="http://www.w3.org/2000/svg" width="26" height="26" viewBox="0 0 245 240"> <title>Discord Logo</title> <path d="M104.4 103.9c-5.7 0-10.2 5-10.2 11.1s4.6 11.1...
{ "end_byte": 22671, "start_byte": 19258, "url": "https://github.com/angular/angular-cli/blob/main/tests/legacy-cli/e2e/assets/15.0-project/src/app/app.component.html" }
angular-cli/tests/legacy-cli/e2e/assets/15.0-project/src/app/app.component.html_22672_23130
<!-- * * * * * * * * * * * The content above * * * * * * * * * * * --> <!-- * * * * * * * * * * is only a placeholder * * * * * * * * * * --> <!-- * * * * * * * * * * and can be replaced. * * * * * * * * * * * --> <!-- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * --> <!-- * * * * * * * * * * End of Pla...
{ "end_byte": 23130, "start_byte": 22672, "url": "https://github.com/angular/angular-cli/blob/main/tests/legacy-cli/e2e/assets/15.0-project/src/app/app.component.html" }
angular-cli/tests/legacy-cli/e2e/assets/15.0-project/src/app/app-routing.module.ts_0_245
import { NgModule } from '@angular/core'; import { RouterModule, Routes } from '@angular/router'; const routes: Routes = []; @NgModule({ imports: [RouterModule.forRoot(routes)], exports: [RouterModule] }) export class AppRoutingModule { }
{ "end_byte": 245, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/tests/legacy-cli/e2e/assets/15.0-project/src/app/app-routing.module.ts" }
angular-cli/tests/legacy-cli/e2e/assets/15.0-project/src/app/app.component.spec.ts_0_1070
import { TestBed } from '@angular/core/testing'; import { RouterModule } from '@angular/router'; import { AppComponent } from './app.component'; describe('AppComponent', () => { beforeEach(async () => { await TestBed.configureTestingModule({ imports: [ RouterModule.forRoot([]) ], declar...
{ "end_byte": 1070, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/tests/legacy-cli/e2e/assets/15.0-project/src/app/app.component.spec.ts" }
angular-cli/tests/legacy-cli/e2e/assets/15.0-project/src/app/app.module.ts_0_393
import { NgModule } from '@angular/core'; import { BrowserModule } from '@angular/platform-browser'; import { AppRoutingModule } from './app-routing.module'; import { AppComponent } from './app.component'; @NgModule({ declarations: [ AppComponent ], imports: [ BrowserModule, AppRoutingModule ], ...
{ "end_byte": 393, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/tests/legacy-cli/e2e/assets/15.0-project/src/app/app.module.ts" }
angular-cli/tests/legacy-cli/e2e/assets/15.0-project/src/app/app.component.ts_0_219
import { Component } from '@angular/core'; @Component({ selector: 'app-root', templateUrl: './app.component.html', styleUrls: ['./app.component.css'] }) export class AppComponent { title = 'fifteen-project'; }
{ "end_byte": 219, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/tests/legacy-cli/e2e/assets/15.0-project/src/app/app.component.ts" }
angular-cli/tests/legacy-cli/e2e/assets/add-collection-peer-good/index.js_0_96
exports.default = (options) => tree => tree.create(options.name || 'empty-file-peer-good', '');
{ "end_byte": 96, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/tests/legacy-cli/e2e/assets/add-collection-peer-good/index.js" }
angular-cli/tests/legacy-cli/e2e/assets/schematic-boolean-option-negated/index.js_0_53
exports.default = (options) => console.log(options);
{ "end_byte": 53, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/tests/legacy-cli/e2e/assets/schematic-boolean-option-negated/index.js" }
angular-cli/tests/legacy-cli/e2e/assets/add-collection-peer-bad/index.js_0_95
exports.default = (options) => tree => tree.create(options.name || 'empty-file-peer-bad', '');
{ "end_byte": 95, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/tests/legacy-cli/e2e/assets/add-collection-peer-bad/index.js" }
angular-cli/tests/legacy-cli/e2e/assets/schematic-allow-scripts/index.js_0_710
const tasks = require("@angular-devkit/schematics/tasks"); exports.default = ({ allowScripts, ignoreScripts = false }) => { return (tree, context) => { tree.create('/install-test/package.json', JSON.stringify({ name: 'install-test', version: '0.0.0', scripts: { ...
{ "end_byte": 710, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/tests/legacy-cli/e2e/assets/schematic-allow-scripts/index.js" }
angular-cli/tests/legacy-cli/e2e/assets/nested-schematic-main/index.js_0_122
exports.default = (options) => require("@angular-devkit/schematics").externalSchematic('empty-app-nested', 'nested', {});
{ "end_byte": 122, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/tests/legacy-cli/e2e/assets/nested-schematic-main/index.js" }
angular-cli/tests/legacy-cli/e2e/assets/add-collection/index.js_0_86
exports.default = (options) => tree => tree.create(options.name || 'empty-file', '');
{ "end_byte": 86, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/tests/legacy-cli/e2e/assets/add-collection/index.js" }
angular-cli/tests/legacy-cli/e2e/assets/18-ssr-project-webpack/README.md_0_1112
# 17SsrProjectWebpack This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 16.2.10. ## Development server Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The application will automatically reload if you change any of the source files. ## Code scaffoldi...
{ "end_byte": 1112, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/tests/legacy-cli/e2e/assets/18-ssr-project-webpack/README.md" }
angular-cli/tests/legacy-cli/e2e/assets/18-ssr-project-webpack/server.ts_0_2233
import 'zone.js/node'; import { APP_BASE_HREF } from '@angular/common'; import { CommonEngine } from '@angular/ssr'; import * as express from 'express'; import { existsSync } from 'node:fs'; import { join } from 'node:path'; import AppServerModule from './src/main.server'; // The Express app is exported so that it ca...
{ "end_byte": 2233, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/tests/legacy-cli/e2e/assets/18-ssr-project-webpack/server.ts" }
angular-cli/tests/legacy-cli/e2e/assets/18-ssr-project-webpack/src/index.html_0_305
<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>17SsrProjectWebpack</title> <base href="/"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="icon" type="image/x-icon" href="favicon.ico"> </head> <body> <app-root></app-root> </body> </html>
{ "end_byte": 305, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/tests/legacy-cli/e2e/assets/18-ssr-project-webpack/src/index.html" }
angular-cli/tests/legacy-cli/e2e/assets/18-ssr-project-webpack/src/main.ts_0_214
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic'; import { AppModule } from './app/app.module'; platformBrowserDynamic().bootstrapModule(AppModule) .catch(err => console.error(err));
{ "end_byte": 214, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/tests/legacy-cli/e2e/assets/18-ssr-project-webpack/src/main.ts" }
angular-cli/tests/legacy-cli/e2e/assets/18-ssr-project-webpack/src/styles.css_0_80
/* You can add global styles to this file, and also import other style files */
{ "end_byte": 80, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/tests/legacy-cli/e2e/assets/18-ssr-project-webpack/src/styles.css" }
angular-cli/tests/legacy-cli/e2e/assets/18-ssr-project-webpack/src/main.server.ts_0_70
export { AppServerModule as default } from './app/app.module.server';
{ "end_byte": 70, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/tests/legacy-cli/e2e/assets/18-ssr-project-webpack/src/main.server.ts" }
angular-cli/tests/legacy-cli/e2e/assets/18-ssr-project-webpack/src/app/app.component.html_0_572
<!-- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * --> <!-- * * * * * * * * * * * The content below * * * * * * * * * * * --> <!-- * * * * * * * * * * is only a placeholder * * * * * * * * * * --> <!-- * * * * * * * * * * and can be replaced. * * * * * * * * * * * --> <!-- * * * * * * * * * * * * * * * ...
{ "end_byte": 572, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/tests/legacy-cli/e2e/assets/18-ssr-project-webpack/src/app/app.component.html" }
angular-cli/tests/legacy-cli/e2e/assets/18-ssr-project-webpack/src/app/app.component.html_574_5881
<style> :host { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; font-size: 14px; color: #333; box-sizing: border-box; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: graysc...
{ "end_byte": 5881, "start_byte": 574, "url": "https://github.com/angular/angular-cli/blob/main/tests/legacy-cli/e2e/assets/18-ssr-project-webpack/src/app/app.component.html" }
angular-cli/tests/legacy-cli/e2e/assets/18-ssr-project-webpack/src/app/app.component.html_5882_9600
<div class="toolbar" role="banner"> <img width="40" alt="Angular Logo" src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNTAgMjUwIj4KICAgIDxwYXRoIGZpbGw9IiNERDAwMzEiIGQ9Ik0xMjUgMzBMMzEuOSA2My4ybDE0LjIgMTIzLjFMMTI1IDIzMGw3OC45LTQzLjcgMTQuMi0xMjMuMXoiIC8+...
{ "end_byte": 9600, "start_byte": 5882, "url": "https://github.com/angular/angular-cli/blob/main/tests/legacy-cli/e2e/assets/18-ssr-project-webpack/src/app/app.component.html" }
angular-cli/tests/legacy-cli/e2e/assets/18-ssr-project-webpack/src/app/app.component.html_9604_13329
<div class="card-container"> <a class="card" target="_blank" rel="noopener" href="https://angular.dev/tutorials/learn-angular"> <svg class="material-icons" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M5 13.18v4L12 21l7-3.82v-4L12 17l-7-3.82zM12 3L1 9l11 6 9-4.91V17h2...
{ "end_byte": 13329, "start_byte": 9604, "url": "https://github.com/angular/angular-cli/blob/main/tests/legacy-cli/e2e/assets/18-ssr-project-webpack/src/app/app.component.html" }
angular-cli/tests/legacy-cli/e2e/assets/18-ssr-project-webpack/src/app/app.component.html_13329_15679
<div class="card-container"> <button class="card card-small" (click)="selection.value = 'component'" tabindex="0"> <svg class="material-icons" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"/></svg> <span>New Component</span> ...
{ "end_byte": 15679, "start_byte": 13329, "url": "https://github.com/angular/angular-cli/blob/main/tests/legacy-cli/e2e/assets/18-ssr-project-webpack/src/app/app.component.html" }
angular-cli/tests/legacy-cli/e2e/assets/18-ssr-project-webpack/src/app/app.component.html_15684_18867
<a class="circle-link" title="Find a Local Meetup" href="https://www.meetup.com/find/?keywords=angular" target="_blank" rel="noopener"> <svg xmlns="http://www.w3.org/2000/svg" width="24.607" height="23.447" viewBox="0 0 24.607 23.447"> <title>Meetup Logo</title> <path id="logo--mSwarm" d="M21.221,...
{ "end_byte": 18867, "start_byte": 15684, "url": "https://github.com/angular/angular-cli/blob/main/tests/legacy-cli/e2e/assets/18-ssr-project-webpack/src/app/app.component.html" }
angular-cli/tests/legacy-cli/e2e/assets/18-ssr-project-webpack/src/app/app.component.html_18873_22286
<a class="circle-link" title="Join the Conversation on Discord" href="https://discord.gg/angular" target="_blank" rel="noopener"> <svg xmlns="http://www.w3.org/2000/svg" width="26" height="26" viewBox="0 0 245 240"> <title>Discord Logo</title> <path d="M104.4 103.9c-5.7 0-10.2 5-10.2 11.1s4.6 11.1...
{ "end_byte": 22286, "start_byte": 18873, "url": "https://github.com/angular/angular-cli/blob/main/tests/legacy-cli/e2e/assets/18-ssr-project-webpack/src/app/app.component.html" }
angular-cli/tests/legacy-cli/e2e/assets/18-ssr-project-webpack/src/app/app.component.html_22287_22745
<!-- * * * * * * * * * * * The content above * * * * * * * * * * * --> <!-- * * * * * * * * * * is only a placeholder * * * * * * * * * * --> <!-- * * * * * * * * * * and can be replaced. * * * * * * * * * * * --> <!-- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * --> <!-- * * * * * * * * * * End of Pla...
{ "end_byte": 22745, "start_byte": 22287, "url": "https://github.com/angular/angular-cli/blob/main/tests/legacy-cli/e2e/assets/18-ssr-project-webpack/src/app/app.component.html" }
angular-cli/tests/legacy-cli/e2e/assets/18-ssr-project-webpack/src/app/app-routing.module.ts_0_245
import { NgModule } from '@angular/core'; import { RouterModule, Routes } from '@angular/router'; const routes: Routes = []; @NgModule({ imports: [RouterModule.forRoot(routes)], exports: [RouterModule] }) export class AppRoutingModule { }
{ "end_byte": 245, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/tests/legacy-cli/e2e/assets/18-ssr-project-webpack/src/app/app-routing.module.ts" }
angular-cli/tests/legacy-cli/e2e/assets/18-ssr-project-webpack/src/app/app.component.spec.ts_0_1029
import { TestBed } from '@angular/core/testing'; import { RouterModule } from '@angular/router'; import { AppComponent } from './app.component'; describe('AppComponent', () => { beforeEach(() => TestBed.configureTestingModule({ imports: [RouterModule.forRoot([])], declarations: [AppComponent] })); it('s...
{ "end_byte": 1029, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/tests/legacy-cli/e2e/assets/18-ssr-project-webpack/src/app/app.component.spec.ts" }
angular-cli/tests/legacy-cli/e2e/assets/18-ssr-project-webpack/src/app/app.module.ts_0_449
import { NgModule } from '@angular/core'; import { BrowserModule, provideClientHydration } from '@angular/platform-browser'; import { AppRoutingModule } from './app-routing.module'; import { AppComponent } from './app.component'; @NgModule({ declarations: [ AppComponent ], imports: [ BrowserModule, ...
{ "end_byte": 449, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/tests/legacy-cli/e2e/assets/18-ssr-project-webpack/src/app/app.module.ts" }
angular-cli/tests/legacy-cli/e2e/assets/18-ssr-project-webpack/src/app/app.component.ts_0_226
import { Component } from '@angular/core'; @Component({ selector: 'app-root', templateUrl: './app.component.html', styleUrls: ['./app.component.css'] }) export class AppComponent { title = '18-ssr-project-webpack'; }
{ "end_byte": 226, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/tests/legacy-cli/e2e/assets/18-ssr-project-webpack/src/app/app.component.ts" }
angular-cli/tests/legacy-cli/e2e/assets/18-ssr-project-webpack/src/app/app.module.server.ts_0_318
import { NgModule } from '@angular/core'; import { ServerModule } from '@angular/platform-server'; import { AppModule } from './app.module'; import { AppComponent } from './app.component'; @NgModule({ imports: [ AppModule, ServerModule, ], bootstrap: [AppComponent], }) export class AppServerModule {}
{ "end_byte": 318, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/tests/legacy-cli/e2e/assets/18-ssr-project-webpack/src/app/app.module.server.ts" }
angular-cli/tests/legacy-cli/e2e/assets/19-ssr-project-webpack/README.md_0_1112
# 17SsrProjectWebpack This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 16.2.10. ## Development server Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The application will automatically reload if you change any of the source files. ## Code scaffoldi...
{ "end_byte": 1112, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/tests/legacy-cli/e2e/assets/19-ssr-project-webpack/README.md" }
angular-cli/tests/legacy-cli/e2e/assets/19-ssr-project-webpack/server.ts_0_2238
import 'zone.js/node'; import { APP_BASE_HREF } from '@angular/common'; import { CommonEngine } from '@angular/ssr/node'; import * as express from 'express'; import { existsSync } from 'node:fs'; import { join } from 'node:path'; import AppServerModule from './src/main.server'; // The Express app is exported so that ...
{ "end_byte": 2238, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/tests/legacy-cli/e2e/assets/19-ssr-project-webpack/server.ts" }
angular-cli/tests/legacy-cli/e2e/assets/19-ssr-project-webpack/src/index.html_0_305
<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>17SsrProjectWebpack</title> <base href="/"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="icon" type="image/x-icon" href="favicon.ico"> </head> <body> <app-root></app-root> </body> </html>
{ "end_byte": 305, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/tests/legacy-cli/e2e/assets/19-ssr-project-webpack/src/index.html" }
angular-cli/tests/legacy-cli/e2e/assets/19-ssr-project-webpack/src/main.ts_0_214
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic'; import { AppModule } from './app/app.module'; platformBrowserDynamic().bootstrapModule(AppModule) .catch(err => console.error(err));
{ "end_byte": 214, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/tests/legacy-cli/e2e/assets/19-ssr-project-webpack/src/main.ts" }
angular-cli/tests/legacy-cli/e2e/assets/19-ssr-project-webpack/src/styles.css_0_80
/* You can add global styles to this file, and also import other style files */
{ "end_byte": 80, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/tests/legacy-cli/e2e/assets/19-ssr-project-webpack/src/styles.css" }
angular-cli/tests/legacy-cli/e2e/assets/19-ssr-project-webpack/src/main.server.ts_0_70
export { AppServerModule as default } from './app/app.module.server';
{ "end_byte": 70, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/tests/legacy-cli/e2e/assets/19-ssr-project-webpack/src/main.server.ts" }
angular-cli/tests/legacy-cli/e2e/assets/19-ssr-project-webpack/src/app/app.component.html_0_572
<!-- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * --> <!-- * * * * * * * * * * * The content below * * * * * * * * * * * --> <!-- * * * * * * * * * * is only a placeholder * * * * * * * * * * --> <!-- * * * * * * * * * * and can be replaced. * * * * * * * * * * * --> <!-- * * * * * * * * * * * * * * * ...
{ "end_byte": 572, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/tests/legacy-cli/e2e/assets/19-ssr-project-webpack/src/app/app.component.html" }
angular-cli/tests/legacy-cli/e2e/assets/19-ssr-project-webpack/src/app/app.component.html_574_5881
<style> :host { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; font-size: 14px; color: #333; box-sizing: border-box; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: graysc...
{ "end_byte": 5881, "start_byte": 574, "url": "https://github.com/angular/angular-cli/blob/main/tests/legacy-cli/e2e/assets/19-ssr-project-webpack/src/app/app.component.html" }
angular-cli/tests/legacy-cli/e2e/assets/19-ssr-project-webpack/src/app/app.component.html_5882_9600
<div class="toolbar" role="banner"> <img width="40" alt="Angular Logo" src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNTAgMjUwIj4KICAgIDxwYXRoIGZpbGw9IiNERDAwMzEiIGQ9Ik0xMjUgMzBMMzEuOSA2My4ybDE0LjIgMTIzLjFMMTI1IDIzMGw3OC45LTQzLjcgMTQuMi0xMjMuMXoiIC8+...
{ "end_byte": 9600, "start_byte": 5882, "url": "https://github.com/angular/angular-cli/blob/main/tests/legacy-cli/e2e/assets/19-ssr-project-webpack/src/app/app.component.html" }
angular-cli/tests/legacy-cli/e2e/assets/19-ssr-project-webpack/src/app/app.component.html_9604_13329
<div class="card-container"> <a class="card" target="_blank" rel="noopener" href="https://angular.dev/tutorials/learn-angular"> <svg class="material-icons" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M5 13.18v4L12 21l7-3.82v-4L12 17l-7-3.82zM12 3L1 9l11 6 9-4.91V17h2...
{ "end_byte": 13329, "start_byte": 9604, "url": "https://github.com/angular/angular-cli/blob/main/tests/legacy-cli/e2e/assets/19-ssr-project-webpack/src/app/app.component.html" }
angular-cli/tests/legacy-cli/e2e/assets/19-ssr-project-webpack/src/app/app.component.html_13329_15679
<div class="card-container"> <button class="card card-small" (click)="selection.value = 'component'" tabindex="0"> <svg class="material-icons" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"/></svg> <span>New Component</span> ...
{ "end_byte": 15679, "start_byte": 13329, "url": "https://github.com/angular/angular-cli/blob/main/tests/legacy-cli/e2e/assets/19-ssr-project-webpack/src/app/app.component.html" }
angular-cli/tests/legacy-cli/e2e/assets/19-ssr-project-webpack/src/app/app.component.html_15684_18867
<a class="circle-link" title="Find a Local Meetup" href="https://www.meetup.com/find/?keywords=angular" target="_blank" rel="noopener"> <svg xmlns="http://www.w3.org/2000/svg" width="24.607" height="23.447" viewBox="0 0 24.607 23.447"> <title>Meetup Logo</title> <path id="logo--mSwarm" d="M21.221,...
{ "end_byte": 18867, "start_byte": 15684, "url": "https://github.com/angular/angular-cli/blob/main/tests/legacy-cli/e2e/assets/19-ssr-project-webpack/src/app/app.component.html" }
angular-cli/tests/legacy-cli/e2e/assets/19-ssr-project-webpack/src/app/app.component.html_18873_22286
<a class="circle-link" title="Join the Conversation on Discord" href="https://discord.gg/angular" target="_blank" rel="noopener"> <svg xmlns="http://www.w3.org/2000/svg" width="26" height="26" viewBox="0 0 245 240"> <title>Discord Logo</title> <path d="M104.4 103.9c-5.7 0-10.2 5-10.2 11.1s4.6 11.1...
{ "end_byte": 22286, "start_byte": 18873, "url": "https://github.com/angular/angular-cli/blob/main/tests/legacy-cli/e2e/assets/19-ssr-project-webpack/src/app/app.component.html" }
angular-cli/tests/legacy-cli/e2e/assets/19-ssr-project-webpack/src/app/app.component.html_22287_22745
<!-- * * * * * * * * * * * The content above * * * * * * * * * * * --> <!-- * * * * * * * * * * is only a placeholder * * * * * * * * * * --> <!-- * * * * * * * * * * and can be replaced. * * * * * * * * * * * --> <!-- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * --> <!-- * * * * * * * * * * End of Pla...
{ "end_byte": 22745, "start_byte": 22287, "url": "https://github.com/angular/angular-cli/blob/main/tests/legacy-cli/e2e/assets/19-ssr-project-webpack/src/app/app.component.html" }
angular-cli/tests/legacy-cli/e2e/assets/19-ssr-project-webpack/src/app/app-routing.module.ts_0_245
import { NgModule } from '@angular/core'; import { RouterModule, Routes } from '@angular/router'; const routes: Routes = []; @NgModule({ imports: [RouterModule.forRoot(routes)], exports: [RouterModule] }) export class AppRoutingModule { }
{ "end_byte": 245, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/tests/legacy-cli/e2e/assets/19-ssr-project-webpack/src/app/app-routing.module.ts" }
angular-cli/tests/legacy-cli/e2e/assets/19-ssr-project-webpack/src/app/app.component.spec.ts_0_1029
import { TestBed } from '@angular/core/testing'; import { RouterModule } from '@angular/router'; import { AppComponent } from './app.component'; describe('AppComponent', () => { beforeEach(() => TestBed.configureTestingModule({ imports: [RouterModule.forRoot([])], declarations: [AppComponent] })); it('s...
{ "end_byte": 1029, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/tests/legacy-cli/e2e/assets/19-ssr-project-webpack/src/app/app.component.spec.ts" }
angular-cli/tests/legacy-cli/e2e/assets/19-ssr-project-webpack/src/app/app.module.ts_0_449
import { NgModule } from '@angular/core'; import { BrowserModule, provideClientHydration } from '@angular/platform-browser'; import { AppRoutingModule } from './app-routing.module'; import { AppComponent } from './app.component'; @NgModule({ declarations: [ AppComponent ], imports: [ BrowserModule, ...
{ "end_byte": 449, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/tests/legacy-cli/e2e/assets/19-ssr-project-webpack/src/app/app.module.ts" }
angular-cli/tests/legacy-cli/e2e/assets/19-ssr-project-webpack/src/app/app.component.ts_0_247
import { Component } from '@angular/core'; @Component({ selector: 'app-root', standalone: false, templateUrl: './app.component.html', styleUrls: ['./app.component.css'] }) export class AppComponent { title = '19-ssr-project-webpack'; }
{ "end_byte": 247, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/tests/legacy-cli/e2e/assets/19-ssr-project-webpack/src/app/app.component.ts" }
angular-cli/tests/legacy-cli/e2e/assets/19-ssr-project-webpack/src/app/app.module.server.ts_0_318
import { NgModule } from '@angular/core'; import { ServerModule } from '@angular/platform-server'; import { AppModule } from './app.module'; import { AppComponent } from './app.component'; @NgModule({ imports: [ AppModule, ServerModule, ], bootstrap: [AppComponent], }) export class AppServerModule {}
{ "end_byte": 318, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/tests/legacy-cli/e2e/assets/19-ssr-project-webpack/src/app/app.module.server.ts" }
angular-cli/tests/schematics/update/packages/README.md_0_436
## Update Package Group packages * `update-package-group-1@1.0.0` -> `update-package-group2@^1` * `update-package-group-2@1.0.0` -> `update-package-group1@1.0.0` ---- * `update-package-group-1@1.0.0` -> `update-package-group2@^1` * `update-package-group-2@1.1.0` -> `update-package-group1@1.0.0` ---- * `update-packa...
{ "end_byte": 436, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/tests/schematics/update/packages/README.md" }
angular-cli/tests/schematics/update/packages/update-migrations/v1_5.js_0_307
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ exports.default = function () { return function (tree) { tree.create('/version1_5', ''); }; };
{ "end_byte": 307, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/tests/schematics/update/packages/update-migrations/v1_5.js" }
angular-cli/tests/angular_devkit/core/json/schema/serializers/0.0.javascript_spec.ts_0_1106
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ // tslint:disable:no-any import { schema } from '@angular-devkit/core'; const { serializers } = schema; export fun...
{ "end_byte": 1106, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/tests/angular_devkit/core/json/schema/serializers/0.0.javascript_spec.ts" }
angular-cli/tests/angular_devkit/core/json/schema/serializers/1.0.javascript_spec.ts_0_1941
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ // tslint:disable:no-any import { schema } from '@angular-devkit/core'; const { serializers } = schema; export fun...
{ "end_byte": 1941, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/tests/angular_devkit/core/json/schema/serializers/1.0.javascript_spec.ts" }
angular-cli/tests/angular_devkit/architect/node/jobs/BUILD.bazel_0_517
load("//tools:defaults.bzl", "ts_library") # Copyright Google Inc. All Rights Reserved. # # Use of this source code is governed by an MIT-style license that can be # found in the LICENSE file at https://angular.dev/license package(default_visibility = ["//visibility:public"]) licenses(["notice"]) ts_library( nam...
{ "end_byte": 517, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/tests/angular_devkit/architect/node/jobs/BUILD.bazel" }
angular-cli/tests/angular_devkit/architect/node/jobs/add.ts_0_550
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import { jobs } from '@angular-devkit/architect'; // Export the job using a createJob. We use our own spec file her...
{ "end_byte": 550, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/tests/angular_devkit/architect/node/jobs/add.ts" }
angular-cli/tests/angular_devkit/schematics/tools/file-system-engine-host/null-factory.ts_0_253
/** * @license * Copyright Google LLC All Rights Reserved. * * Use 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 default function () { return () => {}; }
{ "end_byte": 253, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/tests/angular_devkit/schematics/tools/file-system-engine-host/null-factory.ts" }
angular-cli/tests/angular_devkit/schematics/tools/file-system-engine-host/BUILD.bazel_0_830
load("//tools:defaults.bzl", "ts_library") # Copyright Google Inc. All Rights Reserved. # # Use of this source code is governed by an MIT-style license that can be # found in the LICENSE file at https://angular.dev/license package(default_visibility = ["//visibility:public"]) licenses(["notice"]) ts_library( nam...
{ "end_byte": 830, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/tests/angular_devkit/schematics/tools/file-system-engine-host/BUILD.bazel" }
angular-cli/tests/angular_devkit/schematics/tools/file-system-engine-host/file-tasks/file-task.js_0_128
function default_1() { return async () => { throw new Error('task exception'); } } exports.default = default_1;
{ "end_byte": 128, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/tests/angular_devkit/schematics/tools/file-system-engine-host/file-tasks/file-task.js" }
angular-cli/tests/angular_devkit/schematics/tools/file-system-engine-host/file-tasks/factory.ts_0_531
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ // tslint:disable-next-line:no-implicit-dependencies import { SchematicContext, Tree } from '@angular-devkit/schemat...
{ "end_byte": 531, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/tests/angular_devkit/schematics/tools/file-system-engine-host/file-tasks/factory.ts" }
angular-cli/tests/angular_devkit/schematics/tools/file-system-engine-host/extra-properties/factory.ts_0_672
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ // tslint:disable-next-line:no-implicit-dependencies import { SchematicContext, Tree } from '@angular-devkit/schemat...
{ "end_byte": 672, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/tests/angular_devkit/schematics/tools/file-system-engine-host/extra-properties/factory.ts" }
angular-cli/docs/DEVELOPER.md_0_7012
# Building and Testing Angular CLI ## Installation To get started locally, follow these instructions: 1. If you haven't done it already, [make a fork of this repo](https://github.com/angular/angular-cli/fork). 1. Clone to your local computer using `git`. 1. Make sure that you have Node `v18.19` or higher installed. ...
{ "end_byte": 7012, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/docs/DEVELOPER.md" }
angular-cli/docs/README.md_0_522
# `/docs` Folder This folder is used for all documentation. It contains a number of subfolders with short descriptions here. ## `/docs/design` Design documents on GitHub, in Markdown format. The number of design documents available is limited. ## `/docs/process` Description of various caretaker and workflow proces...
{ "end_byte": 522, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/docs/README.md" }
angular-cli/docs/design/ngConfig.md_0_5496
# ngConfig - Design ## Goals Currently, a project scaffolded with the CLI has no way of specifying options and configurations affecting their projects. There are ways to affect the build (with the `angular-cli-build.js` file), but the following questions cannot be answered without actual project options: - Where in ...
{ "end_byte": 5496, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/docs/design/ngConfig.md" }
angular-cli/docs/design/build-system.md_0_6782
# Build System Angular CLI includes a first-party build system for Angular applications distributed as `@angular-devkit/build-angular`. This build system is responsible for creating a standalone single-page application (SPA) from user source files and third-party dependencies. `@angular-devkit/build-angular` itself i...
{ "end_byte": 6782, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/docs/design/build-system.md" }
angular-cli/docs/design/build-system.md_6782_15515
## Optimizations The build system contains optimizations aimed at improving the performance (for development builds) or the size of artifacts (for production builds). These are often mutually exclusive and thus we cannot just default to always using them. ### Development optimizations Development optimizations focus...
{ "end_byte": 15515, "start_byte": 6782, "url": "https://github.com/angular/angular-cli/blob/main/docs/design/build-system.md" }
angular-cli/docs/design/analytics.md_0_4366
# Usage Metrics Gathering This document list exactly what is gathered and how. Any change to analytics should most probably include a change to this document. ## Dimensions and Metrics Google Analytics Custom Dimensions are used to track system values and flag values. These dimensions are aggregated automatically o...
{ "end_byte": 4366, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/docs/design/analytics.md" }
angular-cli/docs/design/deployurl-basehref.md_0_1185
| | Deploy URL | Base HREF | | ------------------------------------------- | :--------: | :-------: | | Initial scripts (index.html) | ✅ 👍 | ✅ 👍 | | Initial stylesheets (index.html) | ✅ 👍 | ✅ 👍 | | Lazy scripts (routes/import()/...
{ "end_byte": 1185, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/docs/design/deployurl-basehref.md" }
angular-cli/docs/design/third-party-libraries.md_0_8763
# Installing third party libraries # Abstract The current `ng install` process is faulty; third parties have to add a `bundles/` directory with metadata that we expect. This document explores ways to improve on the process. # Requirements The following use cases need to be supported by `ng install`: 1. Support for...
{ "end_byte": 8763, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/docs/design/third-party-libraries.md" }
angular-cli/docs/specifications/schematic-collections-config.md_0_1280
# Schematics Collections (`schematicCollections`) The `schematicCollections` can be placed under the `cli` option in the global `.angular.json` configuration, at the root or at project level in `angular.json` . ```jsonc { "$schema": "./node_modules/@angular/cli/lib/config/schema.json", "version": 1, "cli": { ...
{ "end_byte": 1280, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/docs/specifications/schematic-collections-config.md" }
angular-cli/docs/specifications/update.md_0_9092
# Update Command `ng update` is a new command in the CLI to update one or multiple packages, its peer dependencies, and the peer dependencies that depends on it. If there are inconsistencies, for example if peer dependencies cannot be matches by a simple semver range, the tool will error out (and nothing will be comm...
{ "end_byte": 9092, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/docs/specifications/update.md" }
angular-cli/docs/specifications/update.md_9092_11241
## Use cases ### Help `ng update`, shows what updates would be applied; ```sh $ ng update We analyzed your package.json, there's some packages to update: Name Version Command to update ---------------------------------------------------------------------------- @angular/cli 1.7.0 >...
{ "end_byte": 11241, "start_byte": 9092, "url": "https://github.com/angular/angular-cli/blob/main/docs/specifications/update.md" }
angular-cli/docs/specifications/universal-gotchas.md_0_9523
# Important Considerations when Using Angular Universal ## Introduction Although the goal of the Universal project is the ability to seamlessly render an Angular application on the server, there are some inconsistencies that you should consider. First, there is the obvious discrepancy between the server and browser e...
{ "end_byte": 9523, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/docs/specifications/universal-gotchas.md" }
angular-cli/docs/specifications/schematic-prompts.md_0_5945
# Schematic Prompts Schematic prompts provide the ability to introduce user interaction into the schematic execution. The schematic runtime supports the ability to allow schematic options to be configured to display a customizable question to the user and then use the response as the value for the option. These prompt...
{ "end_byte": 5945, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/docs/specifications/schematic-prompts.md" }
angular-cli/docs/process/bazel.md_0_4128
## Yarn Workspaces The package architecture of `angular-cli` repository is originally setup using yarn [workspaces](https://yarnpkg.com/lang/en/docs/workspaces/). This means the dependencies of various `package.json` in the repository are linked and installed together. ## Bazel Since then, Bazel was introduced to ma...
{ "end_byte": 4128, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/docs/process/bazel.md" }
angular-cli/docs/process/release.md_0_7084
# Setting Up Local Repository 1. Clone the Angular-CLI repo. A local copy works just fine. 1. Create an upstream remote: ```bash $ git remote add upstream https://github.com/angular/angular-cli.git ``` # Caretaker The caretaker should triage issues, merge PR, and sheppard the release. Caretaker rotation can be fou...
{ "end_byte": 7084, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/docs/process/release.md" }
angular-cli/scripts/build.mts_0_5071
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import { spawn } from 'node:child_process'; import { COPYFILE_FICLONE } from 'node:constants'; import fs from 'node:...
{ "end_byte": 5071, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/scripts/build.mts" }
angular-cli/scripts/templates.mts_0_1700
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import lodash from 'lodash'; import * as fs from 'node:fs'; import * as path from 'node:path'; import { fileURLToPat...
{ "end_byte": 1700, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/scripts/templates.mts" }
angular-cli/scripts/circular-deps-test.conf.mjs_0_1449
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import { statSync } from 'node:fs'; import { join } from 'node:path'; import { packages } from './packages.mjs'; e...
{ "end_byte": 1449, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/scripts/circular-deps-test.conf.mjs" }
angular-cli/scripts/create.mts_0_3456
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of 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 * as child_process from 'node:child_process'; import { copyFile, readFile, ...
{ "end_byte": 3456, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/scripts/create.mts" }
angular-cli/scripts/snapshots.mts_0_5993
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import { execSync, spawnSync } from 'node:child_process'; import * as fs from 'node:fs'; import * as os from 'node:o...
{ "end_byte": 5993, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/scripts/snapshots.mts" }
angular-cli/scripts/json-help.mts_0_3328
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import { spawnSync } from 'child_process'; import { promises as fs } from 'fs'; import { fileURLToPath } from 'node:...
{ "end_byte": 3328, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/scripts/json-help.mts" }
angular-cli/scripts/validate.mts_0_1143
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import { execSync } from 'child_process'; import templates from './templates.mjs'; import validateUserAnalytics from...
{ "end_byte": 1143, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/scripts/validate.mts" }
angular-cli/scripts/README.md_0_1505
# DevKit Administrative Scripts This folder contains all the scripts that can be run using `devkit-admin`. In order to be able to use the DevKit scripts, you must first run: ```bash $ npm link ``` This will link the binaries included in this repository, which includes the `devkit-admin` binary. This document descri...
{ "end_byte": 1505, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/scripts/README.md" }
angular-cli/scripts/devkit-admin.mts_0_1284
#!/usr/bin/env node /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import colors from 'ansi-colors'; import path, { dirname } from 'node:path'; import { fileURLToP...
{ "end_byte": 1284, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/scripts/devkit-admin.mts" }
angular-cli/scripts/validate-user-analytics.mts_0_6311
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import assert from 'assert'; import glob from 'fast-glob'; import * as fs from 'fs'; import lodash from 'lodash'; im...
{ "end_byte": 6311, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/scripts/validate-user-analytics.mts" }
angular-cli/scripts/packages.mts_0_1234
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import fastGlob from 'fast-glob'; import { readFileSync } from 'node:fs'; import { dirname } from 'node:path'; expo...
{ "end_byte": 1234, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/scripts/packages.mts" }
angular-cli/scripts/build-schema.mts_0_2039
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import { spawn } from 'node:child_process'; import { rm } from 'node:fs/promises'; import { dirname, join, resolve }...
{ "end_byte": 2039, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/scripts/build-schema.mts" }
angular-cli/scripts/build-packages-dist.mts_0_6955
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ /** * Script that builds the release output of all packages which have the "release-package * Bazel tag set. The s...
{ "end_byte": 6955, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/scripts/build-packages-dist.mts" }
angular-cli/scripts/saucelabs/start-tunnel.sh_0_1646
#!/usr/bin/env bash set -x -u -e -o pipefail readonly currentDir=$(cd $(dirname $0); pwd) readonly connectVersion="sc-4.9.2-linux" readonly connectHash="2f8a3f87e1da4dc9a41bc45ec7c3a2ecdba4c72d72b7d0193f04ad66c5809104" echo "Downloading Sauce Connect" curl https://saucelabs.com/downloads/${connectVersion}.tar.gz -o...
{ "end_byte": 1646, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/scripts/saucelabs/start-tunnel.sh" }
angular-cli/scripts/saucelabs/stop-tunnel.sh_0_768
#!/usr/bin/env bash # Disable printing of any executed command because this would cause a lot # of spam due to the loop. set +x -u -e -o pipefail if [[ ! -f ${SAUCE_PID_FILE} ]]; then echo "Could not find Saucelabs tunnel PID file. Cannot stop tunnel.." exit 1 fi echo "Shutting down Sauce Connect tunnel" # The ...
{ "end_byte": 768, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/scripts/saucelabs/stop-tunnel.sh" }
angular-cli/scripts/saucelabs/wait-for-tunnel.sh_0_800
#!/usr/bin/env bash # Disable printing of any executed command because this would cause a lot # of spam due to the loop. set +x -u -e -o pipefail # Waits for Saucelabs Connect to be ready before executing any tests. counter=0 while [[ ! -f ${SAUCE_READY_FILE} ]]; do counter=$((counter + 1)) # Counter needs to b...
{ "end_byte": 800, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/scripts/saucelabs/wait-for-tunnel.sh" }
angular-cli/scripts/release-checks/dependency-ranges/index.mts_0_1651
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import { Log, ReleasePrecheckError, bold } from '@angular/ng-dev'; import semver from 'semver'; import { checkSchema...
{ "end_byte": 1651, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/scripts/release-checks/dependency-ranges/index.mts" }
angular-cli/scripts/release-checks/dependency-ranges/latest-versions-check.mts_0_1075
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import { readFile } from 'node:fs/promises'; import semver from 'semver'; export async function checkSchematicsAngu...
{ "end_byte": 1075, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/scripts/release-checks/dependency-ranges/latest-versions-check.mts" }
angular-cli/scripts/release-checks/dependency-ranges/peer-deps-check.mts_0_1985
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import semver from 'semver'; /** Path to the current directory. */ /** Describes a parsed `package.json` file. */ ...
{ "end_byte": 1985, "start_byte": 0, "url": "https://github.com/angular/angular-cli/blob/main/scripts/release-checks/dependency-ranges/peer-deps-check.mts" }