Type object
File match angular.json
Schema URL https://catalog.lintel.tools/schemas/schemastore/angular-json/latest.json
Source https://raw.githubusercontent.com/angular/angular-cli/master/packages/angular/cli/lib/config/workspace-schema.json

Validate with Lintel

npx @lintel/lintel check
Type: object

Properties

version integer required

File format version

min=1
$schema string
cli object
5 nested properties
schematicCollections string[]

The list of schematic collections to use.

packageManager string

Specify which package manager tool to use.

Values: "npm" "yarn" "pnpm" "bun"
warnings object

Control CLI specific console warnings

1 nested properties
versionMismatch boolean

Show a warning when the global version is newer than the local one.

analytics boolean | string

Share pseudonymous usage data with the Angular Team at Google.

cache object

Control disk cache.

3 nested properties
environment string

Configure in which environment disk cache is enabled.

Values: "local" "ci" "all"
enabled boolean

Configure whether disk caching is enabled.

path string

Cache base path.

schematics object
14 nested properties
@schematics/angular:application Latest Schema
@schematics/angular:class Latest Schema
@schematics/angular:component Latest Schema
@schematics/angular:directive Latest Schema
@schematics/angular:enum Latest Schema
@schematics/angular:guard Latest Schema
@schematics/angular:interceptor Latest Schema
@schematics/angular:interface Latest Schema
@schematics/angular:library Latest Schema
@schematics/angular:pipe Latest Schema
@schematics/angular:ng-new Latest Schema
@schematics/angular:resolver Latest Schema
@schematics/angular:service Latest Schema
@schematics/angular:web-worker Latest Schema
newProjectRoot string

Path where new projects will be created.

projects object

Definitions

cliOptions object
schematicCollections string[]

The list of schematic collections to use.

packageManager string

Specify which package manager tool to use.

Values: "npm" "yarn" "pnpm" "bun"
warnings object

Control CLI specific console warnings

1 nested properties
versionMismatch boolean

Show a warning when the global version is newer than the local one.

analytics boolean | string

Share pseudonymous usage data with the Angular Team at Google.

cache object

Control disk cache.

3 nested properties
environment string

Configure in which environment disk cache is enabled.

Values: "local" "ci" "all"
enabled boolean

Configure whether disk caching is enabled.

path string

Cache base path.

cliGlobalOptions object
schematicCollections string[]

The list of schematic collections to use.

packageManager string

Specify which package manager tool to use.

Values: "npm" "yarn" "pnpm" "bun"
warnings object

Control CLI specific console warnings

1 nested properties
versionMismatch boolean

Show a warning when the global version is newer than the local one.

analytics boolean | string

Share pseudonymous usage data with the Angular Team at Google.

completion object

Angular CLI completion settings.

1 nested properties
prompted boolean

Whether the user has been prompted to add completion command prompt.

schematicOptions object
@schematics/angular:application Latest Schema
@schematics/angular:class Latest Schema
@schematics/angular:component Latest Schema
@schematics/angular:directive Latest Schema
@schematics/angular:enum Latest Schema
@schematics/angular:guard Latest Schema
@schematics/angular:interceptor Latest Schema
@schematics/angular:interface Latest Schema
@schematics/angular:library Latest Schema
@schematics/angular:pipe Latest Schema
@schematics/angular:ng-new Latest Schema
@schematics/angular:resolver Latest Schema
@schematics/angular:service Latest Schema
@schematics/angular:web-worker Latest Schema
fileVersion integer

File format version

project object
root string required

Root of the project files.

projectType string required

Project type.

Values: "application" "library"
cli
schematics object
14 nested properties
@schematics/angular:application Latest Schema
@schematics/angular:class Latest Schema
@schematics/angular:component Latest Schema
@schematics/angular:directive Latest Schema
@schematics/angular:enum Latest Schema
@schematics/angular:guard Latest Schema
@schematics/angular:interceptor Latest Schema
@schematics/angular:interface Latest Schema
@schematics/angular:library Latest Schema
@schematics/angular:pipe Latest Schema
@schematics/angular:ng-new Latest Schema
@schematics/angular:resolver Latest Schema
@schematics/angular:service Latest Schema
@schematics/angular:web-worker Latest Schema
prefix string

The prefix to apply to generated selectors.

format=html-selector
i18n object

Project i18n options

2 nested properties
sourceLocale string | object
locales object
sourceRoot string

The root of the source files, assets and index.html file structure.

global object
version integer required

File format version

min=1
$schema string
cli object
5 nested properties
schematicCollections string[]

The list of schematic collections to use.

packageManager string

Specify which package manager tool to use.

Values: "npm" "yarn" "pnpm" "bun"
warnings object

Control CLI specific console warnings

1 nested properties
versionMismatch boolean

Show a warning when the global version is newer than the local one.

analytics boolean | string

Share pseudonymous usage data with the Angular Team at Google.

completion object

Angular CLI completion settings.

1 nested properties
prompted boolean

Whether the user has been prompted to add completion command prompt.

schematics object
14 nested properties
@schematics/angular:application Latest Schema
@schematics/angular:class Latest Schema
@schematics/angular:component Latest Schema
@schematics/angular:directive Latest Schema
@schematics/angular:enum Latest Schema
@schematics/angular:guard Latest Schema
@schematics/angular:interceptor Latest Schema
@schematics/angular:interface Latest Schema
@schematics/angular:library Latest Schema
@schematics/angular:pipe Latest Schema
@schematics/angular:ng-new Latest Schema
@schematics/angular:resolver Latest Schema
@schematics/angular:service Latest Schema
@schematics/angular:web-worker Latest Schema