Skip to content

Commit 41b7c90

Browse files
author
Brent Schmidt
committed
fix(@angular-devkit/schematics): Export 'rename' rule
- Export the 'rename' rule. - The other rules in this directory are exported, so I assumed this one should be exported as well.
1 parent 091ff40 commit 41b7c90

File tree

2 files changed

+4
-0
lines changed
  • goldens/public-api/angular_devkit/schematics
  • packages/angular_devkit/schematics/src

2 files changed

+4
-0
lines changed

goldens/public-api/angular_devkit/schematics/index.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -698,6 +698,9 @@ export interface RandomOptions {
698698
root?: string;
699699
}
700700

701+
// @public (undocumented)
702+
export function rename(match: FilePredicate<boolean>, to: FilePredicate<string>): Rule;
703+
701704
// @public (undocumented)
702705
export interface RenameFileAction extends ActionBase {
703706
// (undocumented)

packages/angular_devkit/schematics/src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ export * from './rules/base';
2323
export * from './rules/call';
2424
export * from './rules/move';
2525
export * from './rules/random';
26+
export * from './rules/rename';
2627
export * from './rules/schematic';
2728
export * from './rules/template';
2829
export * from './rules/url';

0 commit comments

Comments
 (0)