767e09ee18
* WIP supabase integration * supabase oauth working * Supabase database triggers * Specify postgres:14 * Limit refreshOAuthToken jobs to 10 attempts * Better displaying types and removing onChange for now * WIP on the supabase db client * Finishing the supabase-js integration * Adding changeset * Added supabase to the integration catalogs, and added an optional icon to Integrations * Reworking how we handle types for the triggers (wip) * Update fully over to the new way to define supabase triggers * Go back to using the type for the event name * Add back in the icon to the JobListPresenter since it was moved from the ProjectPresenter * Remove unused import
24 lines
480 B
TypeScript
24 lines
480 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,
|
|
treeshake: {
|
|
preset: "smallest",
|
|
},
|
|
esbuildPlugins: [],
|
|
noExternal: [],
|
|
external: ["http", "https", "util", "events", "tty", "os", "timers"],
|
|
},
|
|
]);
|