@mastra/deployer 0.3.1-alpha.1 → 0.3.1-alpha.3
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/dist/server/index.cjs +7 -5
- package/dist/server/index.js +7 -5
- package/package.json +3 -3
package/dist/server/index.cjs
CHANGED
|
@@ -4298,19 +4298,21 @@ async function createNodeServer(mastra, options = {}) {
|
|
|
4298
4298
|
const server = serve(
|
|
4299
4299
|
{
|
|
4300
4300
|
fetch: app.fetch,
|
|
4301
|
-
port
|
|
4301
|
+
port,
|
|
4302
|
+
hostname: serverOptions?.host ?? "localhost"
|
|
4302
4303
|
},
|
|
4303
4304
|
() => {
|
|
4304
4305
|
const logger2 = mastra.getLogger();
|
|
4305
|
-
|
|
4306
|
+
const host = serverOptions?.host ?? "localhost";
|
|
4307
|
+
logger2.info(` Mastra API running on port http://${host}:${port}/api`);
|
|
4306
4308
|
if (options?.isDev) {
|
|
4307
|
-
logger2.info(`\uFFFD Open API documentation available at http
|
|
4309
|
+
logger2.info(`\uFFFD Open API documentation available at http://${host}:${port}/openapi.json`);
|
|
4308
4310
|
}
|
|
4309
4311
|
if (options?.isDev) {
|
|
4310
|
-
logger2.info(`\u{1F9EA} Swagger UI available at http
|
|
4312
|
+
logger2.info(`\u{1F9EA} Swagger UI available at http://${host}:${port}/swagger-ui`);
|
|
4311
4313
|
}
|
|
4312
4314
|
if (options?.playground) {
|
|
4313
|
-
logger2.info(`\u{1F468}\u200D\u{1F4BB} Playground available at http
|
|
4315
|
+
logger2.info(`\u{1F468}\u200D\u{1F4BB} Playground available at http://${host}:${port}/`);
|
|
4314
4316
|
}
|
|
4315
4317
|
}
|
|
4316
4318
|
);
|
package/dist/server/index.js
CHANGED
|
@@ -4292,19 +4292,21 @@ async function createNodeServer(mastra, options = {}) {
|
|
|
4292
4292
|
const server = serve(
|
|
4293
4293
|
{
|
|
4294
4294
|
fetch: app.fetch,
|
|
4295
|
-
port
|
|
4295
|
+
port,
|
|
4296
|
+
hostname: serverOptions?.host ?? "localhost"
|
|
4296
4297
|
},
|
|
4297
4298
|
() => {
|
|
4298
4299
|
const logger2 = mastra.getLogger();
|
|
4299
|
-
|
|
4300
|
+
const host = serverOptions?.host ?? "localhost";
|
|
4301
|
+
logger2.info(` Mastra API running on port http://${host}:${port}/api`);
|
|
4300
4302
|
if (options?.isDev) {
|
|
4301
|
-
logger2.info(`\uFFFD Open API documentation available at http
|
|
4303
|
+
logger2.info(`\uFFFD Open API documentation available at http://${host}:${port}/openapi.json`);
|
|
4302
4304
|
}
|
|
4303
4305
|
if (options?.isDev) {
|
|
4304
|
-
logger2.info(`\u{1F9EA} Swagger UI available at http
|
|
4306
|
+
logger2.info(`\u{1F9EA} Swagger UI available at http://${host}:${port}/swagger-ui`);
|
|
4305
4307
|
}
|
|
4306
4308
|
if (options?.playground) {
|
|
4307
|
-
logger2.info(`\u{1F468}\u200D\u{1F4BB} Playground available at http
|
|
4309
|
+
logger2.info(`\u{1F468}\u200D\u{1F4BB} Playground available at http://${host}:${port}/`);
|
|
4308
4310
|
}
|
|
4309
4311
|
}
|
|
4310
4312
|
);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mastra/deployer",
|
|
3
|
-
"version": "0.3.1-alpha.
|
|
3
|
+
"version": "0.3.1-alpha.3",
|
|
4
4
|
"description": "",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
@@ -107,8 +107,8 @@
|
|
|
107
107
|
"rollup-plugin-node-externals": "^8.0.0",
|
|
108
108
|
"typescript-paths": "^1.5.1",
|
|
109
109
|
"zod": "^3.24.2",
|
|
110
|
-
"@mastra/
|
|
111
|
-
"@mastra/
|
|
110
|
+
"@mastra/core": "^0.9.1-alpha.3",
|
|
111
|
+
"@mastra/server": "^2.0.1-alpha.3"
|
|
112
112
|
},
|
|
113
113
|
"devDependencies": {
|
|
114
114
|
"@hono/node-server": "^1.13.8",
|