@supacloud/elysia 0.38.1 → 0.39.0

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,12 +1,17 @@
1
1
  {
2
2
  "name": "@supacloud/elysia",
3
- "version": "0.38.1",
3
+ "version": "0.39.0",
4
4
  "description": "Elysia runtime adapter for SupaCloud compiled modules: application/request scopes, route registration and validation",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
7
7
  "module": "./dist/index.js",
8
8
  "types": "./dist/index.d.ts",
9
9
  "exports": {
10
+ "./bun-aot": {
11
+ "types": "./dist/bun-aot.d.ts",
12
+ "import": "./dist/bun-aot.js",
13
+ "default": "./dist/bun-aot.js"
14
+ },
10
15
  ".": {
11
16
  "types": "./dist/index.d.ts",
12
17
  "import": "./dist/index.js",
@@ -23,7 +28,7 @@
23
28
  "scripts": {
24
29
  "generate:example": "bun src/generate-webhook-example.ts",
25
30
  "build": "bun run clean && bun run build:js && bun run build:types",
26
- "build:js": "bun build src/index.ts --outdir dist --target node --external elysia --external effect --external jose --external @supacloud/app --external @supacloud/db --external @supacloud/contracts --external @supacloud/commands",
31
+ "build:js": "bun build src/index.ts src/bun-aot.ts --outdir dist --target node --external elysia --external effect --external jose --external @supacloud/app --external @supacloud/db --external @supacloud/contracts --external @supacloud/commands",
27
32
  "build:types": "tsc -p tsconfig.json --emitDeclarationOnly",
28
33
  "clean": "rm -rf dist",
29
34
  "prepublishOnly": "bun run build",
@@ -49,7 +54,7 @@
49
54
  "directory": "packages/elysia"
50
55
  },
51
56
  "dependencies": {
52
- "@supacloud/app": "0.36.0",
57
+ "@supacloud/app": "0.37.0",
53
58
  "@supacloud/commands": "0.11.2",
54
59
  "@supacloud/contracts": "0.15.2",
55
60
  "effect": "4.0.5",
@@ -67,7 +72,7 @@
67
72
  "elysia": "2.0.0-rc.1"
68
73
  },
69
74
  "devDependencies": {
70
- "@supacloud/compiler": "0.55.0",
75
+ "@supacloud/compiler": "0.56.0",
71
76
  "@supacloud/delivery": "0.24.0",
72
77
  "@supacloud/db": "0.20.5",
73
78
  "@types/bun": "^1.4.4",