Skip to content

Commit da3d529

Browse files
authored
Merge pull request #15 from kagankan/feature/replace-xterm
chore: use `@xterm/xterm`
2 parents 8782876 + ac0d87b commit da3d529

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
"@monaco-editor/react": "4.6.0",
2222
"@shikijs/monaco": "^1.12.0",
2323
"@webcontainer/api": "1.3.0-internal.2",
24+
"@xterm/xterm": "^5.5.0",
2425
"lz-string": "1.5.0",
2526
"markuplint": "4.9.2",
2627
"monaco-editor": "0.50.0",
@@ -29,8 +30,7 @@
2930
"react-split": "2.0.14",
3031
"semver": "7.6.3",
3132
"shiki": "^1.12.0",
32-
"strip-json-comments": "5.0.1",
33-
"xterm": "5.3.0"
33+
"strip-json-comments": "5.0.1"
3434
},
3535
"devDependencies": {
3636
"@commitlint/cli": "^19.4.0",

src/components/ConsoleOutput.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import 'xterm/css/xterm.css';
1+
import '@xterm/xterm/css/xterm.css';
2+
import { Terminal } from '@xterm/xterm';
23
import { forwardRef, useEffect, useImperativeHandle, useRef } from 'react';
3-
import { Terminal } from 'xterm';
44

55
export type ConsoleOutputRef = {
66
appendLine: (string: string) => void;

yarn.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1960,6 +1960,11 @@
19601960
resolved "https://registry.yarnpkg.com/@webcontainer/api/-/api-1.3.0-internal.2.tgz#26afa0548bcf468b74f03dc56993ba287ebfb0e8"
19611961
integrity sha512-lLSlSehbuYc9E7ecK+tMRX4BbWETNX1OgRlS+NerQh3X3sHNbxLD86eScEMAiA5VBnUeSnLtLe7eC/ftM8fR3Q==
19621962

1963+
"@xterm/xterm@^5.5.0":
1964+
version "5.5.0"
1965+
resolved "https://registry.yarnpkg.com/@xterm/xterm/-/xterm-5.5.0.tgz#275fb8f6e14afa6e8a0c05d4ebc94523ff775396"
1966+
integrity sha512-hqJHYaQb5OptNunnyAnkHyM8aCjZ1MEIDTQu1iIbbTD/xops91NB5yq1ZK/dC2JDbVWtF23zUtl9JE2NqwT87A==
1967+
19631968
JSONStream@^1.3.5:
19641969
version "1.3.5"
19651970
resolved "https://registry.yarnpkg.com/JSONStream/-/JSONStream-1.3.5.tgz#3208c1f08d3a4d99261ab64f92302bc15e111ca0"
@@ -6715,11 +6720,6 @@ xmlchars@^2.2.0:
67156720
resolved "https://registry.yarnpkg.com/xmlchars/-/xmlchars-2.2.0.tgz#060fe1bcb7f9c76fe2a17db86a9bc3ab894210cb"
67166721
integrity sha512-JZnDKK8B0RCDw84FNdDAIpZK+JuJw+s7Lz8nksI7SIuU3UXJJslUthsi+uWBUYOwPFwW7W7PRLRfUKpxjtjFCw==
67176722

6718-
xterm@5.3.0:
6719-
version "5.3.0"
6720-
resolved "https://registry.yarnpkg.com/xterm/-/xterm-5.3.0.tgz#867daf9cc826f3d45b5377320aabd996cb0fce46"
6721-
integrity sha512-8QqjlekLUFTrU6x7xck1MsPzPA571K5zNqWm0M0oroYEWVOptZ0+ubQSkQ3uxIEhcIHRujJy6emDWX4A7qyFzg==
6722-
67236723
y18n@^5.0.5:
67246724
version "5.0.8"
67256725
resolved "https://registry.yarnpkg.com/y18n/-/y18n-5.0.8.tgz#7f4934d0f7ca8c56f95314939ddcd2dd91ce1d55"

0 commit comments

Comments
 (0)