feat: now supports async functions for logging data
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/push/publish Pipeline was successful

- `logger.debug('message', async () => ({ asyncReturn: await asyncFn() }))` is now supported
- NOTE: this may result in logging occurring out of band for these calls if other events fire befor they settle

Update CI labels to direct jobs to correct servers
This commit is contained in:
2026-08-21 11:34:33 -03:00
parent 16550ec8bb
commit c2bcc6c82c
+7 -1
View File
@@ -3,7 +3,13 @@ import { defineConfig } from "tsup";
export default defineConfig({ export default defineConfig({
entry: { index: "src/index.ts", sentry: "src/sentry.ts" }, entry: { index: "src/index.ts", sentry: "src/sentry.ts" },
format: ["esm", "cjs"], format: ["esm", "cjs"],
dts: true, // tsup injects baseUrl for DTS; TS 6 treats that as an error until tsup stops
// (https://github.com/egoist/tsup/issues/1388)
dts: {
compilerOptions: {
ignoreDeprecations: "6.0",
},
},
clean: true, clean: true,
target: "es2022", target: "es2022",
sourcemap: true, sourcemap: true,