1 | import { Rule, Tree, SchematicContext } from '@angular-devkit/schematics';
|
2 | export interface PackageRenameMapping {
|
3 | [packageName: string]: string | [newPackageName: string, version: string];
|
4 | }
|
5 | /**
|
6 | * Updates all the imports in the workspace, and adjust the package.json appropriately.
|
7 | *
|
8 | * @param packageNameMapping The packageNameMapping provided to the schematic
|
9 | */
|
10 | export declare function renameNpmPackages(packageRenameMapping: PackageRenameMapping): (tree: Tree, context: SchematicContext) => Rule;
|