@mastra/deployer 0.1.0-alpha.38 → 0.1.0-alpha.39
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 +12 -0
- package/dist/build/analyze.js +1 -1
- package/dist/build/index.js +2 -2
- package/dist/bundler/index.js +2 -2
- package/dist/{chunk-NJ6UKWFH.js → chunk-DKKDXWES.js} +1 -1
- package/dist/{chunk-YVQH4O5I.js → chunk-E3NXSEZQ.js} +1 -2
- package/dist/{chunk-VBX3JP44.js → chunk-L2SCZHP4.js} +4 -3
- package/dist/index.js +4 -4
- package/dist/server/index.js +2950 -204
- package/package.json +2 -2
- package/src/bundler/index.ts +0 -1
- package/src/build/babel/fix-esm.ts +0 -56
- package/src/build/plugins/esm-fix.ts +0 -47
package/CHANGELOG.md
CHANGED
package/dist/build/analyze.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { analyzeBundle } from '../chunk-
|
|
1
|
+
export { analyzeBundle } from '../chunk-L2SCZHP4.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-DKKDXWES.js';
|
|
2
2
|
export { Deps } from '../chunk-Q3WKR6OZ.js';
|
|
3
|
-
export { analyzeBundle } from '../chunk-
|
|
3
|
+
export { analyzeBundle } from '../chunk-L2SCZHP4.js';
|
|
4
4
|
export { createBundler, getInputOptions as getBundlerInputOptions } from '../chunk-ODEOQDHZ.js';
|
|
5
5
|
import '../chunk-YNXJO2XU.js';
|
package/dist/bundler/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { aliasHono } from './chunk-
|
|
1
|
+
import { aliasHono } from './chunk-L2SCZHP4.js';
|
|
2
2
|
import { getInputOptions, telemetryFix, libSqlFix } from './chunk-ODEOQDHZ.js';
|
|
3
3
|
import { removeDeployer } from './chunk-YNXJO2XU.js';
|
|
4
4
|
import alias from '@rollup/plugin-alias';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Deps } from './chunk-Q3WKR6OZ.js';
|
|
2
|
-
import { analyzeBundle } from './chunk-
|
|
2
|
+
import { analyzeBundle } from './chunk-L2SCZHP4.js';
|
|
3
3
|
import { createBundler, getInputOptions } from './chunk-ODEOQDHZ.js';
|
|
4
4
|
import { MastraBundler } from '@mastra/core/bundler';
|
|
5
5
|
import virtual from '@rollup/plugin-virtual';
|
|
@@ -31,7 +31,6 @@ var Bundler = class extends MastraBundler {
|
|
|
31
31
|
}
|
|
32
32
|
dependenciesObject[key] = value;
|
|
33
33
|
}
|
|
34
|
-
console.log("writePackageJson", dependencies);
|
|
35
34
|
await writeFile(
|
|
36
35
|
pkgPath,
|
|
37
36
|
JSON.stringify(
|
|
@@ -8,7 +8,6 @@ import { fileURLToPath } from 'node:url';
|
|
|
8
8
|
import { rollup } from 'rollup';
|
|
9
9
|
import esbuild from 'rollup-plugin-esbuild';
|
|
10
10
|
import { builtinModules } from 'node:module';
|
|
11
|
-
import 'path';
|
|
12
11
|
|
|
13
12
|
function isNodeBuiltin(dep) {
|
|
14
13
|
const [pkg] = dep.split("/");
|
|
@@ -21,11 +20,13 @@ function aliasHono() {
|
|
|
21
20
|
if (!id.startsWith("@hono/") && !id.startsWith("hono/") && id !== "hono" && id !== "hono-openapi") {
|
|
22
21
|
return;
|
|
23
22
|
}
|
|
24
|
-
const
|
|
25
|
-
return fileURLToPath(
|
|
23
|
+
const path = import.meta.resolve(id);
|
|
24
|
+
return fileURLToPath(path);
|
|
26
25
|
}
|
|
27
26
|
};
|
|
28
27
|
}
|
|
28
|
+
|
|
29
|
+
// src/build/plugins/pino.ts
|
|
29
30
|
function pino() {
|
|
30
31
|
const workerFiles = [
|
|
31
32
|
{
|
package/dist/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { FileService } from './chunk-
|
|
2
|
-
export { FileService, getBundler, getWatcher } from './chunk-
|
|
3
|
-
import { Bundler } from './chunk-
|
|
1
|
+
import { FileService } from './chunk-DKKDXWES.js';
|
|
2
|
+
export { FileService, getBundler, getWatcher } from './chunk-DKKDXWES.js';
|
|
3
|
+
import { Bundler } from './chunk-E3NXSEZQ.js';
|
|
4
4
|
import { Deps } from './chunk-Q3WKR6OZ.js';
|
|
5
5
|
export { Deps, createChildProcessLogger, createPinoStream } from './chunk-Q3WKR6OZ.js';
|
|
6
|
-
import './chunk-
|
|
6
|
+
import './chunk-L2SCZHP4.js';
|
|
7
7
|
import './chunk-ODEOQDHZ.js';
|
|
8
8
|
import './chunk-YNXJO2XU.js';
|
|
9
9
|
import '@mastra/core/deployer';
|