Skip to content

Commit 27859c4

Browse files
author
John Doe
committed
refactor: fix build
1 parent 521ef30 commit 27859c4

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

packages/nx-plugin/src/executors/cli/executor.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,8 @@ export default async function runAutorunExecutor(
1212
terminalAndExecutorOptions: AutorunCommandExecutorOptions,
1313
{ cwd }: ExecutorContext,
1414
): Promise<ExecutorOutput> {
15-
const { logger, stringifyError, formatCommand } = await import(
16-
'@code-pushup/utils'
17-
);
18-
const { objectToCliArgs } = await import('@code-pushup/utils');
15+
const { logger, stringifyError, objectToCliArgs, formatCommand } =
16+
await import('@code-pushup/utils');
1917

2018
const {
2119
dryRun,

packages/nx-plugin/src/plugin/target/configuration-target.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export async function createConfigurationTarget(options?: {
1111
...(projectName ? { project: projectName } : {}),
1212
});
1313
const argsString = args.length > 0 ? args.join(' ') : '';
14-
const baseCommand = `nx g ${bin}:configuration`;
14+
const baseCommand = `nx g ${PACKAGE_NAME}:configuration`;
1515
return {
1616
command: `nx g ${PACKAGE_NAME}:configuration${args.length > 0 ? ` ${args.join(' ')}` : ''}`,
1717
};

packages/utils/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ export {
8787
} from './lib/guards.js';
8888
export { interpolate } from './lib/interpolate.js';
8989
export { logMultipleResults } from './lib/log-results.js';
90-
export { Logger, logger } from './lib/logger.js';
90+
export { Logger, logger, formatCommand } from './lib/logger.js';
9191
export { mergeConfigs } from './lib/merge-configs.js';
9292
export {
9393
addIndex,

0 commit comments

Comments
 (0)