From afd92d461d0913ebe7a62e84c48393d63dd41c26 Mon Sep 17 00:00:00 2001 From: PJ Date: Sun, 26 Apr 2026 16:37:46 +0700 Subject: [PATCH] chore(folio): add web/web-build just recipes and refresh yarn lock Yarn lock picks up @sqlite.org/sqlite-wasm 3.53.0-build1. --- examples/folio/justfile | 14 ++++++++++++++ examples/folio/kotlin-js-store/wasm/yarn.lock | 5 +++++ 2 files changed, 19 insertions(+) diff --git a/examples/folio/justfile b/examples/folio/justfile index a8f7294..98bf8e2 100644 --- a/examples/folio/justfile +++ b/examples/folio/justfile @@ -98,6 +98,20 @@ test: --seed "{{seed}}" \ --output "{{output}}" +# Serve the wasmJs web app from a webpack dev server with COOP/COEP headers. +web: + #!/usr/bin/env bash + set -euo pipefail + export ANDROID_HOME="$(just _android-home)" + ./gradlew :app:webApp:wasmJsBrowserDevelopmentRun --continuous + +# Produce a webpack distributable bundle for the web app. +web-build: + #!/usr/bin/env bash + set -euo pipefail + export ANDROID_HOME="$(just _android-home)" + ./gradlew :app:webApp:wasmJsBrowserDevelopmentExecutableDistribution + # Build + install + run sanderling spec on iOS simulator. test-ios: #!/usr/bin/env bash diff --git a/examples/folio/kotlin-js-store/wasm/yarn.lock b/examples/folio/kotlin-js-store/wasm/yarn.lock index 5f4567d..bb54683 100644 --- a/examples/folio/kotlin-js-store/wasm/yarn.lock +++ b/examples/folio/kotlin-js-store/wasm/yarn.lock @@ -6,3 +6,8 @@ version "3.2.0" resolved "https://registry.yarnpkg.com/@js-joda/core/-/core-3.2.0.tgz#3e61e21b7b2b8a6be746df1335cf91d70db2a273" integrity sha512-PMqgJ0sw5B7FKb2d5bWYIoxjri+QlW/Pys7+Rw82jSH0QN3rB05jZ/VrrsUdh1w4+i2kw9JOejXGq/KhDOX7Kg== + +"@sqlite.org/sqlite-wasm@3.53.0-build1": + version "3.53.0-build1" + resolved "https://registry.yarnpkg.com/@sqlite.org/sqlite-wasm/-/sqlite-wasm-3.53.0-build1.tgz#066cab9189973c39edbb7078c55bb4daa1cd2d30" + integrity sha512-PfWPWN2n+/37doa8oh2/oUXk4OOsRYZsxc1W1sDXIGb/Pu5Yrb+f2eyYpgQMGITVX7HVgxhs9P18Rc6I97ym/g==