1b4db79885
* updated the @trigger.dev/astro package to support typescript * set up a example astro project * docs: manual setup of Trigger.dev in an Astro project * doc: updated the manual setup docs for astro * updated the webapp onboarding for astro * cleaned up the example astro project * removed next from dependency 😅 * updated the readme * moved trigger.ts file and job folder to src directory * created a .env.example file * updated tsconfig * updated to use aliases * updated package.json * updated the astro onboarding page * updated the manual installation guide for astro * updated to use alias * added astro as a dev dependency * Remove extra comma I left in * Changed Object.create() to a Record, so we have some type safety * Added the localhost URL to the API in the Astro example * Added the TRIGGER_API_URL to the trigger client in the example * Added the CLI dev dependency to the Astro example * Update the running instructions to be closer to Remix's * Create friendly-carpets-collect.md * Fix bad package name for Astro --------- Co-authored-by: Matt Aitken <matt@mattaitken.com>
20 lines
410 B
TypeScript
20 lines
410 B
TypeScript
import { defineConfig } from "tsup";
|
|
|
|
export default defineConfig([
|
|
{
|
|
name: "main",
|
|
entry: ["./src/index.ts"],
|
|
outDir: "./dist",
|
|
platform: "node",
|
|
format: ["cjs"],
|
|
legacyOutput: true,
|
|
sourcemap: true,
|
|
clean: true,
|
|
bundle: true,
|
|
splitting: false,
|
|
dts: true,
|
|
external: ["http", "https", "util", "events", "tty", "os", "timers"],
|
|
esbuildPlugins: [],
|
|
},
|
|
]);
|