MCPcopy
hub / github.com/triggerdotdev/trigger.dev / onSuccess

Function onSuccess

packages/cli-v3/tsup.config.ts:19–26  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

17 target: "esnext",
18 outDir: "dist",
19 async onSuccess() {
20 if (isDev) {
21 console.debug("Running onSuccess() in dev");
22 // exec: node dist/index.js
23 }
24
25 await cp(join("src", "templates"), "dist/templates", { recursive: true });
26 },
27 banner: {
28 js: "import { createRequire as createRequireFromMetaUrl } from 'node:module';const require = createRequireFromMetaUrl(import.meta.url);",
29 },

Callers 1

AIGeneratedCronFieldFunction · 0.50

Calls 1

debugMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…