Skip to content

Commit c9b8a29

Browse files
committed
chore(function): use TSDoc for generated bundle headers
1 parent 2b17b23 commit c9b8a29

5 files changed

Lines changed: 21 additions & 13 deletions

File tree

apps/sim/lib/execution/sandbox/bundles/build.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ async function main(): Promise<void> {
159159
code = await result.outputs[0].text()
160160
}
161161

162-
const banner = `// sandbox bundle: ${spec.name}\n// generated by apps/sim/lib/execution/sandbox/bundles/build.ts\n// do not edit by hand. run \`bun run build:sandbox-bundles\` to regenerate.\n`
162+
const banner = `/**\n * Sandbox bundle: ${spec.name}\n * Generated by apps/sim/lib/execution/sandbox/bundles/build.ts.\n * Do not edit by hand. Run \`bun run build:sandbox-bundles\` to regenerate.\n */\n`
163163
const output = banner + code
164164
try {
165165
if (spec.name === 'function-globals') {

apps/sim/lib/execution/sandbox/bundles/docx.cjs

Lines changed: 5 additions & 3 deletions
Large diffs are not rendered by default.

apps/sim/lib/execution/sandbox/bundles/function-globals.cjs

Lines changed: 5 additions & 3 deletions
Large diffs are not rendered by default.

apps/sim/lib/execution/sandbox/bundles/pdf-lib.cjs

Lines changed: 5 additions & 3 deletions
Large diffs are not rendered by default.

apps/sim/lib/execution/sandbox/bundles/pptxgenjs.cjs

Lines changed: 5 additions & 3 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)