View Source mix dql.sync_version (Dequel v0.7.0)
Synchronize version numbers across the Dequel project.
The version in mix.exs is considered the source of truth. Running this task will update editor/package.json to match.
Usage
mix dql.sync_version # Update editor version to match mix.exs
mix dql.sync_version --check # Check if versions are in sync (no changes)Options
--check- Only check if versions match, don't modify files. Exits with status 1 if versions differ.--strict- Require exact version match (including patch). By default, only major and minor versions must match.
Examples
$ mix dql.sync_version
Syncing version 0.5.0 to editor/package.json
$ mix dql.sync_version --check
Versions in sync: 0.5.0 / 0.5.1
$ mix dql.sync_version --check --strict
Version mismatch: mix.exs has 0.5.0, editor/package.json has 0.5.1