@mastra/memory 0.0.0-declaration-maps-20250729224949 → 0.0.0-declaration-maps-20250730004430

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  # @mastra/memory
2
2
 
3
- ## 0.0.0-declaration-maps-20250729224949
3
+ ## 0.0.0-declaration-maps-20250730004430
4
4
 
5
5
  ### Patch Changes
6
6
 
@@ -44,7 +44,7 @@
44
44
  - Updated dependencies [b8efbb9]
45
45
  - Updated dependencies [71466e7]
46
46
  - Updated dependencies [0c99fbe]
47
- - @mastra/core@0.0.0-declaration-maps-20250729224949
47
+ - @mastra/core@0.0.0-declaration-maps-20250730004430
48
48
 
49
49
  ## 0.11.6-alpha.2
50
50
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastra/memory",
3
- "version": "0.0.0-declaration-maps-20250729224949",
3
+ "version": "0.0.0-declaration-maps-20250730004430",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -56,16 +56,16 @@
56
56
  "typescript": "^5.8.3",
57
57
  "typescript-eslint": "^8.38.0",
58
58
  "vitest": "^3.2.4",
59
- "@internal/lint": "0.0.0-declaration-maps-20250729224949",
60
- "@mastra/core": "0.0.0-declaration-maps-20250729224949"
59
+ "@mastra/core": "0.0.0-declaration-maps-20250730004430",
60
+ "@internal/lint": "0.0.0-declaration-maps-20250730004430"
61
61
  },
62
62
  "peerDependencies": {
63
- "@mastra/core": "0.0.0-declaration-maps-20250729224949"
63
+ "@mastra/core": "0.0.0-declaration-maps-20250730004430"
64
64
  },
65
65
  "scripts": {
66
66
  "check": "tsc --noEmit",
67
- "build": "pnpm run check && tsup --silent src/index.ts src/processors/index.ts --format esm,cjs --clean --treeshake=smallest --splitting --sourcemap --no-dts && tsc -p tsconfig.build.json",
68
- "build:watch": "pnpm build --watch",
67
+ "build": "pnpm run check && tsup --silent --config tsup.config.ts",
68
+ "build:watch": "tsup --watch --silent --config tsup.config.ts",
69
69
  "test:integration": "cd integration-tests && pnpm run test",
70
70
  "test:unit": "pnpm vitest run ./src/*",
71
71
  "test": "pnpm test:integration && pnpm test:unit",
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', 'src/processors/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
+ });