CLI tooling for Storyblok migration audits and visual JSON diffing.
Recommended (install script):
curl -fsSL https://raw.githubusercontent.com/ef-global/migration-helper-scripts/master/scripts/install.sh | shPin an exact version:
curl -fsSL https://raw.githubusercontent.com/ef-global/migration-helper-scripts/master/scripts/install.sh | \
MIGRATION_HELPER_VERSION=1.1.0 shManual install is also supported from GitHub Releases assets.
Install/distribution details are documented in:
docs/install-and-distribution.md
Default interactive mode:
migration-helperThis opens a guided CLI that:
- lets you choose
auditordiff - discovers
sb-migruns fromsbmig/migrations - lets you select a migration run instead of raw files
- auto-wires the correct artifacts for audit or diff
Interactive command-specific entrypoints:
migration-helper audit
migration-helper diffPath-based non-interactive usage is still supported:
During development:
bun run src/cli.ts
bun run src/cli.ts audit
bun run src/cli.ts diff
bun run src/cli.ts diff before.json after.json --serve --port 4717Package bin commands:
migration-helper
migration-helper audit
migration-helper diff
migration-helper diff before.json after.json --serve --port 4717Backwards-compatible script shortcut:
bun run migration-diff before.json after.json --serve --port 4717Build for current host platform:
bun run buildBuild all supported targets:
bun run build:allProduced binaries are written to bin/:
migration-helper-darwin-arm64migration-helper-darwin-x64migration-helper-linux-x64migration-helper-linux-arm64migration-helper-windows-x64.exe
This repository now follows the same Changesets-driven flow as chaperone.
Target branch: master
For user-facing/code changes, include a changeset:
bun run changesetThe PR check (Changeset Check) enforces this for changes under src/, build.ts, or package.json.
On pushes to master, Changeset Version PR runs and opens/updates a version PR using changesets/action.
After version bumps land on master, Release Binaries:
- reads
package.jsonversion, - creates
v<version>tag if missing, - builds executables for all supported targets,
- generates
SHA256SUMS.txt, - publishes assets to GitHub Releases.
Release assets include:
migration-helper-darwin-arm64migration-helper-darwin-x64migration-helper-linux-x64migration-helper-linux-arm64migration-helper-windows-x64.exeSHA256SUMS.txt
Workflows:
.github/workflows/changeset-check.yml.github/workflows/changeset-version-pr.yml.github/workflows/release-binaries.yml