@mastra/deployer 0.2.7-alpha.0 → 0.2.7

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.
@@ -2,10 +2,10 @@
2
2
 
3
3
  var chunkI3UVE6EH_cjs = require('../chunk-I3UVE6EH.cjs');
4
4
  var chunk2ZPQX6BX_cjs = require('../chunk-2ZPQX6BX.cjs');
5
- var chunkNCROGJGB_cjs = require('../chunk-NCROGJGB.cjs');
6
- var chunkVFZVVUQE_cjs = require('../chunk-VFZVVUQE.cjs');
7
5
  var chunkP5SATU7G_cjs = require('../chunk-P5SATU7G.cjs');
8
6
  var chunkAE4CVAPK_cjs = require('../chunk-AE4CVAPK.cjs');
7
+ var chunkNCROGJGB_cjs = require('../chunk-NCROGJGB.cjs');
8
+ var chunkVFZVVUQE_cjs = require('../chunk-VFZVVUQE.cjs');
9
9
 
10
10
 
11
11
 
@@ -25,14 +25,6 @@ Object.defineProperty(exports, "writeTelemetryConfig", {
25
25
  enumerable: true,
26
26
  get: function () { return chunk2ZPQX6BX_cjs.writeTelemetryConfig; }
27
27
  });
28
- Object.defineProperty(exports, "FileService", {
29
- enumerable: true,
30
- get: function () { return chunkNCROGJGB_cjs.FileService; }
31
- });
32
- Object.defineProperty(exports, "Deps", {
33
- enumerable: true,
34
- get: function () { return chunkVFZVVUQE_cjs.Deps; }
35
- });
36
28
  Object.defineProperty(exports, "analyzeBundle", {
37
29
  enumerable: true,
38
30
  get: function () { return chunkP5SATU7G_cjs.analyzeBundle; }
@@ -45,3 +37,11 @@ Object.defineProperty(exports, "getBundlerInputOptions", {
45
37
  enumerable: true,
46
38
  get: function () { return chunkAE4CVAPK_cjs.getInputOptions; }
47
39
  });
40
+ Object.defineProperty(exports, "FileService", {
41
+ enumerable: true,
42
+ get: function () { return chunkNCROGJGB_cjs.FileService; }
43
+ });
44
+ Object.defineProperty(exports, "Deps", {
45
+ enumerable: true,
46
+ get: function () { return chunkVFZVVUQE_cjs.Deps; }
47
+ });
@@ -1,6 +1,6 @@
1
1
  export { createWatcher, getServerOptions, getInputOptions as getWatcherInputOptions } from '../chunk-WB3T6NKI.js';
2
2
  export { writeTelemetryConfig } from '../chunk-4AYFLP6G.js';
3
- export { FileService } from '../chunk-DYQ225MJ.js';
4
- export { Deps } from '../chunk-5UBGPRKT.js';
5
3
  export { analyzeBundle } from '../chunk-BDTZS3JM.js';
6
4
  export { createBundler, getInputOptions as getBundlerInputOptions } from '../chunk-IKPL4RGG.js';
5
+ export { FileService } from '../chunk-DYQ225MJ.js';
6
+ export { Deps } from '../chunk-5UBGPRKT.js';
@@ -1,10 +1,10 @@
1
1
  'use strict';
2
2
 
3
- var chunkO5NUMKUF_cjs = require('../chunk-O5NUMKUF.cjs');
3
+ var chunkWFC3CUZ3_cjs = require('../chunk-WFC3CUZ3.cjs');
4
4
 
5
5
 
6
6
 
7
7
  Object.defineProperty(exports, "Bundler", {
8
8
  enumerable: true,
9
- get: function () { return chunkO5NUMKUF_cjs.Bundler; }
9
+ get: function () { return chunkWFC3CUZ3_cjs.Bundler; }
10
10
  });
@@ -1 +1 @@
1
- export { Bundler } from '../chunk-VGDSNRYG.js';
1
+ export { Bundler } from '../chunk-74KZVNKH.js';
@@ -1,9 +1,9 @@
1
1
  'use strict';
2
2
 
3
3
  var chunk2ZPQX6BX_cjs = require('./chunk-2ZPQX6BX.cjs');
4
- var chunkVFZVVUQE_cjs = require('./chunk-VFZVVUQE.cjs');
5
4
  var chunkP5SATU7G_cjs = require('./chunk-P5SATU7G.cjs');
6
5
  var chunkAE4CVAPK_cjs = require('./chunk-AE4CVAPK.cjs');
6
+ var chunkVFZVVUQE_cjs = require('./chunk-VFZVVUQE.cjs');
7
7
  var fs = require('fs');
8
8
  var promises = require('fs/promises');
9
9
  var path = require('path');
@@ -32,7 +32,7 @@ var Bundler = class extends bundler.MastraBundler {
32
32
  }
33
33
  async writeInstrumentationFile(outputDirectory) {
34
34
  const instrumentationFile = path.join(outputDirectory, "instrumentation.mjs");
35
- const __dirname = path.dirname(url.fileURLToPath((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('chunk-O5NUMKUF.cjs', document.baseURI).href))));
35
+ const __dirname = path.dirname(url.fileURLToPath((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('chunk-WFC3CUZ3.cjs', document.baseURI).href))));
36
36
  await esm.copy(path.join(__dirname, "templates", "instrumentation-template.js"), instrumentationFile);
37
37
  }
