trigger.dev 3.0.12 → 3.0.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +16 -43
- package/dist/esm/deploy/buildImage.js +1 -1
- package/dist/esm/dev/backgroundWorker.d.ts +1 -1
- package/dist/esm/version.js +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -6,46 +6,19 @@ Note: this only works with Trigger.dev v3 projects and later. For older projects
|
|
|
6
6
|
|
|
7
7
|
Trigger.dev is an open source platform that makes it easy to create event-driven background tasks directly in your existing project.
|
|
8
8
|
|
|
9
|
-
##
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
|
20
|
-
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
Will update all of your @trigger.dev packages in your package.json to the latest version.
|
|
26
|
-
|
|
27
|
-
```sh
|
|
28
|
-
npx trigger.dev@latest update
|
|
29
|
-
```
|
|
30
|
-
|
|
31
|
-
You can pass the path to the folder that your package.json file lives in:
|
|
32
|
-
|
|
33
|
-
```sh
|
|
34
|
-
npx trigger.dev@latest update ./myapp
|
|
35
|
-
```
|
|
36
|
-
|
|
37
|
-
| Option | Short option | Description |
|
|
38
|
-
| ------ | ------------ | ---------------------------------------------------------- |
|
|
39
|
-
| `--to` | `-t` | The version to update to (ex: 2.1.4), defaults to "latest" |
|
|
40
|
-
|
|
41
|
-
### Who Am I?
|
|
42
|
-
|
|
43
|
-
Shows the current user that is logged in.
|
|
44
|
-
|
|
45
|
-
```sh
|
|
46
|
-
npx trigger.dev@latest whoami
|
|
47
|
-
```
|
|
48
|
-
|
|
49
|
-
| Option | Short option | Description |
|
|
50
|
-
| ----------- | ------------ | -------------------------------------------------------------------- |
|
|
51
|
-
| `--api-url` | `-a` | Set the API URL for Trigger.dev, defaults to https://api.trigger.dev |
|
|
9
|
+
## Commands
|
|
10
|
+
|
|
11
|
+
| Command | Description |
|
|
12
|
+
| :------------------------------------------------------------------- | :----------------------------------------------------------------- |
|
|
13
|
+
| [login](https://trigger.dev/docs/cli-login-commands) | Login with Trigger.dev so you can perform authenticated actions. |
|
|
14
|
+
| [init](https://trigger.dev/docs/cli-init-commands) | Initialize your existing project for development with Trigger.dev. |
|
|
15
|
+
| [dev](https://trigger.dev/docs/cli-dev-commands) | Run your Trigger.dev tasks locally. |
|
|
16
|
+
| [deploy](https://trigger.dev/docs/cli-deploy-commands) | Deploy your Trigger.dev v3 project to the cloud. |
|
|
17
|
+
| [whoami](https://trigger.dev/docs/cli-whoami-commands) | Display the current logged in user and project details. |
|
|
18
|
+
| [logout](https://trigger.dev/docs/cli-logout-commands) | Logout of Trigger.dev. |
|
|
19
|
+
| [list-profiles](https://trigger.dev/docs/cli-list-profiles-commands) | List all of your CLI profiles. |
|
|
20
|
+
| [update](https://trigger.dev/docs/cli-update-commands) | Updates all `@trigger.dev/*` packages to match the CLI version. |
|
|
21
|
+
|
|
22
|
+
## Support
|
|
23
|
+
|
|
24
|
+
If you have any questions, please reach out to us on [Discord](https://trigger.dev/discord) and we'll be happy to help.
|
|
@@ -280,7 +280,7 @@ async function generateBunContainerfile(options) {
|
|
|
280
280
|
const baseInstructions = (options.image?.instructions || []).join("\n");
|
|
281
281
|
const packages = Array.from(new Set(DEFAULT_PACKAGES.concat(options.image?.pkgs || []))).join(" ");
|
|
282
282
|
return `# syntax=docker/dockerfile:1
|
|
283
|
-
FROM imbios/bun-node:22-
|
|
283
|
+
FROM imbios/bun-node:1.1.24-22-slim@sha256:9cfb7cd87529261c482fe17d8894c0986263f3a5ccf84ad65c00ec0e1ed539c6 AS base
|
|
284
284
|
|
|
285
285
|
${baseInstructions}
|
|
286
286
|
|
|
@@ -60,7 +60,7 @@ export declare class BackgroundWorkerCoordinator {
|
|
|
60
60
|
type: "STRING_ERROR";
|
|
61
61
|
raw: string;
|
|
62
62
|
} | {
|
|
63
|
-
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "COULD_NOT_IMPORT_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_PROCESS_SIGKILL_TIMEOUT" | "TASK_PROCESS_OOM_KILLED" | "TASK_PROCESS_MAYBE_OOM_KILLED" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT" | "TASK_RUN_CRASHED" | "MAX_DURATION_EXCEEDED" | "DISK_SPACE_EXCEEDED" | "POD_EVICTED" | "POD_UNKNOWN_ERROR"
|
|
63
|
+
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "COULD_NOT_IMPORT_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_PROCESS_SIGKILL_TIMEOUT" | "TASK_PROCESS_SIGTERM" | "TASK_PROCESS_OOM_KILLED" | "TASK_PROCESS_MAYBE_OOM_KILLED" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT" | "TASK_RUN_HEARTBEAT_TIMEOUT" | "TASK_RUN_CRASHED" | "MAX_DURATION_EXCEEDED" | "DISK_SPACE_EXCEEDED" | "POD_EVICTED" | "POD_UNKNOWN_ERROR";
|
|
64
64
|
type: "INTERNAL_ERROR";
|
|
65
65
|
message?: string | undefined;
|
|
66
66
|
stackTrace?: string | undefined;
|
package/dist/esm/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = "3.0.
|
|
1
|
+
export const VERSION = "3.0.13";
|
|
2
2
|
//# sourceMappingURL=version.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "trigger.dev",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.13",
|
|
4
4
|
"description": "A Command-Line Interface for Trigger.dev (v3) projects",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -80,8 +80,8 @@
|
|
|
80
80
|
"@opentelemetry/sdk-trace-base": "1.25.1",
|
|
81
81
|
"@opentelemetry/sdk-trace-node": "1.25.1",
|
|
82
82
|
"@opentelemetry/semantic-conventions": "1.25.1",
|
|
83
|
-
"@trigger.dev/build": "3.0.
|
|
84
|
-
"@trigger.dev/core": "3.0.
|
|
83
|
+
"@trigger.dev/build": "3.0.13",
|
|
84
|
+
"@trigger.dev/core": "3.0.13",
|
|
85
85
|
"c12": "^1.11.1",
|
|
86
86
|
"chalk": "^5.2.0",
|
|
87
87
|
"cli-table3": "^0.6.3",
|