bknd is dead long live userbase
Run Tests / test (pull_request) Successful in 4m57s

This commit is contained in:
2026-09-27 19:34:06 +05:30
parent 05e0086fcd
commit 0bfcb5ad71
529 changed files with 2385 additions and 2924 deletions
+2 -2
View File
@@ -1,8 +1,8 @@
#!/bin/bash
# Set variables
FUNCTION_NAME="bknd-lambda"
ROLE_NAME="bknd-lambda-execution-role"
FUNCTION_NAME="userbase-lambda"
ROLE_NAME="userbase-lambda-execution-role"
echo "Starting cleanup of AWS resources..."
+3 -3
View File
@@ -1,8 +1,8 @@
#!/bin/bash
# Set variables
FUNCTION_NAME="bknd-lambda"
ROLE_NAME="bknd-lambda-execution-role"
FUNCTION_NAME="userbase-lambda"
ROLE_NAME="userbase-lambda-execution-role"
RUNTIME="nodejs22.x"
HANDLER="index.handler"
ARCHITECTURE="arm64" # or "x86_64"
@@ -16,7 +16,7 @@ echo "Building Lambda package..."
rm -rf dist && mkdir dist
# copy assets
node_modules/.bin/bknd copy-assets --out=dist/static
node_modules/.bin/userbase copy-assets --out=dist/static
# Run esbuild and check for errors
# important to use --platform=browser for libsql dependency (otherwise we need to push node_modules)
+2 -2
View File
@@ -1,7 +1,7 @@
import { serve } from "bknd/adapter/aws";
import { serve } from "userbase/adapter/aws";
export const handler = serve({
// to get local assets, run `npx bknd copy-assets`
// to get local assets, run `npx userbase copy-assets`
// this is automatically done in `deploy.sh`
assets: {
mode: "local",
+1 -1
View File
@@ -12,7 +12,7 @@
"license": "ISC",
"description": "",
"dependencies": {
"bknd": "file:../../app"
"userbase": "file:../../app"
},
"devDependencies": {
"esbuild": "^0.25.0",