Minor Changes
-
#2020
0e9ee30Thanks @whitphx! - Add@stlite/cli(npm) andstlite-cli(PyPI / uv) — a unifiedstliteCLI with four conversion commands:stlite share <path>— convert a local Streamlit project into a Stlite Sharing URL (Node + Python; produce byte-identical URLs across runtimes).stlite html <path>— convert into a single self-contained HTML file that loads@stlite/browserfrom JSDelivr (Node + Python; byte-identical output).stlite web <path>— convert into a multi-file Stlite web app directory that runs offline on any HTTP server (Node only).stlite desktop <path>— convert into a Stlite Desktop project directory withstlite-manifest.json(Node only).
Supporting changes:
- New
@stlite/app-packagerlibrary extracts the dump-artifacts pipeline (Pyodide vendoring, site-packages snapshot) so bothstlite web/desktopand@stlite/desktop's existing bin can share it. @stlite/sharing-commonnow ownsexportAsHtml(moved from@stlite/sharing-editor) with a parameterized(appData, { runtimeVersion, debugComment? })signature, plus a stableBASE64_DECODER_JS_SOURCEconstant for the embedded HTML decoder. Bug fix:compress.tsnow uses.replaceAllso the URL hash is true base64url;buffer.tsuses globals so the package loads in Node.@stlite/desktop'sdump-stlite-desktop-artifactsbin is deprecated (emits aDeprecationWarningat startup) in favor ofstlite desktop. The bin keeps working for one release. Also exposesdumpManifestand the manifest schema viabuild/electron/manifest.js(ESM) so@stlite/clican reuse them.
Patch Changes
- #2026
bbc1c86Thanks @whitphx! - Fixmake venvfailing duringpyodide xbuildenv installafter upstream Pyodide 0.29.4 shipped apyodide-lock.jsonunder a newer schema. Bumppyodide-lock0.1.2 → 0.1.3 (which makes the droppedinfo.versionfield optional) and pin the xbuildenv install to the runtime Pyodide version so future upstream patch releases can no longer break the frozen build env.
What's Changed
🏕 Updates
- ci: split E2E tests into a dedicated workflow that runs PR code by @whitphx in #1998
- ci: remove dependabot-changeset workflow by @whitphx in #2007
- ci(changeset-check): bypass check for Dependabot PRs by @whitphx in #2010
- fix(kernel): empty DataFrame crashes the page render (#2011) by @whitphx in #2017
- Version Packages by @whitphx-changesets-bot[bot] in #2018
- fix(build): pin pyodide xbuildenv to runtime version and bump pyodide-lock by @whitphx in #2026
- fix(inform-package-stats): show diff annotation when base size is 0 by @whitphx in #2024
- fix(inform-package-stats): correct inverted isDiff sense by @whitphx in #2023
- Add @stlite/cli + stlite-cli with share/html/web/desktop conversion commands by @whitphx in #2020
- Version Packages by @whitphx-changesets-bot[bot] in #2027
👒 Dependencies
- Bump actions/create-github-app-token from 3.0.0 to 3.1.1 by @dependabot[bot] in #2001
- Bump ts-proto from 2.8.3 to 2.11.6 by @dependabot[bot] in #2009
- Bump cloudflare/wrangler-action from 3.14.1 to 3.15.0 by @dependabot[bot] in #2008
- Bump actions/upload-artifact from 7.0.0 to 7.0.1 by @dependabot[bot] in #2000
- Chore(deps): Bump softprops/action-gh-release from 2.6.1 to 3.0.0 by @dependabot[bot] in #2002
- Chore(deps-dev): Bump tsx from 4.20.6 to 4.21.0 by @dependabot[bot] in #2012
- Chore(deps): Bump fs-extra from 11.3.2 to 11.3.4 by @dependabot[bot] in #2013
- Chore(deps): Bump actions/setup-node from 6.3.0 to 6.4.0 by @dependabot[bot] in #2014
Full Changelog: https://github.com/whitphx/stlite/compare/@stlite/browser@1.7.2...@stlite/desktop@0.100.0