-
Notifications
You must be signed in to change notification settings - Fork 604
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
Move Terminal
from node-core-library to the terminal package.
#3176
Merged
Conversation
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
iclanton
requested review from
apostolisms,
D4N14L,
halfnibble,
octogonz,
patmill and
sachinjoseph
as code owners
January 20, 2022 19:39
D4N14L
approved these changes
Jan 20, 2022
rush-plugins/rush-azure-storage-build-cache-plugin/src/AzureStorageBuildCacheProvider.ts
Outdated
Show resolved
Hide resolved
iclanton
force-pushed
the
move-terminal
branch
4 times, most recently
from
January 21, 2022 03:32
5b73b44
to
6d80a9f
Compare
dmichon-msft
approved these changes
Jan 25, 2022
iclanton
force-pushed
the
move-terminal
branch
2 times, most recently
from
February 7, 2022 23:58
ba1c9a1
to
5b2f93a
Compare
iclanton
force-pushed
the
move-terminal
branch
2 times, most recently
from
October 8, 2023 23:55
d3e2173
to
510f117
Compare
octogonz
reviewed
Oct 10, 2023
octogonz
reviewed
Oct 10, 2023
octogonz
reviewed
Oct 10, 2023
octogonz
reviewed
Oct 10, 2023
octogonz
reviewed
Oct 10, 2023
octogonz
reviewed
Oct 10, 2023
octogonz
reviewed
Oct 10, 2023
iclanton
force-pushed
the
move-terminal
branch
from
October 12, 2023 07:18
9765708
to
cac3003
Compare
iclanton
force-pushed
the
move-terminal
branch
from
October 25, 2023 08:12
a3a6cdf
to
4e3e60c
Compare
iclanton
force-pushed
the
move-terminal
branch
2 times, most recently
from
February 6, 2024 21:04
f759bba
to
8b9710e
Compare
octogonz
reviewed
Feb 17, 2024
octogonz
approved these changes
Feb 17, 2024
octogonz
reviewed
Feb 17, 2024
octogonz
reviewed
Feb 17, 2024
iclanton
force-pushed
the
move-terminal
branch
from
February 17, 2024 06:44
cfaad75
to
3707ab0
Compare
This was referenced Feb 20, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
This change moves
Terminal
and related APIs from@rushstack/node-core-library
to@rushstack/terminal
and changes the way colors are generated. Instead ofColors.colorName
returning a structure describing how to generate the color, it will now simply return a string with the ASCII color codes.Details
This is a breaking change to the
Terminal
API. Support is included for the oldIColorableSequence
objects, but this is not included in the types.Part of #3147
Specific API changes:
Terminal
,ITerminal
,ITerminalProvider
, and the terminal provider implementations were removed from@rushstack/node-core-library
and moved to@rushstack/terminal
with API changesColors
andIColorableSequence
were removed from@rushstack/node-core-library
; instead use the newColorize
API from@rushstack/terminal
ITerminalWritableOptions
from@rushstack/terminal
was renamed toITerminalStreamWritableOptions
TerminalWritable
was removed from@rushstack/node-core-library
; instead use the newTerminalStreamWritable
API from@rushstack/terminal
How it was tested
Tests were moved and expanded, projects in the repo were updated to use the new APIs.