-
Notifications
You must be signed in to change notification settings - Fork 4
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
Prerelease/v4 #394
Merged
Merged
Prerelease/v4 #394
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
d9284e1
feat: use oclif/core v3
mdonnalley a2b6b21
chore: cleanup
mdonnalley f657efd
chore: bump deps
mdonnalley 0a18580
test: dont rm core for external nuts
mdonnalley 841ce4b
chore: bump core
mdonnalley 958834a
feat: bump oclif/core
mdonnalley 2dff2e0
chore(release): 4.0.0-beta.1 [skip ci]
svc-cli-bot c5bbfa7
Merge branch 'main' into prerelease/v4
mdonnalley 76d5f21
chore(release): 4.0.0-beta.2 [skip ci]
svc-cli-bot 8d340ce
fix: bump oclif/core
mdonnalley f582f70
chore(release): 4.0.0-beta.3 [skip ci]
svc-cli-bot f0257e4
fix: bump core
mdonnalley 57c6b42
Merge branch 'main' into prerelease/v4
mdonnalley e7e9a78
chore: yarn.lock conflicts
mdonnalley 7e57f8d
fix: bump core
mdonnalley fe407d5
chore(release): 4.0.0-beta.4 [skip ci]
svc-cli-bot dc63149
chore: revert change to test.yml
mdonnalley 4b3caab
Merge branch 'main' into prerelease/v4
mdonnalley f9f55da
chore(release): 4.0.0-beta.5 [skip ci]
svc-cli-bot c47a5bd
chore: use latest core
mdonnalley File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you run these tests individually with
yarn mocha test/unit/ux/spinner.test.ts
they expect the\n
but if you run it fromyarn test
(which useswireit
) it doesn't think the\n
should be there.There's a check in oclif/core for
process.stderr.isTTY
. If it's undefined or false, it uses thesimple
spinner (src/cli-ux/action/simple.ts
), otherwise it uses the default spinner (src/cli-ux/action/spinner.ts
)The defaults spinner passes in the message with the
\n
, whereas the simple spinner doesn't.oclif/core v2 wrongly imported the
simple
spinner: https://github.com/oclif/core/blob/2.15.0/src/cli-ux/config.ts#L3-L4v3 updates the
simple
spinner to the correct import, which is why this test now needs to be updated.