@cedarjs/api-server 4.0.0 → 4.0.1-next.67

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.
Files changed (39) hide show
  1. package/dist/bin.js +112 -38
  2. package/dist/cjs/bin.js +122 -48
  3. package/dist/cjs/createServer.d.ts.map +1 -1
  4. package/dist/cjs/createServer.js +6 -5
  5. package/dist/cjs/fastify.d.ts.map +1 -1
  6. package/dist/cjs/fastify.js +5 -0
  7. package/dist/cjs/plugins/api.d.ts.map +1 -1
  8. package/dist/cjs/plugins/graphql.d.ts.map +1 -1
  9. package/dist/cjs/plugins/graphql.js +27 -21
  10. package/dist/cjs/plugins/lambdaLoader.d.ts +16 -6
  11. package/dist/cjs/plugins/lambdaLoader.d.ts.map +1 -1
  12. package/dist/cjs/plugins/lambdaLoader.js +76 -12
  13. package/dist/cjs/requestHandlers/awsLambdaFastify.d.ts.map +1 -1
  14. package/dist/cjs/requestHandlers/awsLambdaFastify.js +6 -2
  15. package/dist/cjs/udDispatcher.d.ts +28 -0
  16. package/dist/cjs/udDispatcher.d.ts.map +1 -0
  17. package/dist/cjs/udDispatcher.js +192 -0
  18. package/dist/cjs/udFetchable.d.ts +12 -0
  19. package/dist/cjs/udFetchable.d.ts.map +1 -0
  20. package/dist/cjs/udFetchable.js +36 -0
  21. package/dist/createServer.d.ts.map +1 -1
  22. package/dist/createServer.js +3 -2
  23. package/dist/fastify.d.ts.map +1 -1
  24. package/dist/fastify.js +5 -0
  25. package/dist/plugins/api.d.ts.map +1 -1
  26. package/dist/plugins/graphql.d.ts.map +1 -1
  27. package/dist/plugins/graphql.js +27 -21
  28. package/dist/plugins/lambdaLoader.d.ts +16 -6
  29. package/dist/plugins/lambdaLoader.d.ts.map +1 -1
  30. package/dist/plugins/lambdaLoader.js +72 -10
  31. package/dist/requestHandlers/awsLambdaFastify.d.ts.map +1 -1
  32. package/dist/requestHandlers/awsLambdaFastify.js +6 -2
  33. package/dist/udDispatcher.d.ts +28 -0
  34. package/dist/udDispatcher.d.ts.map +1 -0
  35. package/dist/udDispatcher.js +158 -0
  36. package/dist/udFetchable.d.ts +12 -0
  37. package/dist/udFetchable.d.ts.map +1 -0
  38. package/dist/udFetchable.js +12 -0
  39. package/package.json +40 -11
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cedarjs/api-server",
3
- "version": "4.0.0",
3
+ "version": "4.0.1-next.67+ad97a60c79",
4
4
  "description": "CedarJS's HTTP server for Serverless Functions",
5
5
  "repository": {
6
6
  "type": "git",
@@ -73,6 +73,18 @@
73
73
  "types": "./dist/cjs/bothCLIConfigHandler.d.ts",
74
74
  "default": "./dist/cjs/bothCLIConfigHandler.js"
75
75
  },
76
+ "./udDispatcher": {
77
+ "import": {
78
+ "types": "./dist/udDispatcher.d.ts",
79
+ "default": "./dist/udDispatcher.js"
80
+ }
81
+ },
82
+ "./udFetchable": {
83
+ "import": {
84
+ "types": "./dist/udFetchable.d.ts",
85
+ "default": "./dist/udFetchable.js"
86
+ }
87
+ },
76
88
  "./watch": {
77
89
  "import": {
78
90
  "types": "./dist/watch.d.ts",
@@ -82,15 +94,27 @@
82
94
  "types": "./dist/cjs/watch.d.ts",
83
95
  "default": "./dist/cjs/watch.js"
84
96
  }
97
+ },
98
+ "./requestHandlers": {
99
+ "import": {
100
+ "types": "./dist/requestHandlers/awsLambdaFastify.d.ts",
101
+ "default": "./dist/requestHandlers/awsLambdaFastify.js"
102
+ },
103
+ "require": {
104
+ "types": "./dist/cjs/requestHandlers/awsLambdaFastify.d.ts",
105
+ "default": "./dist/cjs/requestHandlers/awsLambdaFastify.js"
106
+ }
85
107
  }
