[kbn/dev-utils] expose public tooling_log module (#68868)

Co-authored-by: spalger <spalger@users.noreply.github.com>
This commit is contained in:
Spencer 2020-06-12 18:47:29 -07:00 committed by GitHub
parent 85ebaed37c
commit dc99b4fbef
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 12238 additions and 35620 deletions

View file

@ -0,0 +1,3 @@
{
"main": "../target/tooling_log"
}

File diff suppressed because one or more lines are too long

View file

@ -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';

View file

@ -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';

View file

@ -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';

View file

@ -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;