Skip to content

Commit cf13fbd

Browse files
authored
Updating docs for the move from beta -> latest (with new build system) (#1299)
* Add triggerAndWait().unwrap() to more easily get at the output or throw the subtask error * Add taskId and runId to SubtaskUnwrapError * WIP docs update beta -> latest * trigger.dev init now adds @trigger.dev/build to devDependencies * How it works doc * Restructure some docs and update the cli commands * Config file docs, plus aptGet and ffmpeg extensions * Update to latest from beta docs * Add runtime to templates * Add --runtime option to the init CLI command * A bunch more doc updates after feedback * Document triggerAndWait with unwrap and result types * beta -> latest in the webapp * CLI update check no longer references beta * Add major release * Leave changeset beta, back to normal package release * Fixed default dirs option in init command * exclude windows-yarn variation of cli e2e tests because it’s buggy * Remove cache to try and fix yarn e2e test workflow errors
1 parent c738ef3 commit cf13fbd

File tree

65 files changed

+2443
-1125
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

65 files changed

+2443
-1125
lines changed

.changeset/cuddly-penguins-cross.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
"@trigger.dev/sdk": major
3+
"trigger.dev": major
4+
"@trigger.dev/build": major
5+
"@trigger.dev/core": major
6+
---
7+
8+
Release 3.0.0

.changeset/itchy-jars-pay.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@trigger.dev/build": patch
3+
---
4+
5+
Add ffmpeg build extension

.changeset/ninety-countries-swim.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"trigger.dev": patch
3+
---
4+
5+
Add --runtime option to the init CLI command

.changeset/old-feet-brush.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"trigger.dev": patch
3+
---
4+
5+
trigger.dev init now adds @trigger.dev/build to devDependencies

.changeset/pre.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"mode": "pre",
2+
"mode": "exit",
33
"tag": "beta",
44
"initialVersions": {
55
"coordinator": "0.0.1",

.changeset/stale-actors-camp.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@trigger.dev/sdk": patch
3+
---
4+
5+
Add triggerAndWait().unwrap() to more easily get at the output or throw the subtask error

.changeset/thick-trains-work.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@trigger.dev/build": patch
3+
---
4+
5+
Add aptGet build extension to easily add system packages to install

.github/workflows/e2e.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,7 @@ jobs:
1616
fail-fast: false
1717
matrix:
1818
os: [buildjet-8vcpu-ubuntu-2204, windows-latest]
19-
package-manager: ["npm", "pnpm", "yarn"]
20-
env:
21-
YARN_ENABLE_IMMUTABLE_INSTALLS: false
19+
package-manager: ["npm", "pnpm"]
2220
steps:
2321
- name: ⬇️ Checkout repo
2422
uses: actions/checkout@v3
@@ -34,7 +32,6 @@ jobs:
3432
uses: buildjet/setup-node@v3
3533
with:
3634
node-version: 20.11.1
37-
cache: "pnpm"
3835

3936
- name: 📥 Download deps
4037
run: pnpm install --frozen-lockfile --filter trigger.dev...

apps/webapp/app/components/SetupCommands.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ export function TriggerDevStep({ extra }: { extra?: string }) {
132132
}
133133

134134
// Trigger.dev version 3 setup commands
135-
const v3PackageTag = "beta";
135+
const v3PackageTag = "latest";
136136

137137
function getApiUrlArg() {
138138
const appOrigin = useAppOrigin();

apps/webapp/app/routes/_app.orgs.$organizationSlug.projects.v3.$projectParam.runs.$runParam/route.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1147,7 +1147,7 @@ function ConnectedDevWarning() {
11471147
<Paragraph variant="small">
11481148
Runs usually start within 1 second in{" "}
11491149
<EnvironmentLabel environment={{ type: "DEVELOPMENT" }} />. Check you're running the
1150-
CLI: <InlineCode className="whitespace-nowrap">npx trigger.dev@beta dev</InlineCode>
1150+
CLI: <InlineCode className="whitespace-nowrap">npx trigger.dev@latest dev</InlineCode>
11511151
</Paragraph>
11521152
</div>
11531153
</Callout>

0 commit comments

Comments
 (0)