graphile-migrate

v2.0.0-rc.1
Opinionated SQL-powered migration tool for PostgreSQL
postgresql postgres pg migrate sql easy fast watch functions and 1 more...

lint

yarn prettier:check && eslint --ext .js,.jsx,.ts,.tsx,.graphql .

lint:deps

depcheck --ignores @types/jest,@types/json5,@types/node,@types/mock-fs,@types/pg,@types/yargs,eslint_d,mock-fs,tslib

lint:fix

eslint --ext .js,.jsx,.ts,.tsx,.graphql . --fix; prettier --ignore-path .eslintignore --write '**/*.{js,jsx,ts,tsx,graphql,md,json}'

prettier:check

prettier --ignore-path .eslintignore --check '**/*.{js,jsx,ts,tsx,graphql,md,json}'

tsc

tsc -p tsconfig.build.json

prepack

npm run tsc && chmod +x dist/cli.js

clean

rm -Rf dist

test

yarn lint && yarn run lint:deps && FORCE_COLOR=1 yarn run test:only --ci

test:only

jest -i

version

yarn prepack && ./scripts/update-docs.js && node ./scripts/version.mjs && git add README.md src/version.ts

watch

mkdir -p dist && touch dist/cli.js && chmod +x dist/cli.js && npm run tsc --watch

Metadata

  • MIT
  • Whatever
  • Benjie Gillam
  • released 1/23/2024

Downloads

Maintainers