@ruvyxa/adapter-netlify 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 +29 -2
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -1,9 +1,36 @@
|
|
|
1
1
|
# @ruvyxa/adapter-netlify
|
|
2
2
|
|
|
3
|
-
Netlify deployment adapter
|
|
3
|
+
Netlify functions deployment adapter metadata for Ruvyxa production builds.
|
|
4
|
+
|
|
5
|
+
## Install
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npm install @ruvyxa/adapter-netlify
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Usage
|
|
4
12
|
|
|
5
13
|
```ts
|
|
14
|
+
import { defineConfig } from "ruvyxa/config"
|
|
6
15
|
import { netlifyAdapter } from "@ruvyxa/adapter-netlify"
|
|
7
16
|
|
|
8
|
-
export default
|
|
17
|
+
export default defineConfig({
|
|
18
|
+
adapter: netlifyAdapter(),
|
|
19
|
+
})
|
|
9
20
|
```
|
|
21
|
+
|
|
22
|
+
## Output Metadata
|
|
23
|
+
|
|
24
|
+
```json
|
|
25
|
+
{
|
|
26
|
+
"name": "netlify",
|
|
27
|
+
"target": "serverless",
|
|
28
|
+
"platform": "netlify",
|
|
29
|
+
"entry": ".ruvyxa/server/app",
|
|
30
|
+
"assetsDir": ".ruvyxa/assets",
|
|
31
|
+
"functionsDir": ".ruvyxa/netlify/functions",
|
|
32
|
+
"configFiles": ["netlify.toml"]
|
|
33
|
+
}
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
Use this adapter when preparing function and static asset output for Netlify.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ruvyxa/adapter-netlify",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "Shape Ruvyxa builds for Netlify functions and assets with a small typed adapter contract.",
|
|
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",
|