Skip to content

Latest commit

 

History

History
27 lines (15 loc) · 754 Bytes

DEVELOP.md

File metadata and controls

27 lines (15 loc) · 754 Bytes

Development and contributing

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.

Test

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 a specific branch or commit

npm install @neondatabase/serverless@github:neondatabase/serverless#BRANCH_OR_COMMIT

Publish on npm and JSR

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.