Skip to content

Commit

Permalink
build: Switch to @xterm/xterm and @xterm/addon-canvas
Browse files Browse the repository at this point in the history
These are the new names, and they have more recent releases.
  • Loading branch information
mvollmer authored and martinpitt committed Aug 9, 2024
1 parent ad105a2 commit c9096a7
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ updates:
- "types*"
xterm:
patterns:
- "xterm*"
- "@xterm/*"

- package-ecosystem: "github-actions"
directory: "/"
Expand Down
2 changes: 1 addition & 1 deletion node_modules
Submodule node_modules updated 1238 files
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
"remarkable": "2.0.1",
"throttle-debounce": "5.0.2",
"uuid": "9.0.1",
"xterm": "5.3.0",
"xterm-addon-canvas": "0.5.0"
"@xterm/xterm": "5.5.0",
"@xterm/addon-canvas": "0.7.0"
},
"devDependencies": {
"@types/qunit": "^2.19.10",
Expand Down
4 changes: 2 additions & 2 deletions pkg/lib/cockpit-components-terminal.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ import PropTypes from "prop-types";
import { Modal } from "@patternfly/react-core/dist/esm/components/Modal/index.js";
import { Button } from "@patternfly/react-core/dist/esm/components/Button/index.js";
import { MenuList, MenuItem } from "@patternfly/react-core/dist/esm/components/Menu";
import { Terminal as Term } from "xterm";
import { CanvasAddon } from 'xterm-addon-canvas';
import { CanvasAddon } from '@xterm/addon-canvas';
import { Terminal as Term } from "@xterm/xterm";

import { ContextMenu } from "cockpit-components-context-menu.jsx";
import cockpit from "cockpit";
Expand Down
2 changes: 1 addition & 1 deletion pkg/lib/console.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import "xterm/css/xterm.css";
@import "@xterm/xterm/css/xterm.css";

.console-ct > .terminal {
display: flex;
Expand Down

0 comments on commit c9096a7

Please sign in to comment.