Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CRWA]: Upgrade from listr to listr2 #6447

Merged
merged 5 commits into from Oct 3, 2022
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/create-redwood-app/package.json
Expand Up @@ -31,7 +31,7 @@
"core-js": "3.25.3",
"execa": "5.1.1",
"fs-extra": "10.1.0",
"listr": "0.14.3",
"listr2": "5.0.5",
"prompts": "2.4.2",
"yargs": "17.5.1"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/create-redwood-app/src/create-redwood-app.js
Expand Up @@ -13,7 +13,7 @@ import chalk from 'chalk'
import checkNodeVersion from 'check-node-version'
import execa from 'execa'
import fs from 'fs-extra'
import Listr from 'listr'
import { Listr } from 'listr2'
import prompts from 'prompts'
import { hideBin } from 'yargs/helpers'
import yargs from 'yargs/yargs'
Expand Down Expand Up @@ -350,7 +350,7 @@ import { name, version } from '../package'
},
},
],
{ collapse: false, exitOnError: true }
{ rendererOptions: { collapse: false }, exitOnError: true }
)
.run()
.then(() => {
Expand Down
39 changes: 30 additions & 9 deletions yarn.lock
Expand Up @@ -12954,10 +12954,10 @@ __metadata:
languageName: node
linkType: hard

"colorette@npm:^2.0.10, colorette@npm:^2.0.14, colorette@npm:^2.0.16":
version: 2.0.16
resolution: "colorette@npm:2.0.16"
checksum: 7430bd996545347f262ae9716bfc8ca3776606e9db854279082004f3141b15a64ad2ee0e4f10cacba5a07cc92ca3edc2d01cbe73fd2843ccd80e98d0e3a8e79b
"colorette@npm:^2.0.10, colorette@npm:^2.0.14, colorette@npm:^2.0.16, colorette@npm:^2.0.19":
version: 2.0.19
resolution: "colorette@npm:2.0.19"
checksum: 2bcc9134095750fece6e88167011499b964b78bf0ea953469130ddb1dba3c8fe6c03debb0ae181e710e2be10900d117460f980483a7df4ba4a1bac3b182ecb64
languageName: node
linkType: hard

Expand Down Expand Up @@ -13667,7 +13667,7 @@ __metadata:
execa: 5.1.1
fs-extra: 10.1.0
jest: 29.1.2
listr: 0.14.3
listr2: 5.0.5
prompts: 2.4.2
typescript: 4.7.4
yargs: 17.5.1
Expand Down Expand Up @@ -21441,6 +21441,27 @@ __metadata:
languageName: node
linkType: hard

"listr2@npm:5.0.5":
version: 5.0.5
resolution: "listr2@npm:5.0.5"
dependencies:
cli-truncate: ^2.1.0
colorette: ^2.0.19
log-update: ^4.0.0
p-map: ^4.0.0
rfdc: ^1.3.0
rxjs: ^7.5.6
through: ^2.3.8
wrap-ansi: ^7.0.0
peerDependencies:
enquirer: ">= 2.3.0 < 3"
peerDependenciesMeta:
enquirer:
optional: true
checksum: 293eea149301ca95822359af647ef8238cbb0a052287a4bf3bb6811802b66afd21117b6c5a391a4c0356b9dff41ad9324b159f49bd3c78562b6bc8b1fd8d988a
languageName: node
linkType: hard

"listr2@npm:^3.8.3":
version: 3.14.0
resolution: "listr2@npm:3.14.0"
Expand Down Expand Up @@ -27305,12 +27326,12 @@ __metadata:
languageName: node
linkType: hard

"rxjs@npm:^7.0.0, rxjs@npm:^7.5.1, rxjs@npm:^7.5.5":
version: 7.5.6
resolution: "rxjs@npm:7.5.6"
"rxjs@npm:^7.0.0, rxjs@npm:^7.5.1, rxjs@npm:^7.5.5, rxjs@npm:^7.5.6":
version: 7.5.7
resolution: "rxjs@npm:7.5.7"
dependencies:
tslib: ^2.1.0
checksum: d8077fb4a06c05f52fcc974ab9884d163924b8085c661c92030a522920510bf0c75583caee70409ab11992320c31f562f5402afe8b81255370c09773209fec5c
checksum: 283620b3c90b85467c3549f7cda0dd768bc18719cccbbdd9aacadb0f0946827ab20d036f1a00d78066d769764e73070bfee8706091d77b8d971975598f6cbbd4
languageName: node
linkType: hard

Expand Down