Skip to content

Commit e292e72

Browse files
committed
docs: fix typos across build, config, and upgrade guides
Corrects misspellings in the documentation: version, available, overridden, system, output, and specify.
1 parent 82bdd1f commit e292e72

8 files changed

Lines changed: 12 additions & 12 deletions

File tree

docs/config/extensions/audioWaveform.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export default defineConfig({
1414
project: "<project ref>",
1515
// Your other config settings...
1616
build: {
17-
extensions: [audioWaveform()], // uses verson 1.1.0 of audiowaveform by default
17+
extensions: [audioWaveform()], // uses version 1.1.0 of audiowaveform by default
1818
},
1919
});
2020
```

docs/config/extensions/custom.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ These commands are run after packages have been installed and the code copied in
327327
<ParamField path="deploy" type="object">
328328
<Expandable title="properties">
329329
<ResponseField name="env" type="Record<string, string>">
330-
Environment variables that should sync to the Trigger.dev project, which will then be avalable
330+
Environment variables that should sync to the Trigger.dev project, which will then be available
331331
in your tasks at runtime. Importantly, these are NOT added to the image build container, but
332332
are instead added to the Trigger.dev project and stored securely.
333333
</ResponseField>

docs/deploy-environment-variables.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ We deploy your tasks and scale them up and down when they are triggered. So any
2626
</Steps>
2727

2828
<Note>
29-
Specifying Dev values is optional. They will be overriden by values in your .env file when running
29+
Specifying Dev values is optional. They will be overridden by values in your .env file when running
3030
locally.
3131
</Note>
3232

docs/guides/new-build-system-preview.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: "How to use the new build system preview release"
55

66
Based on feedback and a steady flow of issues from our previous build system, we're happy to share with you a preview release of our new build system that (hopefully) fixes most of the issues you may have faced.
77

8-
The main features of the new build sytem are:
8+
The main features of the new build system are:
99

1010
- **Bundling by default**: All dependencies are bundled by default, so you no longer need to specify which dependencies to bundle. This solves a whole bunch of issues related to monorepos.
1111
- **Build extensions**: A new way to extend the build process with custom logic. This is a more flexible and powerful way to extend the build process compared to the old system. (including custom esbuild plugin support)
@@ -164,7 +164,7 @@ One other difference is now `params.env` only contains the environment variables
164164

165165
### emitDecoratorMetadata
166166

167-
If you make use of decorators in your code, and have enabled the `emitDecoratorMetadata` tsconfig compiler option, you'll need to enable this in the new build sytem using the `emitDecoratorMetadata` build extension:
167+
If you make use of decorators in your code, and have enabled the `emitDecoratorMetadata` tsconfig compiler option, you'll need to enable this in the new build system using the `emitDecoratorMetadata` build extension:
168168

169169
```ts
170170
import { defineConfig } from "@trigger.dev/sdk";
@@ -285,7 +285,7 @@ import { audioWaveform } from "@trigger.dev/build/extensions/audioWaveform";
285285
export default defineConfig({
286286
project: "<project ref>",
287287
build: {
288-
extensions: [audioWaveform()], // uses verson 1.1.0 of audiowaveform by default
288+
extensions: [audioWaveform()], // uses version 1.1.0 of audiowaveform by default
289289
},
290290
});
291291
```

docs/guides/use-cases/upgrading-from-v2.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ const openai = new OpenAI({
270270
export const openaiTask = task({
271271
id: "openai-task",
272272
//3. Retries happen if a task throws an error that isn't caught
273-
// The default settings are in your trigger.config.ts (used if not overriden here)
273+
// The default settings are in your trigger.config.ts (used if not overridden here)
274274
retry: {
275275
maxAttempts: 3,
276276
},

docs/how-it-works.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,7 @@ When you run `npx trigger.dev@latest deploy` or `npx trigger.dev@latest dev`, we
406406

407407
- **Bundled by default**: Code + dependencies are bundled and tree-shaked by default.
408408
- **Build extensions**: Use and write custom build extensions to transform your code or the resulting docker image.
409-
- **ESM ouput**: We output to ESM, which allows tree-shaking and better performance.
409+
- **ESM output**: We output to ESM, which allows tree-shaking and better performance.
410410

411411
You can review the build output by running deploy with the `--dry-run` flag, which will output the Containerfile and the build output.
412412

docs/snippets/bundle-packages.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Tabs>
22
<Tab title="Bundle everything">
33

4-
Bundle all ESM packages so that you don't have to specifiy them manually like this:
4+
Bundle all ESM packages so that you don't have to specify them manually like this:
55

66
```ts trigger.config.ts
77
import type { TriggerConfig } from "@trigger.dev/sdk";

docs/upgrading-beta.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ The Trigger.dev packages are now at version `3.0.x` in the `latest` tag. This is
1010

1111
The major changes in this release are a new build system, which is more flexible and powerful than the previous build system. We've also made some changes to the `trigger.dev` CLI to improve the developer experience.
1212

13-
The main features of the new build sytem are:
13+
The main features of the new build system are:
1414

1515
- **Bundling by default**: All dependencies are bundled by default, so you no longer need to specify which dependencies to bundle. This solves a whole bunch of issues related to monorepos.
1616
- **Build extensions**: A new way to extend the build process with custom logic. This is a more flexible and powerful way to extend the build process compared to the old system. (including custom esbuild plugin support)
@@ -171,7 +171,7 @@ See the [syncEnvVars](/deploy-environment-variables#sync-env-vars-from-another-s
171171

172172
### emitDecoratorMetadata
173173

174-
If you make use of decorators in your code, and have enabled the `emitDecoratorMetadata` tsconfig compiler option, you'll need to enable this in the new build sytem using the `emitDecoratorMetadata` build extension:
174+
If you make use of decorators in your code, and have enabled the `emitDecoratorMetadata` tsconfig compiler option, you'll need to enable this in the new build system using the `emitDecoratorMetadata` build extension:
175175

176176
```ts
177177
import { defineConfig } from "@trigger.dev/sdk";
@@ -292,7 +292,7 @@ import { audioWaveform } from "@trigger.dev/build/extensions/audioWaveform";
292292
export default defineConfig({
293293
project: "<project ref>",
294294
build: {
295-
extensions: [audioWaveform()], // uses verson 1.1.0 of audiowaveform by default
295+
extensions: [audioWaveform()], // uses version 1.1.0 of audiowaveform by default
296296
},
297297
});
298298
```

0 commit comments

Comments
 (0)