@mastra/libsql 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/libsql
2
2
 
3
- ## 0.0.0-declaration-maps-20250729224949
3
+ ## 0.0.0-declaration-maps-20250730004430
4
4
 
5
5
  ### Patch Changes
6
6
 
@@ -43,7 +43,7 @@
43
43
  - Updated dependencies [b8efbb9]
44
44
  - Updated dependencies [71466e7]
45
45
  - Updated dependencies [0c99fbe]
46
- - @mastra/core@0.0.0-declaration-maps-20250729224949
46
+ - @mastra/core@0.0.0-declaration-maps-20250730004430
47
47
 
48
48
  ## 0.11.3-alpha.1
49
49
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastra/libsql",
3
- "version": "0.0.0-declaration-maps-20250729224949",
3
+ "version": "0.0.0-declaration-maps-20250730004430",
4
4
  "description": "Libsql provider for Mastra - includes both vector and db storage capabilities",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -29,16 +29,16 @@
29
29
  "tsup": "^8.5.0",
30
30
  "typescript": "^5.8.3",
31
31
  "vitest": "^3.2.4",
32
- "@internal/lint": "0.0.0-declaration-maps-20250729224949",
33
32
  "@internal/storage-test-utils": "0.0.19",
34
- "@mastra/core": "0.0.0-declaration-maps-20250729224949"
33
+ "@internal/lint": "0.0.0-declaration-maps-20250730004430",
34
+ "@mastra/core": "0.0.0-declaration-maps-20250730004430"
35
35
  },
36
36
  "peerDependencies": {
37
- "@mastra/core": "0.0.0-declaration-maps-20250729224949"
37
+ "@mastra/core": "0.0.0-declaration-maps-20250730004430"
38
38
  },
39
39
  "scripts": {
40
- "build": "tsup src/index.ts --format esm,cjs --no-dts --clean --treeshake=smallest --splitting --sourcemap && tsc -p tsconfig.build.json",
41
- "build:watch": "pnpm build --watch",
40
+ "build": "tsup --silent --config tsup.config.ts",
41
+ "build:watch": "tsup --watch --silent --config tsup.config.ts",
42
42
  "test": "vitest run",
43
43
  "lint": "eslint ."
44
44
  }
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
+ });