@mastra/deployer 0.3.0-alpha.5 → 0.3.0-alpha.6

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.
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkYSFP3CY7_cjs = require('../chunk-YSFP3CY7.cjs');
3
+ var chunk3L5VM2XK_cjs = require('../chunk-3L5VM2XK.cjs');
4
4
  var chunk2ZPQX6BX_cjs = require('../chunk-2ZPQX6BX.cjs');
5
5
  var chunkLA6Y6GAB_cjs = require('../chunk-LA6Y6GAB.cjs');
6
6
  var chunkAE4CVAPK_cjs = require('../chunk-AE4CVAPK.cjs');
@@ -10,15 +10,15 @@ var chunkRPH27LI6_cjs = require('../chunk-RPH27LI6.cjs');
10
10
 
11
11
  Object.defineProperty(exports, "createWatcher", {
12
12
  enumerable: true,
13
- get: function () { return chunkYSFP3CY7_cjs.createWatcher; }
13
+ get: function () { return chunk3L5VM2XK_cjs.createWatcher; }
14
14
  });
15
15
  Object.defineProperty(exports, "getServerOptions", {
16
16
  enumerable: true,
17
- get: function () { return chunkYSFP3CY7_cjs.getServerOptions; }
17
+ get: function () { return chunk3L5VM2XK_cjs.getServerOptions; }
18
18
  });
19
19
  Object.defineProperty(exports, "getWatcherInputOptions", {
20
20
  enumerable: true,
21
- get: function () { return chunkYSFP3CY7_cjs.getInputOptions; }
21
+ get: function () { return chunk3L5VM2XK_cjs.getInputOptions; }
22
22
  });
