From e292e7243e61719aa7f4e9f60d730de6ce4d8819 Mon Sep 17 00:00:00 2001 From: Adam Hmida Loghmari Date: Thu, 25 Jun 2026 12:20:14 +0100 Subject: [PATCH] docs: fix typos across build, config, and upgrade guides Corrects misspellings in the documentation: version, available, overridden, system, output, and specify. --- docs/config/extensions/audioWaveform.mdx | 2 +- docs/config/extensions/custom.mdx | 2 +- docs/deploy-environment-variables.mdx | 2 +- docs/guides/new-build-system-preview.mdx | 6 +++--- docs/guides/use-cases/upgrading-from-v2.mdx | 2 +- docs/how-it-works.mdx | 2 +- docs/snippets/bundle-packages.mdx | 2 +- docs/upgrading-beta.mdx | 6 +++--- 8 files changed, 12 insertions(+), 12 deletions(-) diff --git a/docs/config/extensions/audioWaveform.mdx b/docs/config/extensions/audioWaveform.mdx index de23eb04769..c2431d6f24e 100644 --- a/docs/config/extensions/audioWaveform.mdx +++ b/docs/config/extensions/audioWaveform.mdx @@ -14,7 +14,7 @@ export default defineConfig({ project: "", // Your other config settings... build: { - extensions: [audioWaveform()], // uses verson 1.1.0 of audiowaveform by default + extensions: [audioWaveform()], // uses version 1.1.0 of audiowaveform by default }, }); ``` diff --git a/docs/config/extensions/custom.mdx b/docs/config/extensions/custom.mdx index 02c5980cf9b..07dc0c33d74 100644 --- a/docs/config/extensions/custom.mdx +++ b/docs/config/extensions/custom.mdx @@ -327,7 +327,7 @@ These commands are run after packages have been installed and the code copied in - Environment variables that should sync to the Trigger.dev project, which will then be avalable + Environment variables that should sync to the Trigger.dev project, which will then be available in your tasks at runtime. Importantly, these are NOT added to the image build container, but are instead added to the Trigger.dev project and stored securely. diff --git a/docs/deploy-environment-variables.mdx b/docs/deploy-environment-variables.mdx index cd2dae1c81b..e1db0f5b70c 100644 --- a/docs/deploy-environment-variables.mdx +++ b/docs/deploy-environment-variables.mdx @@ -26,7 +26,7 @@ We deploy your tasks and scale them up and down when they are triggered. So any - Specifying Dev values is optional. They will be overriden by values in your .env file when running + Specifying Dev values is optional. They will be overridden by values in your .env file when running locally. diff --git a/docs/guides/new-build-system-preview.mdx b/docs/guides/new-build-system-preview.mdx index f4064c2db5f..797af11f5c3 100644 --- a/docs/guides/new-build-system-preview.mdx +++ b/docs/guides/new-build-system-preview.mdx @@ -5,7 +5,7 @@ description: "How to use the new build system preview release" 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. -The main features of the new build sytem are: +The main features of the new build system are: - **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. - **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 ### emitDecoratorMetadata -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: +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: ```ts import { defineConfig } from "@trigger.dev/sdk"; @@ -285,7 +285,7 @@ import { audioWaveform } from "@trigger.dev/build/extensions/audioWaveform"; export default defineConfig({ project: "", build: { - extensions: [audioWaveform()], // uses verson 1.1.0 of audiowaveform by default + extensions: [audioWaveform()], // uses version 1.1.0 of audiowaveform by default }, }); ``` diff --git a/docs/guides/use-cases/upgrading-from-v2.mdx b/docs/guides/use-cases/upgrading-from-v2.mdx index 3cc1f88be72..561448a6e5e 100644 --- a/docs/guides/use-cases/upgrading-from-v2.mdx +++ b/docs/guides/use-cases/upgrading-from-v2.mdx @@ -270,7 +270,7 @@ const openai = new OpenAI({ export const openaiTask = task({ id: "openai-task", //3. Retries happen if a task throws an error that isn't caught - // The default settings are in your trigger.config.ts (used if not overriden here) + // The default settings are in your trigger.config.ts (used if not overridden here) retry: { maxAttempts: 3, }, diff --git a/docs/how-it-works.mdx b/docs/how-it-works.mdx index 88bb4c07036..37de05f66e7 100644 --- a/docs/how-it-works.mdx +++ b/docs/how-it-works.mdx @@ -406,7 +406,7 @@ When you run `npx trigger.dev@latest deploy` or `npx trigger.dev@latest dev`, we - **Bundled by default**: Code + dependencies are bundled and tree-shaked by default. - **Build extensions**: Use and write custom build extensions to transform your code or the resulting docker image. -- **ESM ouput**: We output to ESM, which allows tree-shaking and better performance. +- **ESM output**: We output to ESM, which allows tree-shaking and better performance. You can review the build output by running deploy with the `--dry-run` flag, which will output the Containerfile and the build output. diff --git a/docs/snippets/bundle-packages.mdx b/docs/snippets/bundle-packages.mdx index 52676c5fdf1..64b3abdb7fd 100644 --- a/docs/snippets/bundle-packages.mdx +++ b/docs/snippets/bundle-packages.mdx @@ -1,7 +1,7 @@ - Bundle all ESM packages so that you don't have to specifiy them manually like this: + Bundle all ESM packages so that you don't have to specify them manually like this: ```ts trigger.config.ts import type { TriggerConfig } from "@trigger.dev/sdk"; diff --git a/docs/upgrading-beta.mdx b/docs/upgrading-beta.mdx index 532526fc4d8..89137fa6bba 100644 --- a/docs/upgrading-beta.mdx +++ b/docs/upgrading-beta.mdx @@ -10,7 +10,7 @@ The Trigger.dev packages are now at version `3.0.x` in the `latest` tag. This is 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. -The main features of the new build sytem are: +The main features of the new build system are: - **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. - **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 ### emitDecoratorMetadata -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: +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: ```ts import { defineConfig } from "@trigger.dev/sdk"; @@ -292,7 +292,7 @@ import { audioWaveform } from "@trigger.dev/build/extensions/audioWaveform"; export default defineConfig({ project: "", build: { - extensions: [audioWaveform()], // uses verson 1.1.0 of audiowaveform by default + extensions: [audioWaveform()], // uses version 1.1.0 of audiowaveform by default }, }); ```