Skip to content

Commit

Permalink
[7.x] [kbn/dev-utils] expose public tooling_log module (#68868) (#69101)
Browse files Browse the repository at this point in the history
Co-authored-by: spalger <[email protected]>
  • Loading branch information
Spencer and spalger authored Jun 13, 2020
1 parent 5495552 commit 855f854
Show file tree
Hide file tree
Showing 6 changed files with 46,214 additions and 69,603 deletions.
3 changes: 3 additions & 0 deletions packages/kbn-dev-utils/tooling_log/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"main": "../target/tooling_log"
}
115,806 changes: 46,207 additions & 69,599 deletions packages/kbn-pm/dist/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/kbn-pm/src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
import dedent from 'dedent';
import getopts from 'getopts';
import { resolve } from 'path';
import { pickLevelFromFlags } from '@kbn/dev-utils';
import { pickLevelFromFlags } from '@kbn/dev-utils/tooling_log';

import { commands } from './commands';
import { runCommand } from './run';
Expand Down
2 changes: 1 addition & 1 deletion packages/kbn-pm/src/commands/bootstrap.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jest.mock('../utils/link_project_executables');

import { resolve } from 'path';

import { ToolingLogCollectingWriter } from '@kbn/dev-utils';
import { ToolingLogCollectingWriter } from '@kbn/dev-utils/tooling_log';

import { absolutePathSnapshotSerializer, stripAnsiSnapshotSerializer } from '../test_helpers';
import { linkProjectExecutables } from '../utils/link_project_executables';
Expand Down
2 changes: 1 addition & 1 deletion packages/kbn-pm/src/utils/link_project_executables.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jest.mock('./fs');

import { resolve } from 'path';

import { ToolingLogCollectingWriter } from '@kbn/dev-utils';
import { ToolingLogCollectingWriter } from '@kbn/dev-utils/tooling_log';

import { absolutePathSnapshotSerializer, stripAnsiSnapshotSerializer } from '../test_helpers';
import { linkProjectExecutables } from './link_project_executables';
Expand Down
2 changes: 1 addition & 1 deletion packages/kbn-pm/src/utils/log.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import {
LogLevel,
parseLogLevel,
ParsedLogLevel,
} from '@kbn/dev-utils';
} from '@kbn/dev-utils/tooling_log';

class Log extends ToolingLog {
private logLevel!: ParsedLogLevel;
Expand Down

0 comments on commit 855f854

Please sign in to comment.