Skip to content

Commit

Permalink
refactor: migrate to @xterm/xterm
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Jul 2, 2024
1 parent 2354da7 commit 537c2f5
Show file tree
Hide file tree
Showing 13 changed files with 1,378 additions and 432 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"@nuxt/devtools": "workspace:*",
"@nuxt/devtools-ui-kit": "workspace:*",
"@nuxt/module-builder": "~0.6.0",
"@nuxt/schema": "^3.12.2",
"@nuxt/schema": "^3.12.3",
"@types/markdown-it": "^14.1.1",
"@types/node": "^20.14.9",
"@types/which": "^3.0.4",
Expand All @@ -44,7 +44,7 @@
"nuxt": "^3.12.2",
"pathe": "^1.1.2",
"simple-git-hooks": "^2.11.1",
"taze": "^0.14.0",
"taze": "^0.14.1",
"tiged": "^2.12.7",
"typescript": "^5.5.3",
"ua-parser-js": "^1.0.38",
Expand Down
2 changes: 1 addition & 1 deletion packages/devtools-kit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
},
"dependencies": {
"@nuxt/kit": "^3.12.2",
"@nuxt/schema": "^3.12.2",
"@nuxt/schema": "^3.12.3",
"execa": "^7.2.0"
},
"devDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions packages/devtools-ui-kit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"@iconify-json/ri": "^1.1.21",
"@iconify-json/tabler": "^1.1.115",
"@nuxt/devtools-kit": "workspace:*",
"@nuxt/kit": "^3.12.2",
"@nuxt/kit": "^3.12.3",
"@unocss/core": "^0.61.0",
"@unocss/nuxt": "^0.61.0",
"@unocss/preset-attributify": "^0.61.0",
Expand All @@ -61,7 +61,7 @@
},
"devDependencies": {
"@nuxt/devtools": "workspace:*",
"nuxt": "^3.12.2"
"nuxt": "^3.12.3"
},
"publishConfig": {
"access": "public"
Expand Down
6 changes: 3 additions & 3 deletions packages/devtools/client/components/TerminalView.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<script setup lang="ts">
import { Terminal } from 'xterm'
import { FitAddon } from 'xterm-addon-fit'
import 'xterm/css/xterm.css'
import { Terminal } from '@xterm/xterm'
import { FitAddon } from '@xterm/addon-fit'
import '@xterm/xterm/css/xterm.css'
import type { TerminalInfo } from '../../src/types'
const props = defineProps<{
Expand Down
3 changes: 3 additions & 0 deletions packages/devtools/client/nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,9 @@ export default defineNuxtConfig({
'vis-data',
'vis-network',
'vue-virtual-scroller',
'@vue/devtools-applet',
'@xterm/xterm',
'@xterm/addon-fit',
],
},
server: {
Expand Down
6 changes: 3 additions & 3 deletions packages/devtools/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,8 @@
"@vitest/ui": "^1.6.0",
"@vue/devtools-applet": "7.3.3",
"@vueuse/nuxt": "^10.11.0",
"@xterm/addon-fit": "^0.10.0",
"@xterm/xterm": "^5.5.0",
"esno": "^4.7.0",
"floating-vue": "5.0.2",
"fuse.js": "^7.0.0",
Expand All @@ -120,8 +122,6 @@
"vis-data": "^7.1.9",
"vis-network": "^9.1.9",
"vue-tsc": "^2.0.24",
"vue-virtual-scroller": "2.0.0-beta.8",
"xterm": "^5.3.0",
"xterm-addon-fit": "^0.8.0"
"vue-virtual-scroller": "2.0.0-beta.8"
}
}
2 changes: 1 addition & 1 deletion playgrounds/empty/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@
},
"devDependencies": {
"@types/node": "^20.14.9",
"nuxt": "^3.12.2"
"nuxt": "^3.12.3"
}
}
6 changes: 3 additions & 3 deletions playgrounds/module-starter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,18 +23,18 @@
},
"dependencies": {
"@nuxt/devtools-kit": "workspace:*",
"@nuxt/kit": "^3.12.2",
"@nuxt/kit": "^3.12.3",
"sirv": "^2.0.4"
},
"devDependencies": {
"@iconify-json/carbon": "^1.1.36",
"@nuxt/devtools": "workspace:*",
"@nuxt/devtools-ui-kit": "workspace:*",
"@nuxt/module-builder": "~0.6.0",
"@nuxt/schema": "^3.12.2",
"@nuxt/schema": "^3.12.3",
"@nuxt/test-utils": "^3.13.1",
"eslint": "^9.6.0",
"nuxt": "^3.12.2",
"nuxt": "^3.12.3",
"vitest": "^1.6.0"
}
}
2 changes: 1 addition & 1 deletion playgrounds/tab-pinia/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@
"devDependencies": {
"@exampledev/new.css": "^1.1.3",
"cypress": "^13.13.0",
"nuxt": "^3.12.2"
"nuxt": "^3.12.3"
}
}
2 changes: 1 addition & 1 deletion playgrounds/tab-seo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@
},
"devDependencies": {
"@types/node": "^20.14.9",
"nuxt": "^3.12.2"
"nuxt": "^3.12.3"
}
}
2 changes: 1 addition & 1 deletion playgrounds/tab-server-route/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@
},
"devDependencies": {
"@types/node": "^20.14.9",
"nuxt": "^3.12.2"
"nuxt": "^3.12.3"
}
}
2 changes: 1 addition & 1 deletion playgrounds/tab-timeline/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@
"devDependencies": {
"@nuxt/devtools": "workspace:^",
"@types/node": "^20.14.9",
"nuxt": "^3.12.2"
"nuxt": "^3.12.3"
}
}
1,769 changes: 1,356 additions & 413 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

0 comments on commit 537c2f5

Please sign in to comment.