diff --git a/packages/nx/src/migrations/update-17-0-0/rm-default-collection-npm-scope.ts b/packages/nx/src/migrations/update-17-0-0/rm-default-collection-npm-scope.ts index b4dbfe8a8c628..e6e946dec1f97 100644 --- a/packages/nx/src/migrations/update-17-0-0/rm-default-collection-npm-scope.ts +++ b/packages/nx/src/migrations/update-17-0-0/rm-default-collection-npm-scope.ts @@ -2,7 +2,7 @@ import { formatChangedFilesWithPrettierIfAvailable } from '../../generators/inte import { Tree } from '../../generators/tree'; import { readNxJson, updateNxJson } from '../../generators/utils/nx-json'; import { readJson } from '../../generators/utils/json'; -import { logger } from '../../utils/logger'; +import { output } from '../../utils/output'; import { NxJsonConfiguration } from '../../config/nx-json'; import { joinPathFragments } from '../../utils/path'; @@ -54,7 +54,7 @@ function warnNpmScopeHasChanged( const packageJsonName = readJson(tree, 'package.json').name; if (newScope) { - logger.warn({ + output.warn({ title: 'npmScope has been removed from nx.json', bodyLines: [ 'This will now be read from package.json', @@ -69,7 +69,7 @@ function warnNpmScopeHasChanged( }); } else { // There is no scope in package.json - logger.warn({ + output.warn({ title: 'npmScope has been removed from nx.json', bodyLines: [ 'This will now be read from package.json',