Skip to content

Commit

Permalink
[kbn/dev-utils] expose public tooling_log module (#68868)
Browse files Browse the repository at this point in the history
Co-authored-by: spalger <spalger@users.noreply.github.com>
  • Loading branch information
Spencer and spalger committed Jun 13, 2020
1 parent 85ebaed commit dc99b4f
Show file tree
Hide file tree
Showing 6 changed files with 46,621 additions and 70,003 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"
}
116,613 changes: 46,614 additions & 69,999 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 dc99b4f

Please sign in to comment.