A cross-platform distribution of the pg-schema-diff binary, tailored for use with pg-nano.
pnpm add @pg-nano/pg-schema-diffpnpm pg-schema-diff --helpYou also have the option of spawning a child process to run the command:
import spawn from "tinyspawn";
await spawn("./node_modules/.bin/pg-schema-diff --help", {
stdio: "inherit",
});This package wouldn't exist without these tools:
- Bump version with
npm version <patch|minor|major> - Push with
git push && git push --tags - Pre-compile binaries and upload with
goreleaser release --clean - Publish with
npm publish
MIT