86
108
  },
87
109
  "main": "./dist/createServer.js",
88
110
  "types": "./dist/createServer.d.ts",
89
111
  "bin": {
112
+ "cedar-api-server-watch": "./dist/cjs/watch.js",
113
+ "cedar-log-formatter": "./dist/cjs/logFormatter/bin.js",
114
+ "cedar-server": "./dist/cjs/bin.js",
90
115
  "cedarjs-api-server-watch": "./dist/watch.js",
91
116
  "cedarjs-log-formatter": "./dist/logFormatter/bin.js",
92
117
  "cedarjs-server": "./dist/bin.js",
93
- "rw-api-server-watch": "./dist/cjs/watch.js",
94
118
  "rw-log-formatter": "./dist/cjs/logFormatter/bin.js",
95
119
  "rw-server": "./dist/cjs/bin.js"
96
120
  },
@@ -111,34 +135,39 @@
111
135
  "test:watch": "vitest watch"
112
136
  },
113
137
  "dependencies": {
114
- "@cedarjs/context": "4.0.0",
115
- "@cedarjs/fastify-web": "4.0.0",
116
- "@cedarjs/internal": "4.0.0",
117
- "@cedarjs/project-config": "4.0.0",
118
- "@cedarjs/web-server": "4.0.0",
138
+ "@cedarjs/context": "4.0.1-next.67+ad97a60c79",
139
+ "@cedarjs/fastify-web": "4.0.1-next.67+ad97a60c79",
140
+ "@cedarjs/internal": "4.0.1-next.67+ad97a60c79",
141
+ "@cedarjs/project-config": "4.0.1-next.67+ad97a60c79",
142
+ "@cedarjs/web-server": "4.0.1-next.67+ad97a60c79",
119
143
  "@fastify/multipart": "9.4.0",
120
144
  "@fastify/url-data": "6.0.3",
145
+ "@universal-deploy/node": "^0.1.6",
146
+ "@universal-deploy/store": "^0.2.1",
121
147
  "ansis": "4.2.0",
122
148
  "chokidar": "3.6.0",
123
149
  "dotenv-defaults": "5.0.2",
124
150
  "fast-glob": "3.3.3",
125
151
  "fast-json-parse": "1.0.3",
126
- "fastify": "5.8.4",
152
+ "fastify": "5.8.5",
127
153
  "fastify-raw-body": "5.0.0",
128
154
  "picoquery": "2.5.0",
129
155
  "pretty-bytes": "5.6.0",
130
156
  "pretty-ms": "7.0.1",
157
+ "rou3": "^0.8.1",
131
158
  "split2": "4.2.0",
159
+ "srvx": "^0.11.9",
160
+ "termi-link": "1.1.0",
132
161
  "yargs": "17.7.2"
133
162
  },
134
163
  "devDependencies": {
135
- "@cedarjs/framework-tools": "0.0.0",
164
+ "@cedarjs/framework-tools": "4.0.1-next.67",
136
165
  "@types/aws-lambda": "8.10.161",
137
166
  "@types/dotenv-defaults": "^5.0.0",
138
167
  "@types/split2": "4.2.3",
139
168
  "@types/yargs": "17.0.35",
140
169
  "graphql-yoga": "5.21.0",
141
- "memfs": "4.57.1",
170
+ "memfs": "4.57.2",
142
171
  "pino-abstract-transport": "1.2.0",
143
172
  "tsx": "4.21.0",
144
173
  "typescript": "5.9.3",
@@ -155,5 +184,5 @@
155
184
  "publishConfig": {
156
185
  "access": "public"
157
186
  },
158
- "gitHead": "b73014711894261b601a749b8caa2ae3bb1bec07"
187
+ "gitHead": "ad97a60c793c21b3263b4178e339d89406f7a7a3"
159
188
  }