Skip to content

Latest commit

 

History

History
37 lines (26 loc) · 646 Bytes

File metadata and controls

37 lines (26 loc) · 646 Bytes

Contributing

Testing without publishing

npm link
npm exec tsdown -- -w

# In an other repo:
npm link pg-typesafe

Running the test suite

You need a postgresql instance running on localhost:5432. The test suite will not modify the databases. You can run one with docker:

docker run --rm -e POSTGRES_PASSWORD=example -d postgres

Type OIDs

For getting information on OIDs, such as going from their name to their number, query the pg_type table:

select oid,typname from pg_type;

Publishing

check/update CHANGELOG.md
npm version minor
npm publish --dry-run
npm publish
git push --follow-tags