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, readme, md, file, breadcrumbs, footer, core, exception, json, logger, utils, virtual, fs, workspaces, menu, repository, filesexpand, tree, latest, commit, history, metadata, and, controls, schema, usage, example, schemavalidatorresult, schemavalidator, schemaformatter, schemaregistry, coreschemaregistry,
Text of the page (most frequently used words):
the (22), string (20), and (19), github (13), export (13), #angular (12), workspace (11), for (11), path (9), host (8), interface (8), code (7), file (7), workspaces (6), build (6), core (6), workspacehost (6), boolean (6), promise (6), format (6), cli (6), security (5), function (5), provides (5), undefined (5), record (5), readonly (5), support (5), schemaformatter (5), actions (5), you (4), const (4), devkit (4), from (4), api (4), data (4), main (4), jsonvalue (4), with (4), more (4), schemaregistry (4), raw (4), your (4), copilot (4), this (3), not (3), navigation (3), demonstrate (3), writeworkspace (3), buildtarget (3), error (3), new (3), project (3), projects (3), readworkspace (3), add (3), void (3), underlying (3), workspaceformat (3), workspacedefinition (3), json (3), object (3), observable (3), schemavalidator (3), schemavalidatorresult (3), copy (3), blame (3), readme (3), angular_devkit (3), packages (3), history (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), all (3), that (2), community (2), status (2), footer (2), await (2), options (2), target (2), does (2), exist (2), throw (2), get (2), targets (2), app (2), nodejssynchost (2), createworkspacehost (2), async (2), import (2), usage (2), following (2), will (2), methods (2), functions (2), virtual (2), abstraction (2), reading (2), extensions (2), objects (2), added (2), values (2), formats (2), storage (2), coreschemaregistry (2), constructor (2), name (2), schema (2), any (2), 167 (2), lines (2), 127 (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), can, perform, action, time, share, personal, information, manage, cookies, contact, docs, privacy, terms, 2026, inc, true, optimization, directory, node, show, how, option, property, application, example, virtualfs, isfile, isdirectory, writefile, readfile, abstracts, access, read, write, analyze, paths, utility, provided, create, instance, filesystem, enum, asynchronous, has, two, facilitate, creation, modifying, builder, configurations, targetdefinition, sourceroot, prefix, root, targetdefinitioncollection, projectdefinition, projectdefinitioncollection, defined, via, model, definition, collection, are, specialized, javascript, additional, method, simplify, addition, provide, localized, checking, newly, map, namespace, interacting, both, writing, currently, only, supported, based, used, internal, change, tracking, which, enables, fine, grained, updates, allows, retention, existing, formatting, comments, utils, logger, class, implements, implementation, using, accepts, containing, automatically, https, com, epoberezkin, ajv, compile, addformat, formatter, validate, success, errors, exception, shared, utilities, edit, outline, download, preview, metadata, controls, top, commit, expand, tree, files, items, pull, requests, message, dismiss, alert, switched, accounts, out, appearance, settings, search, pricing, event, talks, workshops, what, next, partners, about, company, forum, events, webinars, blog, resource, connect, resources, premium, advanced, ons, trust, why, evaluate, see, industries, government, manufacturing, financial, services, healthcare, industry, nonprofits, startups, team, enterprises, stage, businesses, source, 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, automated, work, hosting, review, collaboration, platform, menu, skip, content,
Text of the page (random words):
angular cli packages angular_devkit core readme md 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 packages angular_devkit core readme md copy path blame more file actions blame more file actions latest commit history history history 167 lines 127 loc 4 2 kb main breadcrumbs angular cli packages angular_devkit core readme md copy path top file metadata and controls preview code blame 167 lines 127 loc 4 2 kb raw copy raw file download raw file outline edit and raw actions core shared utilities for angular devkit exception json schema schemavalidatorresult export interface schemavalidatorresult success boolean errors string schemavalidator export interface schemavalidator data any observable schemavalidatorresult schemaformatter export interface schemaformatter readonly async boolean validate data any boolean observable boolean schemaregistry export interface schemaregistry compile schema object observable schemavalidator addformat name string formatter schemaformatter void coreschemaregistry schemaregistry implementation using https github com epoberezkin ajv constructor accepts object containing schemaformatter that will be added automatically export class coreschemaregistry implements schemaregistry constructor formats name string schemaformatter logger utils virtual fs workspaces the workspaces namespace provides an api for interacting with the workspace file formats it provides an abstraction of the underlying storage format of the workspace and provides support for both reading and writing currently the only supported format is the json based format used by the angular cli for this format the api provides internal change tracking of values which enables fine grained updates to the underlying storage of the workspace this allows for the retention of existing formatting and comments a workspace is defined via the following object model definition collection objects are specialized javascript map objects with an additional add method to simplify addition and provide more localized error checking of the newly added values export interface workspacedefinition readonly extensions record string jsonvalue undefined readonly projects projectdefinitioncollection export interface projectdefinition readonly extensions record string jsonvalue undefined readonly targets targetdefinitioncollection root string prefix string sourceroot string export interface targetdefinition options record string jsonvalue undefined configurations record string record string jsonvalue undefined undefined builder string the api is asynchronous and has two main functions to facilitate reading creation and modifying a workspace readworkspace and writeworkspace export enum workspaceformat json export function readworkspace path string host workspacehost format workspaceformat promise workspace workspacedefinition export function writeworkspace workspace workspacedefinition host workspacehost path string format workspaceformat promise void a workspacehost abstracts the underlying data access methods from the functions it provides methods to read write and analyze paths a utility function is provided to create an instance of a workspacehost from the angular devkit s virtual filesystem host abstraction export interface workspacehost readfile path string promise string writefile path string data string promise void isdirectory path string promise boolean isfile path string promise boolean export function createworkspacehost host virtualfs host workspacehost usage example to demonstrate the usage of the api the following code will show how to add a option property to a build target for an application import nodejssynchost from angular devkit core node import workspaces from angular devkit core async function demonstrate const host workspaces createworkspacehost new nodejssynchost const workspace await workspaces readworkspace path to workspace directory host const project workspace projects get my app if project throw new error my app does not exist const buildtarget project targets get build if buildtarget throw new error build target does not exist buildtarget options optimization true await workspaces writeworkspace workspace host demonstrate 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
|