@elizaos/plugin-sql 1.0.0-alpha.6 → 1.0.0-alpha.60

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.
@@ -0,0 +1,13 @@
1
+ {
2
+ "version": "7",
3
+ "dialect": "postgresql",
4
+ "entries": [
5
+ {
6
+ "idx": 0,
7
+ "version": "7",
8
+ "when": 1740921883121,
9
+ "tag": "20250302132443_init",
10
+ "breakpoints": true
11
+ }
12
+ ]
13
+ }
package/package.json CHANGED
@@ -1,10 +1,14 @@
1
1
  {
2
2
  "name": "@elizaos/plugin-sql",
3
- "version": "1.0.0-alpha.6",
3
+ "version": "1.0.0-alpha.60",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",
7
7
  "types": "dist/index.d.ts",
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "https://github.com/elizaos-plugins/plugin-sql"
11
+ },
8
12
  "publishConfig": {
9
13
  "access": "public"
10
14
  },
@@ -12,35 +16,37 @@
12
16
  "./package.json": "./package.json",
13
17
  ".": {
14
18
  "import": {
15
- "@elizaos/source": "./src/index.ts",
16
19
  "types": "./dist/index.d.ts",
17
20
  "default": "./dist/index.js"
18
21
  }
19
22
  }
20
23
  },
21
24
  "files": [
22
- "dist"
25
+ "dist",
26
+ "drizzle"
23
27
  ],
24
28
  "dependencies": {
25
29
  "@electric-sql/pglite": "^0.2.17",
26
- "@elizaos/core": "1.0.0-alpha.6",
30
+ "@elizaos/core": "^1.0.0-alpha.60",
27
31
  "@types/pg": "8.11.10",
28
32
  "drizzle-kit": "^0.30.4",
29
33
  "drizzle-orm": "^0.39.1",
30
- "pg": "8.13.1"
34
+ "pg": "^8.13.3"
31
35
  },
32
36
  "devDependencies": {
33
37
  "dockerode": "^4.0.4",
34
38
  "tsup": "8.4.0"
35
39
  },
36
40
  "scripts": {
37
- "build": "tsup --format esm --dts",
38
- "dev": "tsup --format esm --dts --watch",
41
+ "build": "tsup",
42
+ "dev": "tsup --watch",
39
43
  "migrate:generate": "drizzle-kit generate:pg",
40
- "migrate": "tsup src/migrate.ts --format esm --onSuccess \"node dist/migrate.js\""
44
+ "migrate": "tsup src/migrate.ts --format esm --clean=false --onSuccess=\"node dist/migrate.js\"",
45
+ "lint": "biome check ./src --config-path=./ --apply-unsafe && biome format ./ --config-path=./ --write",
46
+ "clean": "rm -rf dist .turbo node_modules .turbo-tsconfig.json tsconfig.tsbuildinfo"
41
47
  },
42
48
  "peerDependencies": {
43
49
  "typescript": "5.8.2"
44
50
  },
45
- "gitHead": "c24f630188d19edcd867cae693fe4855e508e25a"
51
+ "gitHead": "5d49393471bc8f81c5d9852d6ed70875c70e1227"
46
52
  }
package/dist/index.d.ts DELETED
@@ -1,9 +0,0 @@
1
- import { Plugin, UUID, IDatabaseAdapter } from '@elizaos/core';
2
-
3
- declare function createDatabaseAdapter(config: {
4
- dataDir?: string;
5
- postgresUrl?: string;
6
- }, agentId: UUID): IDatabaseAdapter;
7
- declare const drizzlePlugin: Plugin;
8
-
9
- export { createDatabaseAdapter, drizzlePlugin as default };