mastra 0.6.3-alpha.2 → 0.6.3-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/index.js +3 -1
- package/package.json +4 -3
package/dist/index.js
CHANGED
|
@@ -16,6 +16,7 @@ import { writeFile } from 'node:fs/promises';
|
|
|
16
16
|
import { fileURLToPath } from 'node:url';
|
|
17
17
|
import * as fsExtra from 'fs-extra';
|
|
18
18
|
import { readFileSync } from 'fs';
|
|
19
|
+
import stripJsonComments from 'strip-json-comments';
|
|
19
20
|
|
|
20
21
|
var BuildBundler = class extends Bundler {
|
|
21
22
|
constructor() {
|
|
@@ -462,7 +463,8 @@ function readTsConfig(dir2) {
|
|
|
462
463
|
const tsConfigPath = join(dir2, "tsconfig.json");
|
|
463
464
|
try {
|
|
464
465
|
const tsConfigContent = readFileSync(tsConfigPath, "utf-8");
|
|
465
|
-
|
|
466
|
+
const cleanTsConfigContent = stripJsonComments(tsConfigContent);
|
|
467
|
+
return JSON.parse(cleanTsConfigContent);
|
|
466
468
|
} catch {
|
|
467
469
|
return null;
|
|
468
470
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mastra",
|
|
3
|
-
"version": "0.6.3-alpha.
|
|
3
|
+
"version": "0.6.3-alpha.3",
|
|
4
4
|
"license": "Elastic-2.0",
|
|
5
5
|
"description": "cli for mastra",
|
|
6
6
|
"type": "module",
|
|
@@ -49,6 +49,7 @@
|
|
|
49
49
|
"prompt": "^1.3.0",
|
|
50
50
|
"shiki": "^1.29.2",
|
|
51
51
|
"superjson": "^2.2.2",
|
|
52
|
+
"strip-json-comments": "^5.0.1",
|
|
52
53
|
"swr": "^2.3.3",
|
|
53
54
|
"tcp-port-used": "^1.0.2",
|
|
54
55
|
"yocto-spinner": "^0.1.2",
|
|
@@ -73,8 +74,8 @@
|
|
|
73
74
|
"typescript": "^5.8.2",
|
|
74
75
|
"vitest": "^3.1.2",
|
|
75
76
|
"@internal/lint": "0.0.4",
|
|
76
|
-
"@mastra/
|
|
77
|
-
"@mastra/
|
|
77
|
+
"@mastra/client-js": "0.1.22-alpha.2",
|
|
78
|
+
"@mastra/playground-ui": "5.0.4-alpha.2"
|
|
78
79
|
},
|
|
79
80
|
"scripts": {
|
|
80
81
|
"build": "npm-run-all --serial build:lib copy-starter-files copy-templates build:playground",
|