mirror of
https://github.com/gravitational/teleport.git
synced 2026-11-03 16:38:35 +08:00
* Move `teleport/ironrdp` to `shared/libs/ironrdp` * Do not import `teleport/lib/AuthenticatedWebSocket` in `TdpClient` * Do not import other `teleport` stuff in `TdpClient` * Move `teleport/lib/tdp` to `shared/libs/tdp` * Move `teleport/components/TdpClientCanvas` to `shared/components/CanvasRenderer` * Move `teleport/DesktopSession` to `shared/components/DesktopSession` * Bring back `teleport/DesktopSession` * Improve old artifacts cleaning * Fix path in README.md
586 B
586 B
SHARED
This package contains shared code used across Gravitational packages.
How to use it
Add @gravitational/shared to your package.json file.
"devDependencies": {
"@gravitational/shared": "^1.0.0",
},
WASM
This package includes a WASM module built from a Rust codebase located in packages/shared/libs/ironrdp.
It is built with the help of wasm-pack.
Running pnpm build-wasm builds the WASM binary as well as the appropriate Javascript/Typescript
bindings and types in web/packages/shared/libs/ironrdp/pkg.