Skip to content

Commit 677b7ae

Browse files
authored
chore(docs): update bun guide (#2425)
* chore(docs): remove missing snippet references * chore(docs): update bun guide
1 parent 9092ca8 commit 677b7ae

File tree

6 files changed

+8
-23
lines changed

6 files changed

+8
-23
lines changed

docs/config/extensions/lightpanda.mdx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,6 @@ description: "Use the lightpanda build extension to add Lightpanda browser to yo
55
tag: "v4"
66
---
77

8-
import UpgradeToV4Note from "/snippets/upgrade-to-v4-note.mdx";
9-
10-
<UpgradeToV4Note />
11-
128
To use the Lightpanda browser in your project, add the extension to your `trigger.config.ts` file:
139

1410
```ts trigger.config.ts

docs/guides/examples/lightpanda.mdx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@ tag: "v4"
66
---
77

88
import ScrapingWarning from "/snippets/web-scraping-warning.mdx";
9-
import UpgradeToV4Note from "/snippets/upgrade-to-v4-note.mdx";
10-
11-
<UpgradeToV4Note />
129

1310
## Overview
1411

docs/guides/frameworks/bun.mdx

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
11
---
22
title: "Bun guide"
33
sidebarTitle: "Bun"
4-
description: "This guide will show you how to setup Trigger.dev with Bun"
4+
description: "This guide will show you how to setup Trigger.dev in your existing Bun project, test an example task, and view the run."
55
icon: "js"
66
---
77

88
import Prerequisites from "/snippets/framework-prerequisites.mdx";
99
import CliRunTestStep from "/snippets/step-run-test.mdx";
1010
import CliViewRunStep from "/snippets/step-view-run.mdx";
1111

12-
<Warning>A specific Bun version is currently required for the dev command to work. This is due to a [bug](https://github.com/oven-sh/bun/issues/13799) with IPC. Please use Bun version 1.1.24 or lower: `curl -fsSL https://bun.sh/install | bash -s -- bun-v1.1.24`</Warning>
13-
14-
We now have experimental support for Bun. This guide will show you have to setup Trigger.dev in your existing Bun project, test an example task, and view the run.
15-
16-
<Warn>
17-
The trigger.dev CLI does not yet support Bun. So you will need to run the CLI using Node.js. But
12+
<Warning>
13+
The trigger.dev CLI does not yet support Bun. So you will need to run the CLI using Node.js.
1814
Bun will still be used to execute your tasks, even in the `dev` environment.
19-
</Warn>
15+
</Warning>
2016

2117
<Prerequisites framework="Bun" />
2218

19+
## Known issues
20+
21+
- Certain OpenTelemetry instrumentation will not work with Bun, because Bun does not support Node's `register` hook. This means that some libraries that rely on this hook will not work with Bun.
22+
2323
## Initial setup
2424

2525
<Steps>
@@ -109,7 +109,3 @@ yarn dlx trigger.dev@latest dev
109109
<CliViewRunStep />
110110

111111
</Steps>
112-
113-
## Known issues
114-
115-
- Certain OpenTelemetry instrumentation will not work with Bun, because Bun does not support Node's `register` hook. This means that some libraries that rely on this hook will not work with Bun.

docs/guides/frameworks/nextjs.mdx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ import UsefulNextSteps from "/snippets/useful-next-steps.mdx";
1414
import TriggerTaskNextjs from "/snippets/trigger-tasks-nextjs.mdx";
1515
import NextjsTroubleshootingMissingApiKey from "/snippets/nextjs-missing-api-key.mdx";
1616
import NextjsTroubleshootingButtonSyntax from "/snippets/nextjs-button-syntax.mdx";
17-
import WorkerFailedToStartWhenRunningDevCommand from "/snippets/worker-failed-to-start.mdx";
1817
import AddEnvironmentVariables from "/snippets/add-environment-variables.mdx";
1918
import DeployingYourTask from "/snippets/deplopying-your-task.mdx";
2019
import VercelDocsCards from "/snippets/vercel-docs-cards.mdx";
@@ -432,7 +431,6 @@ You can test your revalidation task in the Trigger.dev dashboard on the testing
432431

433432
<NextjsTroubleshootingMissingApiKey/>
434433
<NextjsTroubleshootingButtonSyntax/>
435-
<WorkerFailedToStartWhenRunningDevCommand/>
436434

437435
<VercelDocsCards />
438436
<UsefulNextSteps />

docs/guides/frameworks/supabase-edge-functions-basic.mdx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ import UsefulNextSteps from "/snippets/useful-next-steps.mdx";
1414
import TriggerTaskNextjs from "/snippets/trigger-tasks-nextjs.mdx";
1515
import NextjsTroubleshootingMissingApiKey from "/snippets/nextjs-missing-api-key.mdx";
1616
import NextjsTroubleshootingButtonSyntax from "/snippets/nextjs-button-syntax.mdx";
17-
import WorkerFailedToStartWhenRunningDevCommand from "/snippets/worker-failed-to-start.mdx";
1817
import SupabaseDocsCards from "/snippets/supabase-docs-cards.mdx";
1918

2019
import SupabaseAuthInfo from "/snippets/supabase-auth-info.mdx";

docs/guides/frameworks/supabase-edge-functions-database-webhooks.mdx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ import UsefulNextSteps from "/snippets/useful-next-steps.mdx";
1010
import TriggerTaskNextjs from "/snippets/trigger-tasks-nextjs.mdx";
1111
import NextjsTroubleshootingMissingApiKey from "/snippets/nextjs-missing-api-key.mdx";
1212
import NextjsTroubleshootingButtonSyntax from "/snippets/nextjs-button-syntax.mdx";
13-
import WorkerFailedToStartWhenRunningDevCommand from "/snippets/worker-failed-to-start.mdx";
1413
import SupabaseDocsCards from "/snippets/supabase-docs-cards.mdx";
1514
import SupabaseAuthInfo from "/snippets/supabase-auth-info.mdx";
1615

0 commit comments

Comments
 (0)