Skip to content

Commit

Permalink
chore(deps): migrate to @xterm modules
Browse files Browse the repository at this point in the history
Addons by the core team are now developed in the main repo:
https://github.com/xtermjs/xterm-addon-attach

Signed-off-by: MichaIng <[email protected]>
  • Loading branch information
MichaIng committed Jun 14, 2024
1 parent edc92a8 commit a93cf9a
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 44 deletions.
8 changes: 4 additions & 4 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,14 @@
},
"dependencies": {
"@unocss/reset": "^0.61.0",
"@xterm/addon-attach": "^0.11.0",
"@xterm/addon-fit": "^0.10.0",
"@xterm/xterm": "^5.5.0",
"microlight": "^0.0.7",
"pretty-bytes": "^6.1.0",
"pretty-ms": "^9.0.0",
"semver-compare-multi": "^1.0.3",
"uplot": "^1.6.24",
"xterm": "^5.1.0",
"xterm-addon-attach": "^0.9.0",
"xterm-addon-fit": "^0.8.0"
"uplot": "^1.6.24"
},
"packageManager": "[email protected]"
}
67 changes: 32 additions & 35 deletions frontend/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions frontend/src/pages/Terminal.svelte
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<script lang="ts">
import { Terminal } from "xterm";
import { AttachAddon } from "xterm-addon-attach";
import { FitAddon, type ITerminalDimensions } from "xterm-addon-fit";
import "xterm/css/xterm.css";
import { Terminal } from "@xterm/xterm";
import { AttachAddon } from "@xterm/addon-attach";
import { FitAddon, type ITerminalDimensions } from "@xterm/addon-fit";
import "@xterm/xterm/css/xterm.css";
import { onDestroy } from "svelte";
Expand Down
2 changes: 1 addition & 1 deletion frontend/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export default defineConfig(({ mode }) => {
input: "src/main.ts",
output: {
manualChunks: {
xterm: ["xterm", "xterm-addon-attach", "xterm-addon-fit"],
xterm: ["@xterm/xterm", "@xterm/addon-attach", "@xterm/addon-fit"],
},
},
},
Expand Down

0 comments on commit a93cf9a

Please sign in to comment.