Meta tags:
description= CLI tool for Angular. Contribute to angular-robot/angular-cli development by creating an account on GitHub.;
Headings (most frequently used words):
navigation, build, mts, file, breadcrumbs, footer, menu, repository, filesexpand, tree, latest, commit, history, metadata, and, controls,
Text of the page (most frequently used words):
logger (28), const (19), from (15), and (14), github (12), string (10), targets (9), output (8), join (8), buildmode (8), the (8), file (8), angular (8), for (7), build (7), mode (7), error (7), data (7), code (7), status (6), info (6), import (6), function (6), security (5), package (5), packages (5), dist (5), await (5), release (5), dirname (5), console (5), true (5), proc (5), actions (5), cli (5), you (4), this (4), not (4), return (4), groupend (4), name (4), packagedir (4), tarpath (4), packagename (4), group (4), else (4), snapshot (4), local (4), promise (4), _exec (4), bazelcmd (4), bazel (4), resolve (4), process (4), path (4), node (4), license (4), all (4), raw (4), your (4), support (4), copilot (4), action (3), navigation (3), destdir (3), _copy (3), distroot (3), replace (3), _recursivecopy (3), bazeloutdir (3), json (3), bazelbin (3), npm_package_archive (3), argv (3), boolean (3), building (3), with (3), are (3), cmd (3), tostring (3), trim (3), cwd (3), basedir (3), __dirname (3), filename (3), existssync (3), relative (3), 163 (3), 132 (3), copy (3), blame (3), mts (3), scripts (3), main (3), history (3), more (3), quality (3), another (3), tab (3), window (3), refresh (3), session (3), reload (3), sign (3), developers (3), changelog (3), customer (3), enterprise (3), grade (3), features (3), can (2), that (2), community (2), footer (2), outputpath (2), tarpathinbin (2), tgz (2), packagejsonpath (2), npm_package (2), target (2), _build (2), let (2), _clean (2), meta (2), async (2), false (2), clean (2), execroot (2), cache (2), use (2), version (2), workspace (2), variables (2), necessary (2), querytargetscmd (2), reject (2), exit (2), message (2), capturestdout (2), spawn (2), new (2), recursive (2), exist (2), copyfile_ficlone (2), already (2), out (2), source (2), lines (2), loc (2), breadcrumbs (2), latest (2), insights (2), repository (2), robot (2), signed (2), universe (2), training (2), integrations (2), stories (2), center (2), documentation (2), learn (2), business (2), fixes (2), products (2), secret (2), perform, time, share, personal, information, manage, cookies, contact, docs, privacy, terms, 2026, inc, push, parse, readfilesync, utf8, moving, tars, bin, globalthis, export, default, config, resetting, previously, built, different, rebuilt, only, change, could, result, accidental, such, npm, populated, because, using, rely, run, ensure, split, query, label, attr, finding, command, failed, stderr, stdout, shell, stdio, pipe, maxretries, force, promises, removing, cleaning, readdirsync, foreach, statsync, isdirectory, does, copyfilesync, throw, destination, exists, mkdirsync, create, parent, folder, type, env, pnpm, silent, constants, child_process, found, https, dev, governed, mit, style, copyright, google, llc, rights, reserved, 162, 161, 160, 159, 158, 157, 156, 155, 154, 153, 152, 151, 150, 149, 148, 147, 146, 145, 144, 143, 142, 141, 140, 139, 138, 137, 136, 135, 134, 133, 131, 130, 129, 128, 127, 126, 125, 124, 123, 122, 121, 120, 119, 118, 117, 116, 115, 114, 113, 112, 111, 110, 109, 108, 107, 106, 105, 104, 103, 102, 101, 100, edit, open, symbols, panel, download, metadata, controls, top, commit, expand, tree, files, items, pull, requests, dismiss, alert, switched, accounts, appearance, settings, search, pricing, event, talks, workshops, what, next, partners, about, company, forum, events, webinars, blog, resource, connect, resources, premium, advanced, add, ons, trust, why, evaluate, see, industries, government, manufacturing, financial, services, healthcare, industry, nonprofits, startups, team, enterprises, stage, businesses, improvements, across, one, place, developer, articles, sponsors, trending, repos, explore, customize, certifications, scanning, leak, prevention, protection, vulnerability, detection, remediation, secure, cloud, development, environments, codespaces, analysis, enforcement, automation, ship, coding, agent, tasks, projects, automated, work, hosting, review, collaboration, platform, menu, skip, content,
Text of the page (random words):
angular cli scripts build mts at main angular robot angular cli github skip to content navigation menu sign in products platform github repository hosting code review and collaboration copilot ai coding agent for tasks projects and automated work build ship actions ci cd and automation code quality quality analysis fixes and enforcement codespaces cloud development environments secure code security vulnerability detection and remediation secret protection secret scanning and leak prevention all features developers learn documentation training certifications build build with copilot customize copilot integrations explore trending repos github sponsors developer articles changelog changelog your source for the latest features improvements and fixes across github products all in one place businesses by stage enterprises team startups nonprofits by industry healthcare financial services manufacturing government see all industries evaluate github why github customer stories business insights trust center add ons github advanced security enterprise grade code security copilot for business enterprise grade ai features premium support enterprise grade 24 7 support resources learn connect documentation resource center blog events webinars community forum customer stories integrations support customer support training github status company about partners changelog github universe github universe the event for developers by developers talks workshops and what s next for github pricing search sign in sign up appearance settings you signed in with another tab or window reload to refresh your session you signed out in another tab or window reload to refresh your session you switched accounts on another tab or window reload to refresh your session dismiss alert message angular robot angular cli repository navigation code pull requests actions security and quality insights more items files expand file tree main breadcrumbs angular cli scripts build mts copy path blame more file actions blame more file actions latest commit history history history 163 lines 132 loc 4 88 kb main breadcrumbs angular cli scripts build mts copy path top file metadata and controls code blame 163 lines 132 loc 4 88 kb raw copy raw file download raw file open symbols panel edit and raw actions 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 license copyright google llc all rights reserved use of 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 fs import dirname join relative resolve from node path const __dirname import meta dirname const basedir resolve __dirname const bazelcmd process env bazel pnpm silent bazel const distroot join basedir dist type buildmode local snapshot release function _copy from string to string create parent folder if necessary if fs existssync dirname to fs mkdirsync dirname to recursive true error out if destination already exists if fs existssync to throw new error path to already exist from relative process cwd from to relative process cwd to fs copyfilesync from to copyfile_ficlone function _recursivecopy from string to string logger console if fs existssync from logger error file from does not exist process exit 4 if fs statsync from isdirectory fs readdirsync from foreach filename _recursivecopy join from filename join to filename logger else _copy from to function _clean logger console logger info cleaning logger info removing dist return fs promises rm join __dirname dist force true recursive true maxretries 3 function _exec cmd string capturestdout boolean logger console promise string return new promise resolve reject const proc spawn cmd stdio pipe shell true cwd basedir let output proc stdout on data data logger info data tostring trim if capturestdout output data tostring trim proc stderr on data data logger info data tostring trim proc on error error logger error error message proc on exit status if status 0 reject command failed cmd else resolve output async function _build logger console mode buildmode promise string logger group building mode mode logger group finding targets const querytargetscmd bazelcmd query output label attr name npm_package_archive packages const targets await _exec querytargetscmd true logger split r n logger groupend if we are in release mode run bazel clean to ensure the execroot and action cache are not populated this is necessary because targets using npm_package rely on workspace status variables for the package version such npm package targets are not rebuilt if only the workspace status variables change this could result in accidental re use of previously built package output with a different version in the package json if mode release logger info building in release mode resetting the bazel execroot and action cache await _exec bazelcmd clean false logger logger group building targets await _exec bazelcmd build config mode targets join false logger logger groupend logger groupend return targets export default async function argv local boolean snapshot boolean promise name string outputpath string tarpath string const logger globalthis console const bazelbin join import meta dirname dist bin await _clean logger let buildmode buildmode if argv local buildmode local else if argv snapshot buildmode snapshot else buildmode release const targets await _build logger buildmode const output logger group moving packages and tars to dist for const target of targets const packagedir target replace packages npm_package_archive 1 const bazeloutdir join bazelbin packages packagedir npm_package const tarpathinbin bazelbin packages packagedir npm_package_archive tgz const packagejsonpath bazeloutdir package json const packagename json parse fs readfilesync packagejsonpath utf8 name const destdir distroot packagename logger info packagename _recursivecopy bazeloutdir destdir logger const tarpath distroot packagename replace _ replace _ tgz _copy tarpathinbin tarpath output push name packagedir outputpath destdir tarpath logger groupend return output footer 2026 github inc footer navigation terms privacy security status community docs contact manage cookies do not share my personal information you can t perform that action at this time
|