pino-sse 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +3 -2
  2. package/tsdown.config.ts +10 -0
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "pino-sse",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "Pino transport for server side events",
5
5
  "license": "MIT",
6
6
  "author": "Jimmy Lew",
7
- "main": "psse.ts",
7
+ "main": "./dist/psse.mjs",
8
8
  "scripts": {
9
9
  "lint": "eslint"
10
10
  },
@@ -24,6 +24,7 @@
24
24
  "dependencies": {
25
25
  "h3": "^2.0.1-rc.6",
26
26
  "pino-abstract-transport": "^3.0.0",
27
+ "tsdown": "^0.18.3",
27
28
  "uWebSockets.js": "github:uNetworking/uWebSockets.js#v20.56.0",
28
29
  "uuid": "^13.0.0",
29
30
  "uws-cors": "^1.0.0"
@@ -0,0 +1,10 @@
1
+ import { defineConfig } from "tsdown";
2
+
3
+ export default defineConfig (
4
+ {
5
+ entry: 'psse.ts',
6
+ outDir: 'dist',
7
+ minify: true,
8
+ sourcemap: true,
9
+ }
10
+ )