23
23
  Object.defineProperty(exports, "writeTelemetryConfig", {
24
24
  enumerable: true,
@@ -1,4 +1,4 @@
1
- export { createWatcher, getServerOptions, getInputOptions as getWatcherInputOptions } from '../chunk-C3ZISWS3.js';
1
+ export { createWatcher, getServerOptions, getInputOptions as getWatcherInputOptions } from '../chunk-QGZQITE4.js';
2
2
  export { writeTelemetryConfig } from '../chunk-4AYFLP6G.js';
3
3
  export { analyzeBundle } from '../chunk-USZDOFES.js';
4
4
  export { createBundler, getInputOptions as getBundlerInputOptions } from '../chunk-IKPL4RGG.js';
@@ -3,6 +3,7 @@
3
3
  var chunk2ZPQX6BX_cjs = require('./chunk-2ZPQX6BX.cjs');
4
4
  var chunkLA6Y6GAB_cjs = require('./chunk-LA6Y6GAB.cjs');
5
5
  var chunkAE4CVAPK_cjs = require('./chunk-AE4CVAPK.cjs');
6
+ var chunk54KOF3NB_cjs = require('./chunk-54KOF3NB.cjs');
6
7
  var rollup = require('rollup');
7
8
  var babel = require('@babel/core');
8
9
  var esbuild = require('rollup-plugin-esbuild');
@@ -76,6 +77,7 @@ function getServerOptionsBundler(entryFile, result) {
76
77
  },
77
78
  treeshake: "smallest",
78
79
  plugins: [
80
+ chunk54KOF3NB_cjs.tsConfigPaths(),
79
81
  // transpile typescript to something we understand
80
82
  esbuild__default.default({
81
83
  target: "node20",
@@ -1,6 +1,7 @@
1
1
  import { recursiveRemoveNonReferencedNodes, removeAllOptionsFromMastraExcept } from './chunk-4AYFLP6G.js';
2
2
  import { aliasHono } from './chunk-USZDOFES.js';
3
3
  import { getInputOptions } from './chunk-IKPL4RGG.js';
4
+ import { tsConfigPaths } from './chunk-WVBUOQT6.js';
4
5
  import { watch, rollup } from 'rollup';
5
6
  import * as babel from '@babel/core';
6
7
  import esbuild from 'rollup-plugin-esbuild';
@@ -50,6 +51,7 @@ function getServerOptionsBundler(entryFile, result) {
50
51
  },
51
52
  treeshake: "smallest",
52
53
  plugins: [
54
+ tsConfigPaths(),
53
55
  // transpile typescript to something we understand
54
56
  esbuild({
55
57
  target: "node20",
@@ -725,7 +725,7 @@ var middleware = (options) => async (c2) => {
725
725
  );
726
726
  };
727
727
 
728
- // ../../node_modules/.pnpm/hono-openapi@0.4.6_hono@4.7.4_openapi-types@12.1.3_zod@3.24.2/node_modules/hono-openapi/utils.js
728
+ // ../../node_modules/.pnpm/hono-openapi@0.4.6_hono@4.7.4_openapi-types@12.1.3_zod@3.24.3/node_modules/hono-openapi/utils.js
729
729
  var e = Symbol("openapi");
730
730
  var s2 = ["GET", "PUT", "POST", "DELETE", "OPTIONS", "HEAD", "PATCH", "TRACE"];
731
731
  var n = (e2) => e2.charAt(0).toUpperCase() + e2.slice(1);
@@ -3851,13 +3851,13 @@ async function createNodeServer(mastra, options = {}) {
3851
3851
  },
3852
3852
  () => {
3853
3853
  const logger2 = mastra.getLogger();
3854
- logger2.info(`\u{1F984} Mastra API running on port ${process.env.PORT || 4111}/api`);
3855
- logger2.info(`\u{1F4DA} Open API documentation available at http://localhost:${process.env.PORT || 4111}/openapi.json`);
3854
+ logger2.info(`\u{1F984} Mastra API running on port ${port}/api`);
3855
+ logger2.info(`\u{1F4DA} Open API documentation available at http://localhost:${port}/openapi.json`);
3856
3856
  if (options?.swaggerUI) {
3857
- logger2.info(`\u{1F9EA} Swagger UI available at http://localhost:${process.env.PORT || 4111}/swagger-ui`);
3857
+ logger2.info(`\u{1F9EA} Swagger UI available at http://localhost:${port}/swagger-ui`);
3858
3858
  }
3859
3859
  if (options?.playground) {
3860
- logger2.info(`\u{1F468}\u200D\u{1F4BB} Playground available at http://localhost:${process.env.PORT || 4111}/`);
3860
+ logger2.info(`\u{1F468}\u200D\u{1F4BB} Playground available at http://localhost:${port}/`);
3861
3861
  }
3862
3862
  }
3863
3863
  );
@@ -718,7 +718,7 @@ var middleware = (options) => async (c2) => {
718
718
  );
719
719
  };
720
720
 
721
- // ../../node_modules/.pnpm/hono-openapi@0.4.6_hono@4.7.4_openapi-types@12.1.3_zod@3.24.2/node_modules/hono-openapi/utils.js
721
+ // ../../node_modules/.pnpm/hono-openapi@0.4.6_hono@4.7.4_openapi-types@12.1.3_zod@3.24.3/node_modules/hono-openapi/utils.js
722
722
  var e = Symbol("openapi");
723
723
  var s2 = ["GET", "PUT", "POST", "DELETE", "OPTIONS", "HEAD", "PATCH", "TRACE"];
724
724
  var n = (e2) => e2.charAt(0).toUpperCase() + e2.slice(1);
@@ -3844,13 +3844,13 @@ async function createNodeServer(mastra, options = {}) {
3844
3844
  },
3845
3845
  () => {
3846
3846
  const logger2 = mastra.getLogger();
3847
- logger2.info(`\u{1F984} Mastra API running on port ${process.env.PORT || 4111}/api`);
3848
- logger2.info(`\u{1F4DA} Open API documentation available at http://localhost:${process.env.PORT || 4111}/openapi.json`);
3847
+ logger2.info(`\u{1F984} Mastra API running on port ${port}/api`);
3848
+ logger2.info(`\u{1F4DA} Open API documentation available at http://localhost:${port}/openapi.json`);
3849
3849
  if (options?.swaggerUI) {
3850
- logger2.info(`\u{1F9EA} Swagger UI available at http://localhost:${process.env.PORT || 4111}/swagger-ui`);
3850
+ logger2.info(`\u{1F9EA} Swagger UI available at http://localhost:${port}/swagger-ui`);
3851
3851
  }
3852
3852
  if (options?.playground) {
3853
- logger2.info(`\u{1F468}\u200D\u{1F4BB} Playground available at http://localhost:${process.env.PORT || 4111}/`);
3853
+ logger2.info(`\u{1F468}\u200D\u{1F4BB} Playground available at http://localhost:${port}/`);
3854
3854
  }
3855
3855
  }
3856
3856
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastra/deployer",
3
- "version": "0.3.0-alpha.5",
3
+ "version": "0.3.0-alpha.6",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "files": [
@@ -105,8 +105,8 @@
105
105
  "rollup-plugin-node-externals": "^8.0.0",
106
106
  "typescript-paths": "^1.5.1",
107
107
  "zod": "^3.24.2",
108
- "@mastra/core": "^0.9.0-alpha.4",
109
- "@mastra/server": "^2.0.0-alpha.4"
108
+ "@mastra/core": "^0.9.0-alpha.5",
109
+ "@mastra/server": "^2.0.0-alpha.5"
110
110
  },
111
111
  "devDependencies": {
112
112
  "@hono/node-server": "^1.13.8",