Skip to content

Commit

Permalink
Adding the @trigger.dev/init CLI package
Browse files Browse the repository at this point in the history
  • Loading branch information
ericallam committed Jun 23, 2023
1 parent 3c2f170 commit 28914b8
Show file tree
Hide file tree
Showing 29 changed files with 751 additions and 683 deletions.
11 changes: 11 additions & 0 deletions .changeset/curly-hornets-sort.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
"@trigger.dev/integration-kit": patch
"@trigger.dev/sdk": patch
"@trigger.dev/github": patch
"@trigger.dev/openai": patch
"@trigger.dev/slack": patch
"@trigger.dev/nextjs": patch
"@trigger.dev/init": patch
---

Creating the init CLI package
5 changes: 5 additions & 0 deletions apps/webapp/app/routes/api.v1.endpoints.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@ export async function action({ request }: ActionArgs) {
return json({ error: "Invalid request body" }, { status: 400 });
}

logger.info("Creating endpoint", {
url: request.url,
endpoint: body.data,
});

const service = new CreateEndpointService();

try {
Expand Down
77 changes: 0 additions & 77 deletions packages/create-trigger/README.md

This file was deleted.

0 comments on commit 28914b8

Please sign in to comment.