@mastra/deployer 0.1.0-alpha.39 → 0.1.0-alpha.40
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/CHANGELOG.md +6 -0
- package/dist/build/analyze.js +1 -1
- package/dist/build/bundler.js +1 -1
- package/dist/build/index.js +3 -3
- package/dist/bundler/index.js +3 -3
- package/dist/{chunk-DKKDXWES.js → chunk-DJDTDBTZ.js} +2 -2
- package/dist/{chunk-ODEOQDHZ.js → chunk-RCYKCEGL.js} +1 -1
- package/dist/{chunk-E3NXSEZQ.js → chunk-UCIQKTCV.js} +2 -2
- package/dist/{chunk-L2SCZHP4.js → chunk-VBYYHCDM.js} +2 -2
- package/dist/index.js +5 -5
- package/package.json +1 -1
- package/src/build/analyze.ts +2 -2
- package/src/build/bundler.ts +1 -1
package/CHANGELOG.md
CHANGED
package/dist/build/analyze.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { analyzeBundle } from '../chunk-
|
|
1
|
+
export { analyzeBundle } from '../chunk-VBYYHCDM.js';
|
|
2
2
|
import '../chunk-YNXJO2XU.js';
|
package/dist/build/bundler.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { createBundler, getInputOptions } from '../chunk-
|
|
1
|
+
export { createBundler, getInputOptions } from '../chunk-RCYKCEGL.js';
|
|
2
2
|
import '../chunk-YNXJO2XU.js';
|
package/dist/build/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { FileService, createWatcher, getBundler, getWatcher, getInputOptions as getWatcherInputOptions } from '../chunk-
|
|
1
|
+
export { FileService, createWatcher, getBundler, getWatcher, getInputOptions as getWatcherInputOptions } from '../chunk-DJDTDBTZ.js';
|
|
2
2
|
export { Deps } from '../chunk-Q3WKR6OZ.js';
|
|
3
|
-
export { analyzeBundle } from '../chunk-
|
|
4
|
-
export { createBundler, getInputOptions as getBundlerInputOptions } from '../chunk-
|
|
3
|
+
export { analyzeBundle } from '../chunk-VBYYHCDM.js';
|
|
4
|
+
export { createBundler, getInputOptions as getBundlerInputOptions } from '../chunk-RCYKCEGL.js';
|
|
5
5
|
import '../chunk-YNXJO2XU.js';
|
package/dist/bundler/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { Bundler } from '../chunk-
|
|
1
|
+
export { Bundler } from '../chunk-UCIQKTCV.js';
|
|
2
2
|
import '../chunk-Q3WKR6OZ.js';
|
|
3
|
-
import '../chunk-
|
|
4
|
-
import '../chunk-
|
|
3
|
+
import '../chunk-VBYYHCDM.js';
|
|
4
|
+
import '../chunk-RCYKCEGL.js';
|
|
5
5
|
import '../chunk-YNXJO2XU.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { aliasHono } from './chunk-
|
|
2
|
-
import { getInputOptions, telemetryFix, libSqlFix } from './chunk-
|
|
1
|
+
import { aliasHono } from './chunk-VBYYHCDM.js';
|
|
2
|
+
import { getInputOptions, telemetryFix, libSqlFix } from './chunk-RCYKCEGL.js';
|
|
3
3
|
import { removeDeployer } from './chunk-YNXJO2XU.js';
|
|
4
4
|
import alias from '@rollup/plugin-alias';
|
|
5
5
|
import commonjs from '@rollup/plugin-commonjs';
|
|
@@ -160,7 +160,7 @@ async function getInputOptions(entryFile, analyzedBundleInfo, platform2) {
|
|
|
160
160
|
browser: true
|
|
161
161
|
});
|
|
162
162
|
return {
|
|
163
|
-
logLevel: "silent",
|
|
163
|
+
logLevel: process.env.MASTRA_BUNDLER_DEBUG === "true" ? "debug" : "silent",
|
|
164
164
|
treeshake: true,
|
|
165
165
|
preserveSymlinks: true,
|
|
166
166
|
external: Array.from(analyzedBundleInfo.externalDependencies),
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Deps } from './chunk-Q3WKR6OZ.js';
|
|
2
|
-
import { analyzeBundle } from './chunk-
|
|
3
|
-
import { createBundler, getInputOptions } from './chunk-
|
|
2
|
+
import { analyzeBundle } from './chunk-VBYYHCDM.js';
|
|
3
|
+
import { createBundler, getInputOptions } from './chunk-RCYKCEGL.js';
|
|
4
4
|
import { MastraBundler } from '@mastra/core/bundler';
|
|
5
5
|
import virtual from '@rollup/plugin-virtual';
|
|
6
6
|
import { ensureDir } from 'fs-extra';
|
|
@@ -108,7 +108,7 @@ async function analyze(entry, mastraEntry, isVirtualFile, platform, logger) {
|
|
|
108
108
|
entry = "#entry";
|
|
109
109
|
}
|
|
110
110
|
const optimizerBundler = await rollup({
|
|
111
|
-
logLevel: "silent",
|
|
111
|
+
logLevel: process.env.MASTRA_BUNDLER_DEBUG === "true" ? "debug" : "silent",
|
|
112
112
|
input: isVirtualFile ? "#entry" : entry,
|
|
113
113
|
treeshake: true,
|
|
114
114
|
preserveSymlinks: true,
|
|
@@ -169,7 +169,7 @@ async function bundleExternals(depsToOptimize, outputDir, logger) {
|
|
|
169
169
|
});
|
|
170
170
|
}
|
|
171
171
|
const bundler = await rollup({
|
|
172
|
-
logLevel: "silent",
|
|
172
|
+
logLevel: process.env.MASTRA_BUNDLER_DEBUG === "true" ? "debug" : "silent",
|
|
173
173
|
input: Array.from(virtualDependencies.entries()).reduce(
|
|
174
174
|
(acc, [dep, virtualDep]) => {
|
|
175
175
|
acc[virtualDep.name] = `#virtual-${dep}`;
|
package/dist/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { FileService } from './chunk-
|
|
2
|
-
export { FileService, getBundler, getWatcher } from './chunk-
|
|
3
|
-
import { Bundler } from './chunk-
|
|
1
|
+
import { FileService } from './chunk-DJDTDBTZ.js';
|
|
2
|
+
export { FileService, getBundler, getWatcher } from './chunk-DJDTDBTZ.js';
|
|
3
|
+
import { Bundler } from './chunk-UCIQKTCV.js';
|
|
4
4
|
import { Deps } from './chunk-Q3WKR6OZ.js';
|
|
5
5
|
export { Deps, createChildProcessLogger, createPinoStream } from './chunk-Q3WKR6OZ.js';
|
|
6
|
-
import './chunk-
|
|
7
|
-
import './chunk-
|
|
6
|
+
import './chunk-VBYYHCDM.js';
|
|
7
|
+
import './chunk-RCYKCEGL.js';
|
|
8
8
|
import './chunk-YNXJO2XU.js';
|
|
9
9
|
import '@mastra/core/deployer';
|
|
10
10
|
import * as babel from '@babel/core';
|
package/package.json
CHANGED
package/src/build/analyze.ts
CHANGED
|
@@ -41,7 +41,7 @@ async function analyze(
|
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
const optimizerBundler = await rollup({
|
|
44
|
-
logLevel: 'silent',
|
|
44
|
+
logLevel: process.env.MASTRA_BUNDLER_DEBUG === 'true' ? 'debug' : 'silent',
|
|
45
45
|
input: isVirtualFile ? '#entry' : entry,
|
|
46
46
|
treeshake: true,
|
|
47
47
|
preserveSymlinks: true,
|
|
@@ -121,7 +121,7 @@ async function bundleExternals(depsToOptimize: Map<string, string[]>, outputDir:
|
|
|
121
121
|
}
|
|
122
122
|
|
|
123
123
|
const bundler = await rollup({
|
|
124
|
-
logLevel: 'silent',
|
|
124
|
+
logLevel: process.env.MASTRA_BUNDLER_DEBUG === 'true' ? 'debug' : 'silent',
|
|
125
125
|
input: Array.from(virtualDependencies.entries()).reduce(
|
|
126
126
|
(acc, [dep, virtualDep]) => {
|
|
127
127
|
acc[virtualDep.name] = `#virtual-${dep}`;
|
package/src/build/bundler.ts
CHANGED
|
@@ -30,7 +30,7 @@ export async function getInputOptions(
|
|
|
30
30
|
});
|
|
31
31
|
|
|
32
32
|
return {
|
|
33
|
-
logLevel: 'silent',
|
|
33
|
+
logLevel: process.env.MASTRA_BUNDLER_DEBUG === 'true' ? 'debug' : 'silent',
|
|
34
34
|
treeshake: true,
|
|
35
35
|
preserveSymlinks: true,
|
|
36
36
|
external: Array.from(analyzedBundleInfo.externalDependencies),
|