Use CheerpX via the NPM module
This is a good solution for testing, but we will probably use the latest CDN build later on
This commit is contained in:
parent
4f13791f71
commit
274931dc12
3 changed files with 9 additions and 0 deletions
7
package-lock.json
generated
7
package-lock.json
generated
|
@ -9,6 +9,7 @@
|
||||||
"version": "0.0.1",
|
"version": "0.0.1",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@fortawesome/fontawesome-free": "^6.6.0",
|
"@fortawesome/fontawesome-free": "^6.6.0",
|
||||||
|
"@leaningtech/cheerpx": "latest",
|
||||||
"@oddbird/popover-polyfill": "^0.4.4",
|
"@oddbird/popover-polyfill": "^0.4.4",
|
||||||
"@rollup/plugin-commonjs": "^24.0.0",
|
"@rollup/plugin-commonjs": "^24.0.0",
|
||||||
"@rollup/plugin-node-resolve": "^15.0.0",
|
"@rollup/plugin-node-resolve": "^15.0.0",
|
||||||
|
@ -529,6 +530,12 @@
|
||||||
"@jridgewell/sourcemap-codec": "^1.4.14"
|
"@jridgewell/sourcemap-codec": "^1.4.14"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/@leaningtech/cheerpx": {
|
||||||
|
"version": "0.9.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/@leaningtech/cheerpx/-/cheerpx-0.9.1.tgz",
|
||||||
|
"integrity": "sha512-2cFVDZwYexU7xe/Tv6TfTDlh3ccTDMskL+zeiGrOPKva1vug2wQyntWSSGpw25VsfN9n/5cuvGZiaxQeUqZPJA==",
|
||||||
|
"dev": true
|
||||||
|
},
|
||||||
"node_modules/@nodelib/fs.scandir": {
|
"node_modules/@nodelib/fs.scandir": {
|
||||||
"version": "2.1.5",
|
"version": "2.1.5",
|
||||||
"resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz",
|
"resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz",
|
||||||
|
|
|
@ -8,6 +8,7 @@
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@fortawesome/fontawesome-free": "^6.6.0",
|
"@fortawesome/fontawesome-free": "^6.6.0",
|
||||||
|
"@leaningtech/cheerpx": "latest",
|
||||||
"@oddbird/popover-polyfill": "^0.4.4",
|
"@oddbird/popover-polyfill": "^0.4.4",
|
||||||
"@rollup/plugin-commonjs": "^24.0.0",
|
"@rollup/plugin-commonjs": "^24.0.0",
|
||||||
"@rollup/plugin-node-resolve": "^15.0.0",
|
"@rollup/plugin-node-resolve": "^15.0.0",
|
||||||
|
|
|
@ -5,6 +5,7 @@
|
||||||
import { WebLinksAddon } from '@xterm/addon-web-links';
|
import { WebLinksAddon } from '@xterm/addon-web-links';
|
||||||
import Nav from 'labs/packages/global-navbar/src/Nav.svelte';
|
import Nav from 'labs/packages/global-navbar/src/Nav.svelte';
|
||||||
import SideBar from './SideBar.svelte';
|
import SideBar from './SideBar.svelte';
|
||||||
|
import * as CheerpX from '@leaningtech/cheerpx';
|
||||||
|
|
||||||
var term = new Terminal({cursorBlink:true, convertEol:true, fontFamily:"monospace", fontWeight: 400, fontWeightBold: 700});
|
var term = new Terminal({cursorBlink:true, convertEol:true, fontFamily:"monospace", fontWeight: 400, fontWeightBold: 700});
|
||||||
var fitAddon = new FitAddon();
|
var fitAddon = new FitAddon();
|
||||||
|
|
Loading…
Reference in a new issue