@cedarjs/api-server 1.0.0-canary.12510 → 1.0.0-canary.12512
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 +8 -7
- package/package.json +12 -9
package/README.md
CHANGED
|
@@ -16,9 +16,9 @@ From package.json
|
|
|
16
16
|
|
|
17
17
|
```
|
|
18
18
|
"bin": {
|
|
19
|
-
"
|
|
20
|
-
"
|
|
21
|
-
"
|
|
19
|
+
"cedarjs-api-server-watch": "./dist/watch.js",
|
|
20
|
+
"cedarjs-log-formatter": "./dist/logFormatter/bin.js",
|
|
21
|
+
"cedarjs-server": "./dist/bin.js",
|
|
22
22
|
},
|
|
23
23
|
```
|
|
24
24
|
|
|
@@ -26,7 +26,7 @@ From package.json
|
|
|
26
26
|
> of a CedarJS CLI command will throw due to Yargs object "collision". Needs to
|
|
27
27
|
> be re-architected in the future.
|
|
28
28
|
|
|
29
|
-
### `
|
|
29
|
+
### `cedarjs-server`
|
|
30
30
|
|
|
31
31
|
Indended for dev and prototyping (i.e. pre-production).
|
|
32
32
|
|
|
@@ -43,7 +43,7 @@ errors, static asset, etc. for production contexts.
|
|
|
43
43
|
- socket (optional)
|
|
44
44
|
- apiHost (default redwood.toml web.apiUrl)
|
|
45
45
|
|
|
46
|
-
### `
|
|
46
|
+
### `cedarjs-server api`
|
|
47
47
|
|
|
48
48
|
For production use.
|
|
49
49
|
|
|
@@ -53,9 +53,10 @@ For production use.
|
|
|
53
53
|
- socket (optional)
|
|
54
54
|
- apiRootPath (default '/')
|
|
55
55
|
|
|
56
|
-
### `
|
|
56
|
+
### `cedarjs-server web`
|
|
57
57
|
|
|
58
|
-
Not optimized for production use at scale (see comments above for
|
|
58
|
+
Not optimized for production use at scale (see comments above for
|
|
59
|
+
`cedarjs-server`).
|
|
59
60
|
Recommended to use CDN or Nginx as performant alternatives.
|
|
60
61
|
|
|
61
62
|
- Runs web on redwood.toml web.port (default 8910)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cedarjs/api-server",
|
|
3
|
-
"version": "1.0.0-canary.
|
|
3
|
+
"version": "1.0.0-canary.12512+ed5ceff3b",
|
|
4
4
|
"description": "CedarJS's HTTP server for Serverless Functions",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -12,6 +12,9 @@
|
|
|
12
12
|
"main": "./dist/createServer.js",
|
|
13
13
|
"types": "./dist/createServer.d.ts",
|
|
14
14
|
"bin": {
|
|
15
|
+
"cedarjs-api-server-watch": "./dist/watch.js",
|
|
16
|
+
"cedarjs-log-formatter": "./dist/logFormatter/bin.js",
|
|
17
|
+
"cedarjs-server": "./dist/bin.js",
|
|
15
18
|
"rw-api-server-watch": "./dist/cjs/watch.js",
|
|
16
19
|
"rw-log-formatter": "./dist/cjs/logFormatter/bin.js",
|
|
17
20
|
"rw-server": "./dist/cjs/bin.js"
|
|
@@ -33,11 +36,11 @@
|
|
|
33
36
|
"test:watch": "vitest watch"
|
|
34
37
|
},
|
|
35
38
|
"dependencies": {
|
|
36
|
-
"@cedarjs/context": "1.0.0-canary.
|
|
37
|
-
"@cedarjs/fastify-web": "1.0.0-canary.
|
|
38
|
-
"@cedarjs/internal": "1.0.0-canary.
|
|
39
|
-
"@cedarjs/project-config": "1.0.0-canary.
|
|
40
|
-
"@cedarjs/web-server": "1.0.0-canary.
|
|
39
|
+
"@cedarjs/context": "1.0.0-canary.12512",
|
|
40
|
+
"@cedarjs/fastify-web": "1.0.0-canary.12512",
|
|
41
|
+
"@cedarjs/internal": "1.0.0-canary.12512",
|
|
42
|
+
"@cedarjs/project-config": "1.0.0-canary.12512",
|
|
43
|
+
"@cedarjs/web-server": "1.0.0-canary.12512",
|
|
41
44
|
"@fastify/multipart": "9.0.3",
|
|
42
45
|
"@fastify/url-data": "6.0.3",
|
|
43
46
|
"ansis": "4.1.0",
|
|
@@ -54,7 +57,7 @@
|
|
|
54
57
|
"yargs": "17.7.2"
|
|
55
58
|
},
|
|
56
59
|
"devDependencies": {
|
|
57
|
-
"@cedarjs/framework-tools": "1.0.0-canary.
|
|
60
|
+
"@cedarjs/framework-tools": "1.0.0-canary.12512",
|
|
58
61
|
"@types/aws-lambda": "8.10.152",
|
|
59
62
|
"@types/dotenv-defaults": "^2.0.4",
|
|
60
63
|
"@types/qs": "6.9.16",
|
|
@@ -67,12 +70,12 @@
|
|
|
67
70
|
"vitest": "3.2.4"
|
|
68
71
|
},
|
|
69
72
|
"peerDependencies": {
|
|
70
|
-
"@cedarjs/graphql-server": "1.0.0-canary.
|
|
73
|
+
"@cedarjs/graphql-server": "1.0.0-canary.12512"
|
|
71
74
|
},
|
|
72
75
|
"peerDependenciesMeta": {
|
|
73
76
|
"@cedarjs/graphql-server": {
|
|
74
77
|
"optional": true
|
|
75
78
|
}
|
|
76
79
|
},
|
|
77
|
-
"gitHead": "
|
|
80
|
+
"gitHead": "ed5ceff3b3071acf121ee56491459a51bb4e7ffe"
|
|
78
81
|
}
|