Skip to content

Commit e5c8f8b

Browse files
committed
Trimmed the supabase prereqs
1 parent 6014359 commit e5c8f8b

File tree

1 file changed

+5
-21
lines changed

1 file changed

+5
-21
lines changed

docs/snippets/supabase-prerequisites.mdx

Lines changed: 5 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -15,38 +15,22 @@ supabase init
1515

1616
</Step>
1717

18-
<Step title="Optional step 2: create package.json and tsconfig.json files">
18+
<Step title="Optional step 2: create a package.json file">
1919

20-
If your project does not already have `package.json` or/and `tsconfig.json` files (e.g. if you are using Deno), create them manually and add them to your project root folder.
20+
If your project does not already have `package.json` file (e.g. if you are using Deno), create it manually in your project's root folder.
2121

22-
<Info> If your project has these files you can skip this step.</Info>
22+
<Info> If your project has a `package.json` file you can skip this step.</Info>
2323

24-
Both of these files are required for the Trigger.dev SDK to work correctly.
24+
This is required for the Trigger.dev SDK to work correctly.
2525

2626
```ts package.json
2727
{
2828
"devDependencies": {
29-
// This should be the version of typescript you are using
3029
"typescript": "^5.6.2"
3130
}
3231
}
3332
```
3433

35-
```ts tsconfig.json
36-
{
37-
"compilerOptions": {
38-
"target": "esnext",
39-
"module": "NodeNext",
40-
"moduleResolution": "NodeNext",
41-
"esModuleInterop": true,
42-
"strict": true,
43-
"outDir": "dist",
44-
"skipLibCheck": true,
45-
"lib": ["DOM", "DOM.Iterable"],
46-
"noEmit": true
47-
},
48-
"include": ["./src/**/*.ts", "trigger.config.ts"]
49-
}
50-
```
34+
<Note> Update your Typescript version to the latest version available. </Note>
5135

5236
</Step>

0 commit comments

Comments
 (0)