@ruvyxa/adapter-bun 1.0.0 → 1.0.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/README.md +27 -2
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -1,9 +1,34 @@
|
|
|
1
1
|
# @ruvyxa/adapter-bun
|
|
2
2
|
|
|
3
|
-
Bun
|
|
3
|
+
Bun runtime adapter metadata for Ruvyxa production builds.
|
|
4
|
+
|
|
5
|
+
## Install
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npm install @ruvyxa/adapter-bun
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Usage
|
|
4
12
|
|
|
5
13
|
```ts
|
|
14
|
+
import { defineConfig } from "ruvyxa/config"
|
|
6
15
|
import { bunAdapter } from "@ruvyxa/adapter-bun"
|
|
7
16
|
|
|
8
|
-
export default
|
|
17
|
+
export default defineConfig({
|
|
18
|
+
adapter: bunAdapter(),
|
|
19
|
+
})
|
|
9
20
|
```
|
|
21
|
+
|
|
22
|
+
## Output Metadata
|
|
23
|
+
|
|
24
|
+
```json
|
|
25
|
+
{
|
|
26
|
+
"name": "bun",
|
|
27
|
+
"target": "node",
|
|
28
|
+
"platform": "bun",
|
|
29
|
+
"entry": ".ruvyxa/server/app",
|
|
30
|
+
"assetsDir": ".ruvyxa/assets"
|
|
31
|
+
}
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
Use this adapter for Bun-compatible hosting targets that run the production server output.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ruvyxa/adapter-bun",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "Run Ruvyxa on Bun-flavored hosts with typed adapter metadata for entrypoints and assets.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
},
|
|
27
27
|
"homepage": "https://github.com/thirawat27/ruvyxa#readme",
|
|
28
28
|
"engines": {
|
|
29
|
-
"node": ">=
|
|
29
|
+
"node": ">=22.0.0"
|
|
30
30
|
},
|
|
31
31
|
"publishConfig": {
|
|
32
32
|
"access": "public"
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
}
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@ruvyxa/core": "^1.0.
|
|
41
|
+
"@ruvyxa/core": "^1.0.2"
|
|
42
42
|
},
|
|
43
43
|
"scripts": {
|
|
44
44
|
"build": "tsc -p tsconfig.json",
|