Updates bundled Cap widget and WASM assets from npm.
mix phoenix_cap.update
mix phoenix_cap.update --widget latest --wasm latest
mix phoenix_cap.update --widget 0.1.65 --wasm 0.0.8
mix phoenix_cap.update --no-wasmThe task intentionally uses npm pack instead of depending on a JavaScript
package manager layout in this repository. It copies only the files
PhoenixCap vendors.
Summary
Functions
@spec run([String.t()]) :: :ok | nil
Downloads widget and browser WASM assets and records their versions in the destination.