Skip to content

Commit

Permalink
πŸŽ‰ pomelo: create workspace
Browse files Browse the repository at this point in the history
  • Loading branch information
cruzdanilo committed Dec 7, 2023
1 parent d31ac38 commit 7c87de8
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
node_modules/
.tamagui/
.vercel/
.gradle/
.expo/
build/
Expand Down
Binary file modified bun.lockb
Binary file not shown.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"test:eslint": "eslint --max-warnings=0 ."
},
"workspaces": [
"pomelo",
"webauthn"
],
"engines": {
Expand Down
7 changes: 7 additions & 0 deletions pomelo/api/opa.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import type { VercelRequest, VercelResponse } from "@vercel/node";

export const runtime = "nodejs";

export default async function opa(request: VercelRequest, response: VercelResponse) {
return response.status(200).end("opa");
}
9 changes: 9 additions & 0 deletions pomelo/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"name": "@exactly/pomelo",
"dependencies": {
"@vercel/node": "^3.0.11"
},
"devDependencies": {
"typescript": "^5.3.3"
}
}

0 comments on commit 7c87de8

Please sign in to comment.