38
38
  async writePackageJson(outputDirectory, dependencies) {
package/dist/index.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkO5NUMKUF_cjs = require('./chunk-O5NUMKUF.cjs');
3
+ var chunkWFC3CUZ3_cjs = require('./chunk-WFC3CUZ3.cjs');
4
4
  var chunk2ZPQX6BX_cjs = require('./chunk-2ZPQX6BX.cjs');
5
5
  var chunkNCROGJGB_cjs = require('./chunk-NCROGJGB.cjs');
6
6
  var chunkVFZVVUQE_cjs = require('./chunk-VFZVVUQE.cjs');
@@ -34,7 +34,7 @@ var esbuild__default = /*#__PURE__*/_interopDefault(esbuild);
34
34
  var commonjs__default = /*#__PURE__*/_interopDefault(commonjs);
35
35
 
36
36
  // src/deploy/base.ts
37
- var Deployer = class extends chunkO5NUMKUF_cjs.Bundler {
37
+ var Deployer = class extends chunkWFC3CUZ3_cjs.Bundler {
38
38
  deps = new chunkVFZVVUQE_cjs.DepsService();
39
39
  constructor(args) {
40
40
  super(args.name, "DEPLOYER");
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { Bundler } from './chunk-VGDSNRYG.js';
1
+ import { Bundler } from './chunk-74KZVNKH.js';
2
2
  import { recursiveRemoveNonReferencedNodes } from './chunk-4AYFLP6G.js';
3
3
  import { FileService } from './chunk-DYQ225MJ.js';
4
4
  export { FileService } from './chunk-DYQ225MJ.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastra/deployer",
3
- "version": "0.2.7-alpha.0",
3
+ "version": "0.2.7",
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.8.1-alpha.0",
109
- "@mastra/server": "^1.0.1-alpha.0"
108
+ "@mastra/core": "^0.8.1",
109
+ "@mastra/server": "^1.0.1"
110
110
  },
111
111
  "devDependencies": {
112
112
  "@hono/node-server": "^1.13.8",
@@ -1,7 +1,7 @@
1
1
  import { writeTelemetryConfig } from './chunk-4AYFLP6G.js';
2
- import { DepsService } from './chunk-5UBGPRKT.js';
3
2
  import { analyzeBundle } from './chunk-BDTZS3JM.js';
4
3
  import { createBundler, getInputOptions } from './chunk-IKPL4RGG.js';
4
+ import { DepsService } from './chunk-5UBGPRKT.js';
5
5
  import { existsSync } from 'node:fs';
6
6
  import { writeFile, stat } from 'node:fs/promises';
7
7
  import { join, dirname } from 'node:path';