Commit c27c567a authored by Kim, Hyeonseo's avatar Kim, Hyeonseo
Browse files

fix: update repository directory in package.json and add tsdown configuration

parent 4264d919
Loading
Loading
Loading
Loading
+7 −3
Original line number Diff line number Diff line
@@ -14,7 +14,7 @@
  "repository": {
    "type": "git",
    "url": "git+https://github.com/fedify-dev/fedify.git",
    "directory": "elysia"
    "directory": "packages/elysia"
  },
  "license": "MIT",
  "bugs": {
@@ -42,13 +42,17 @@
    "package.json"
  ],
  "scripts": {
    "dev": "bun run --watch example.ts"
    "build": "tsdown",
    "dev": "bun run --watch example.ts",
    "prepack": "tsdown"
  },
  "peerDependencies": {
    "elysia": "catalog:",
    "@fedify/fedify": "workspace:*"
  },
  "devDependencies": {
    "bun-types": "^1.2.19"
    "bun-types": "^1.2.19",
    "tsdown": "catalog:",
    "typescript": "catalog:"
  }
}
+8 −0
Original line number Diff line number Diff line
import { defineConfig } from "tsdown";

export default defineConfig({
  entry: ["./src/index.ts"],
  dts: true,
  platform: "neutral",
  external: [/^node:/, "elysia", "@fedify/fedify"],
});