mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
[6.x][kbn-pm] Update ora
typings. Remove redundant types in commands. (#17099)
This commit is contained in:
parent
1429347c97
commit
c750011c2e
6 changed files with 7 additions and 18 deletions
1
packages/kbn-pm/dist/index.js
vendored
1
packages/kbn-pm/dist/index.js
vendored
|
@ -33252,7 +33252,6 @@ const CleanCommand = exports.CleanCommand = {
|
|||
console.log(_chalk2.default.bold.red('\n\nDeleting directories:\n'));
|
||||
for (const dir of directoriesToDelete) {
|
||||
const deleting = (0, _del2.default)(dir, { force: true });
|
||||
// Remove once https://github.com/DefinitelyTyped/DefinitelyTyped/pull/23699 is merged.
|
||||
_ora2.default.promise(deleting, (0, _path.relative)(rootPath, dir));
|
||||
yield deleting;
|
||||
}
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
"@types/log-symbols": "^2.0.0",
|
||||
"@types/mkdirp": "^0.5.2",
|
||||
"@types/node": "^8.9.4",
|
||||
"@types/ora": "^1.3.1",
|
||||
"@types/ora": "^1.3.2",
|
||||
"@types/read-pkg": "^3.0.0",
|
||||
"@types/strip-ansi": "^3.0.0",
|
||||
"@types/strong-log-transformer": "^1.0.0",
|
||||
|
|
|
@ -1,10 +1,6 @@
|
|||
import chalk from 'chalk';
|
||||
|
||||
import {
|
||||
ProjectGraph,
|
||||
ProjectMap,
|
||||
topologicallyBatchProjects,
|
||||
} from '../utils/projects';
|
||||
import { topologicallyBatchProjects } from '../utils/projects';
|
||||
import { linkProjectExecutables } from '../utils/link_project_executables';
|
||||
import { parallelizeBatches } from '../utils/parallelize';
|
||||
import { Command } from './';
|
||||
|
|
|
@ -4,7 +4,6 @@ import { relative } from 'path';
|
|||
import ora from 'ora';
|
||||
|
||||
import { isDirectory } from '../utils/fs';
|
||||
import { ProjectGraph, ProjectMap } from '../utils/projects';
|
||||
import { Command } from './';
|
||||
|
||||
export const CleanCommand: Command = {
|
||||
|
@ -31,8 +30,7 @@ export const CleanCommand: Command = {
|
|||
|
||||
for (const dir of directoriesToDelete) {
|
||||
const deleting = del(dir, { force: true });
|
||||
// Remove once https://github.com/DefinitelyTyped/DefinitelyTyped/pull/23699 is merged.
|
||||
(ora as any).promise(deleting, relative(rootPath, dir));
|
||||
ora.promise(deleting, relative(rootPath, dir));
|
||||
await deleting;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,10 +1,6 @@
|
|||
import chalk from 'chalk';
|
||||
|
||||
import {
|
||||
ProjectGraph,
|
||||
ProjectMap,
|
||||
topologicallyBatchProjects,
|
||||
} from '../utils/projects';
|
||||
import { topologicallyBatchProjects } from '../utils/projects';
|
||||
import { parallelizeBatches } from '../utils/parallelize';
|
||||
import { Command } from './';
|
||||
|
||||
|
|
|
@ -110,9 +110,9 @@
|
|||
version "2.4.0"
|
||||
resolved "https://registry.yarnpkg.com/@types/normalize-package-data/-/normalize-package-data-2.4.0.tgz#e486d0d97396d79beedd0a6e33f4534ff6b4973e"
|
||||
|
||||
"@types/ora@^1.3.1":
|
||||
version "1.3.1"
|
||||
resolved "https://registry.yarnpkg.com/@types/ora/-/ora-1.3.1.tgz#53db0e10b7ea2f014548e87ea81c755986502e52"
|
||||
"@types/ora@^1.3.2":
|
||||
version "1.3.2"
|
||||
resolved "https://registry.yarnpkg.com/@types/ora/-/ora-1.3.2.tgz#ded29aeec023deaa1e56b99cb51234954f35a7cd"
|
||||
dependencies:
|
||||
"@types/node" "*"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue