Firestore migration tool (v1.0.2, beta pre-release) for managing schema changes in Firestore databases. Provides a CLI to create, run, and rollback migrations with batch operations. Key differentiators: lightweight (53KB minzip), TypeScript-first, supports Firebase Emulator for local testing. Caution: still prerelease and subject to breaking changes. Distributed via npm as ESM package.
npm install firemorphNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Initialize a migration directory, create a new migration file, and apply pending migrations using CLI commands.
Pin to exact version or use lockfile.
Break migrations into batches under 500 writes.
Set FIRESTORE_EMULATOR_HOST='localhost:8080' and GCLOUD_PROJECT='your-project-id'.
Use import syntax or set 'type': 'module' in package.json.
Set FIRESTORE_EMULATOR_HOST='localhost:8080' before running firemorph.