Skip to content
This repository has been archived by the owner on Jan 18, 2024. It is now read-only.

Commit

Permalink
chore: migrate to cli-table3 (#2024)
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesgeorge007 authored Apr 28, 2020
1 parent 09e0ff5 commit 04bca5f
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 19 deletions.
3 changes: 1 addition & 2 deletions packages/expo-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@
"@babel/core": "^7.9.0",
"@expo/babel-preset-cli": "0.2.10",
"@types/ansi-regex": "^4.0.0",
"@types/cli-table": "^0.3.0",
"@types/dateformat": "^3.0.0",
"@types/inflection": "^1.5.28",
"@types/inquirer": "6.0.3",
Expand Down Expand Up @@ -94,7 +93,7 @@
"base32.js": "0.1.0",
"boxen": "4.1.0",
"chalk": "^4.0.0",
"cli-table": "0.3.1",
"cli-table3": "^0.6.0",
"commander": "2.17.1",
"dateformat": "3.0.3",
"delay-async": "1.2.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/expo-cli/src/commands/client/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Android, Simulator, UserManager, Versions } from '@expo/xdl';
import chalk from 'chalk';
import CliTable from 'cli-table';
import CliTable from 'cli-table3';
import fs from 'fs-extra';
import _ from 'lodash';
import ora from 'ora';
Expand Down
2 changes: 1 addition & 1 deletion packages/expo-cli/src/commands/utils/cli-table.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import CliTable from 'cli-table';
import CliTable from 'cli-table3';
import { JSONObject } from '@expo/json-file';

export function printTableJsonArray(
Expand Down
23 changes: 8 additions & 15 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3073,11 +3073,6 @@
dependencies:
"@types/node" "*"

"@types/cli-table@^0.3.0":
version "0.3.0"
resolved "https://registry.yarnpkg.com/@types/cli-table/-/cli-table-0.3.0.tgz#f1857156bf5fd115c6a2db260ba0be1f8fc5671c"
integrity sha512-QnZUISJJXyhyD6L1e5QwXDV/A5i2W1/gl6D6YMc8u0ncPepbv/B4w3S+izVvtAg60m6h+JP09+Y/0zF2mojlFQ==

"@types/color-name@^1.1.1":
version "1.1.1"
resolved "https://registry.yarnpkg.com/@types/color-name/-/color-name-1.1.1.tgz#1c1261bbeaa10a8055bbc5d8ab84b7b2afc846a0"
Expand Down Expand Up @@ -6364,12 +6359,15 @@ cli-spinners@^2.0.0:
resolved "https://registry.yarnpkg.com/cli-spinners/-/cli-spinners-2.2.0.tgz#e8b988d9206c692302d8ee834e7a85c0144d8f77"
integrity sha512-tgU3fKwzYjiLEQgPMD9Jt+JjHVL9kW93FiIMX/l7rivvOD4/LL0Mf7gda3+4U2KJBloybwgj5KEoQgGRioMiKQ==

cli-table@0.3.1:
version "0.3.1"
resolved "https://registry.yarnpkg.com/cli-table/-/cli-table-0.3.1.tgz#f53b05266a8b1a0b934b3d0821e6e2dc5914ae23"
integrity sha1-9TsFJmqLGguTSz0IIebi3FkUriM=
cli-table3@^0.6.0:
version "0.6.0"
resolved "https://registry.yarnpkg.com/cli-table3/-/cli-table3-0.6.0.tgz#b7b1bc65ca8e7b5cef9124e13dc2b21e2ce4faee"
integrity sha512-gnB85c3MGC7Nm9I/FkiasNBOKjOiO1RNuXXarQms37q4QMpWdlbBgD/VnOStA2faG1dpXMv31RFApjX1/QdgWQ==
dependencies:
colors "1.0.3"
object-assign "^4.1.0"
string-width "^4.2.0"
optionalDependencies:
colors "^1.1.2"

cli-truncate@^0.2.1:
version "0.2.1"
Expand Down Expand Up @@ -6623,11 +6621,6 @@ colormin@^1.0.5:
css-color-names "0.0.4"
has "^1.0.1"

colors@1.0.3:
version "1.0.3"
resolved "https://registry.yarnpkg.com/colors/-/colors-1.0.3.tgz#0433f44d809680fdeb60ed260f1b0c262e82a40b"
integrity sha1-BDP0TYCWgP3rYO0mDxsMJi6CpAs=

colors@1.1.2, colors@~1.1.2:
version "1.1.2"
resolved "https://registry.yarnpkg.com/colors/-/colors-1.1.2.tgz#168a4701756b6a7f51a12ce0c97bfa28c084ed63"
Expand Down

0 comments on commit 04bca5f

Please sign in to comment.