You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/snippets/supabase-prerequisites.mdx
+5-21Lines changed: 5 additions & 21 deletions
Original file line number
Diff line number
Diff line change
@@ -15,38 +15,22 @@ supabase init
15
15
16
16
</Step>
17
17
18
-
<Steptitle="Optional step 2: create package.json and tsconfig.json files">
18
+
<Steptitle="Optional step 2: create a package.json file">
19
19
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.
21
21
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>
23
23
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.
25
25
26
26
```ts package.json
27
27
{
28
28
"devDependencies": {
29
-
// This should be the version of typescript you are using
30
29
"typescript": "^5.6.2"
31
30
}
32
31
}
33
32
```
34
33
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>
0 commit comments