mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-24 08:06:17 +08:00
The `@schematics/angular` package now contains a defined set of package `exports` including a `utility` subpath export. A wildcard export is also temporarily defined to support transition away from existing deep-import usage. The `@schematics/angular/utility` subpath export will contain supported utility methods used by the first-party schematics contained within the `@schematics/angular` package and can be considered public API that will follow SemVer stability constraints. The first group of utilities introduced in this change are used to modify the `angular.json` workspace file within the schematics and include the `updateWorkspace` rule and `readWorkspace`/`writeWorkspace` helpers.
22 lines
579 B
TypeScript
22 lines
579 B
TypeScript
/**
|
|
* @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
|
|
*/
|
|
|
|
// Workspace related rules and types
|
|
export {
|
|
ProjectDefinition,
|
|
TargetDefinition,
|
|
WorkspaceDefinition,
|
|
getWorkspace as readWorkspace,
|
|
updateWorkspace,
|
|
writeWorkspace,
|
|
} from './workspace';
|
|
export { Builders as AngularBuilder } from './workspace-models';
|
|
|
|
// Package dependency related rules and types
|
|
export { DependencyType, addDependency } from './dependency';
|