workers-sentinel 0.1.0 → 0.1.2

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.
package/package.json CHANGED
@@ -1,17 +1,18 @@
1
1
  {
2
2
  "name": "workers-sentinel",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "A self-hosted, Sentry-compatible error tracking system running on Cloudflare Workers",
5
5
  "type": "module",
6
- "main": "./src/index.ts",
6
+ "main": "./dist/index.js",
7
7
  "types": "./dist/index.d.ts",
8
8
  "files": [
9
+ "dashboard",
9
10
  "dist",
10
11
  "LICENSE"
11
12
  ],
12
13
  "scripts": {
13
14
  "dev": "wrangler dev",
14
- "build": "cd ../dashboard && npm run build && cp -r ../dashboard/dist dist/dashboard",
15
+ "build": "rm -rf dist/ && rm -rf dashboard/ && tsup src/index.ts --format esm --external cloudflare:workers --dts && cd ../dashboard && npm run build && cp -r dist ../workers-sentinel/dashboard",
15
16
  "build:types": "tsc -p tsconfig.build.json",
16
17
  "prepublishOnly": "pnpm build:types",
17
18
  "deploy": "wrangler deploy",
@@ -42,7 +43,8 @@
42
43
  },
43
44
  "homepage": "https://github.com/G4brym/workers-sentinel#readme",
44
45
  "dependencies": {
45
- "hono": "^4.6.14"
46
+ "hono": "^4.6.14",
47
+ "tsup": "^8.5.1"
46
48
  },
47
49
  "devDependencies": {
48
50
  "@cloudflare/vitest-pool-workers": "^0.12.4",
package/dist/README.md DELETED
@@ -1 +0,0 @@
1
- This folder contains the built output assets for the worker "workers-sentinel" generated at 2026-01-18T21:56:03.666Z.