@mastra/client-js 0.0.0-declaration-maps-20250729202623 → 0.0.0-declaration-maps-20250729231921
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 +2 -2
- package/package.json +4 -4
- package/tsup.config.ts +25 -0
- package/.turbo/turbo-build.log +0 -17
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @mastra/client-js
|
|
2
2
|
|
|
3
|
-
## 0.0.0-declaration-maps-
|
|
3
|
+
## 0.0.0-declaration-maps-20250729231921
|
|
4
4
|
|
|
5
5
|
### Patch Changes
|
|
6
6
|
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
- Updated dependencies [b8efbb9]
|
|
46
46
|
- Updated dependencies [71466e7]
|
|
47
47
|
- Updated dependencies [0c99fbe]
|
|
48
|
-
- @mastra/core@0.0.0-declaration-maps-
|
|
48
|
+
- @mastra/core@0.0.0-declaration-maps-20250729231921
|
|
49
49
|
|
|
50
50
|
## 0.10.17-alpha.4
|
|
51
51
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mastra/client-js",
|
|
3
|
-
"version": "0.0.0-declaration-maps-
|
|
3
|
+
"version": "0.0.0-declaration-maps-20250729231921",
|
|
4
4
|
"description": "The official TypeScript library for the Mastra Client API",
|
|
5
5
|
"author": "",
|
|
6
6
|
"type": "module",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"rxjs": "7.8.1",
|
|
35
35
|
"zod": "^3.25.67",
|
|
36
36
|
"zod-to-json-schema": "^3.24.5",
|
|
37
|
-
"@mastra/core": "0.0.0-declaration-maps-
|
|
37
|
+
"@mastra/core": "0.0.0-declaration-maps-20250729231921"
|
|
38
38
|
},
|
|
39
39
|
"peerDependencies": {
|
|
40
40
|
"zod": "^3.0.0"
|
|
@@ -48,10 +48,10 @@
|
|
|
48
48
|
"tsup": "^8.5.0",
|
|
49
49
|
"typescript": "^5.8.3",
|
|
50
50
|
"vitest": "^3.2.4",
|
|
51
|
-
"@internal/lint": "0.0.0-declaration-maps-
|
|
51
|
+
"@internal/lint": "0.0.0-declaration-maps-20250729231921"
|
|
52
52
|
},
|
|
53
53
|
"scripts": {
|
|
54
|
-
"build": "tsup
|
|
54
|
+
"build": "tsup --silent --config tsup.config.ts",
|
|
55
55
|
"dev": "pnpm build --watch",
|
|
56
56
|
"test": "vitest run"
|
|
57
57
|
}
|
package/tsup.config.ts
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { spawn } from 'child_process';
|
|
2
|
+
import { promisify } from 'util';
|
|
3
|
+
import { defineConfig } from 'tsup';
|
|
4
|
+
import type { Options } from 'tsup';
|
|
5
|
+
|
|
6
|
+
type Plugin = NonNullable<Options['plugins']>[number];
|
|
7
|
+
|
|
8
|
+
const exec = promisify(spawn);
|
|
9
|
+
|
|
10
|
+
export default defineConfig({
|
|
11
|
+
entry: ['src/index.ts'],
|
|
12
|
+
format: ['esm', 'cjs'],
|
|
13
|
+
clean: true,
|
|
14
|
+
dts: false,
|
|
15
|
+
splitting: true,
|
|
16
|
+
treeshake: {
|
|
17
|
+
preset: 'smallest',
|
|
18
|
+
},
|
|
19
|
+
sourcemap: true,
|
|
20
|
+
onSuccess: async () => {
|
|
21
|
+
await exec('pnpm', ['tsc', '-p', 'tsconfig.build.json'], {
|
|
22
|
+
stdio: 'inherit',
|
|
23
|
+
});
|
|
24
|
+
},
|
|
25
|
+
});
|
package/.turbo/turbo-build.log
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
> @mastra/client-js@0.10.17-alpha.4 build /home/runner/work/mastra/mastra/client-sdks/client-js
|
|
3
|
-
> tsup src/index.ts --format esm,cjs --no-dts --clean --treeshake=smallest --splitting --sourcemap && tsc -p tsconfig.build.json
|
|
4
|
-
|
|
5
|
-
[34mCLI[39m Building entry: src/index.ts
|
|
6
|
-
[34mCLI[39m Using tsconfig: tsconfig.json
|
|
7
|
-
[34mCLI[39m tsup v8.5.0
|
|
8
|
-
[34mCLI[39m Target: es2022
|
|
9
|
-
[34mCLI[39m Cleaning output folder
|
|
10
|
-
[34mESM[39m Build start
|
|
11
|
-
[34mCJS[39m Build start
|
|
12
|
-
[32mESM[39m [1mdist/index.js [22m[32m75.27 KB[39m
|
|
13
|
-
[32mESM[39m [1mdist/index.js.map [22m[32m161.69 KB[39m
|
|
14
|
-
[32mESM[39m ⚡️ Build success in 3241ms
|
|
15
|
-
[32mCJS[39m [1mdist/index.cjs [22m[32m75.58 KB[39m
|
|
16
|
-
[32mCJS[39m [1mdist/index.cjs.map [22m[32m161.88 KB[39m
|
|
17
|
-
[32mCJS[39m ⚡️ Build success in 3247ms
|