mix phoenix_cap.update (PhoenixCap v0.1.0)

Copy Markdown View Source

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-wasm

The 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

Downloads widget and browser WASM assets and records their versions in the destination.

Functions

run(args)

@spec run([String.t()]) :: :ok | nil

Downloads widget and browser WASM assets and records their versions in the destination.