Documentation
¶
Overview ¶
Command xtermfetch vendors xterm.js and the addons the app's terminal window uses into internal/ui/gui/assets/terminal/vendor: the npm packages pinned below (MIT, from https://github.com/xtermjs/xterm.js), each checked against the registry's published SHA-512 before anything is taken out of it. It writes each package's ES module build (lib/*.mjs, minified), xterm.js's stylesheet, the licence (LICENSE-xterm.txt: every package's notice) and VERSIONS, which lists each file with its SHA-256 (a test checks the folder against it). The app loads them from its own assets: no CDN.
go run ./internal/devtools/xtermfetch
Bumping a version: change it and its integrity (npm view <pkg>@<version> dist.integrity) here, run this, and commit the folder.