Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,5 @@ __pycache__/

# Host test binary
prototype/build/
.neon
node_modules/
20 changes: 20 additions & 0 deletions neon.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
import { defineConfig } from "@neon/config/v1";

export default defineConfig({
// Declare your Neon services here
auth: false,
// Branch policy: per-branch tuning
branch: (branch) => {
if (branch.isDefault) {
// Default branch: no overrides, uses project defaults
return {};
}
if (!branch.exists) {
// New non-default branches: auto-expire
// Run `neon checkout <name>` to create a new branch with these settings
return { ttl: "7d" };
}
// Existing branch: no changes
return {};
},
});
Loading
Loading