Le jeu. 1 oct. 2026 à 11:18, Jérémy Lal <[email protected]> a écrit :
> I propose to solve it this way, and even better, I propose to solve it > myself: > > python3-trame-server supports multiple client types (vue2, vue3, even > react in latest upstream version). > > https://sources.debian.org/src/python-trame-server/3.12.4-2/src/trame_server/core.py#L22 > The default client type is vue3. > As this is meant for backward compatibility, and as I don't see any > application in Debian that currently depends > on python3-trame-client and vue2, we can probably move forward and let > trame-client provide the vue3 client type, > using the latest node-vue package, instead of bundling compiled versions > of vue2 and vue3 without providing the sources. > Here's my take on how to distribute the missing parts: New packages: - gl-matrix (looks cool enough, but maybe it's simpler to move it to components for now) - xmlbuilder2 (maintained, very popular) - @msgpack/msgpack (the famous msgpack format, super popular) Add as components: - @kitware/vtk.js (same upstream) - wslink (same upstream) - webworker-promise (wrapper, specific, no release for 4 years) - utif (used to decode tiff, specific, no release for 7 years) - spark-md5 (specific, no release for 5 years) - globalthis (20-lines shim, somewhat useless, as globalThis is widely available on browsers now) For @types/webxr, it's different: It provides standard DOM API types from DefinitelyTyped, and we don't distribute the whole thing, as it is so huge. It would make sense to distribute sub-groups of it, like "all the web browsers API available to javascript": node-browser-types with components: @types/web @types/webxr @types/w3c-web-usb @types/w3c-web-serial @types/w3c-web-hid @types/web-bluetooth None of them are already available, yet any typescript app that runs on a browser will need it (mostly @types/web). cd vue3-app pkgjs-depends # 14 missing npm module(s) DEPENDENCIES: node-autoprefixer (autoprefixer) node-babel7 (@babel/preset-env) node-commander (commander) node-d3-scale (d3-scale) node-define-properties (define-properties) node-fast-deep-equal (fast-deep-equal) node-fflate (fflate) node-js-yaml (js-yaml) node-pako (pako) node-seedrandom (seedrandom) node-shelljs (shelljs) nodejs (@types/node) MISSING: trame-app-vue3@HASH(0x557b73bc1fa8) └── @kitware/vtk.js (35.16.0) └── @types/webxr (0.5.24) └── gl-matrix (3.4.3) └── globalthis (1.0.3) └── spark-md5 (3.0.2) └── utif (3.1.0) └── webworker-promise (0.5.0) └── xmlbuilder2 (3.0.2) └── @oozcitak/dom (1.15.10) └── @oozcitak/infra (1.0.8) └── @oozcitak/util (8.3.8) └── @oozcitak/url (1.0.4) └── (^) @oozcitak/infra (1.0.8) └── (^) @oozcitak/util (8.3.8) └── (^) @oozcitak/util (8.3.8) └── (^) @oozcitak/infra (1.0.8) └── (^) @oozcitak/util (8.3.8) └── wslink (2.5.0) └── @msgpack/msgpack (2.8.0) └── (^) wslink (2.5.0)

