https://github.com/triggerdotdev/blog
Trigger.dev blog articles
https://github.com/triggerdotdev/blog
Last synced: 5 months ago
JSON representation
Trigger.dev blog articles
- Host: GitHub
- URL: https://github.com/triggerdotdev/blog
- Owner: triggerdotdev
- Created: 2023-09-12T11:44:11.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-12-05T10:45:26.000Z (over 1 year ago)
- Last Synced: 2024-11-02T16:08:47.345Z (5 months ago)
- Language: TypeScript
- Homepage: https://avatar-generator-psi.vercel.app
- Size: 1.13 MB
- Stars: 28
- Watchers: 5
- Forks: 4
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- jimsghstars - triggerdotdev/blog - Trigger.dev blog articles (TypeScript)
README
# Source code for Trigger.dev blog articles
Check out [our blog](https://trigger.dev/blog) for all our articles or [follow us](https://dev.to/triggerdotdev) to be notified when new blogs are release.
## Content Guidelines
All blog post content should following the guidelines:
- Don't use tabs for indenting code and use 2 spaces (not 4).
- Use TypeScript instead of JavaScript, unless the article is specifically about JavaScript
- Favor specifying a [Zod schema](https://zod.dev/) when using `eventTrigger` [Docs here](https://trigger.dev/docs/documentation/concepts/triggers/events)
- Use `io.runTask` or an integration whenever doing any communication with outside services or databases, especially when there's a possibility that runs will be resumed. See our [Resumability docs](https://trigger.dev/docs/documentation/concepts/resumability) for more.
- Use Trigger.dev integrations instead of native SDKs.
- When using `io.logger.info`, use the second parameter to include additional data with the log:```ts
await io.logger.info("This is a log message with additional data", {
foo: "bar",
});
```- `io.sendEvent` must be awaited