@@ -10,9 +10,8 @@ import { logging, tags } from '@angular-devkit/core';
10
10
import { Rule , SchematicContext , SchematicsException , Tree } from '@angular-devkit/schematics' ;
11
11
import * as npa from 'npm-package-arg' ;
12
12
import * as semver from 'semver' ;
13
- import { getNpmPackageJson } from './npm' ;
14
- import { NpmRepositoryPackageJson } from './npm-package-json' ;
15
- import { Dependency , JsonSchemaForNpmPackageJsonFiles } from './package-json' ;
13
+ import { Dependency , JsonSchemaForNpmPackageJsonFiles } from '../../../../utilities/package-json' ;
14
+ import { NpmRepositoryPackageJson , getNpmPackageJson } from '../../../../utilities/package-metadata' ;
16
15
import { Schema as UpdateSchema } from './schema' ;
17
16
18
17
type VersionRange = string & { __VERSION_RANGE : void } ;
@@ -818,7 +817,7 @@ export default function (options: UpdateSchema): Rule {
818
817
const allPackageMetadata = await Promise . all (
819
818
Array . from ( npmDeps . keys ( ) ) . map ( ( depName ) =>
820
819
getNpmPackageJson ( depName , logger , {
821
- registryUrl : options . registry ,
820
+ registry : options . registry ,
822
821
usingYarn,
823
822
verbose : options . verbose ,
824
823
} ) ,
0 commit comments