The code is at https://github.com/neondatabase/serverless.
To ensure code passes format checks and build output is up to date before commit, please copy pre-commit
to .git/hooks
.
To run tests:
-
Install Node LTS + npm, Bun and Deno
-
Copy
.env.template
to.env.test
and fill in the blanks. -
npm install
-
npm test
npm install @neondatabase/serverless@github:neondatabase/serverless#BRANCH_OR_COMMIT
Tests must be passing locally, you must be on branch main
, the repo must be clean, and CHANGELOG.md
must include notes for the new version. Then simply run npm version
with patch
, minor
or major
.