@absolutejs/artifacts 0.0.5 → 0.1.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@absolutejs/artifacts",
3
- "version": "0.0.5",
3
+ "version": "0.1.0",
4
4
  "description": "Typed, versioned artifacts for AI products — schemas, lifecycle, storage, rendering, publishing, revisions, and agent tools without prescribing a database or host.",
5
5
  "author": "Alex Kahn",
6
6
  "license": "BUSL-1.1",
@@ -21,7 +21,7 @@
21
21
  "url": "https://github.com/absolutejs/artifacts/issues"
22
22
  },
23
23
  "scripts": {
24
- "build": "rm -rf dist && bun build src/index.ts src/manifest.ts src/rag.ts --outdir dist --root ./src --target=bun --external @absolutejs/rag --external @sinclair/typebox --external @sinclair/typebox/value && tsc --emitDeclarationOnly --project tsconfig.json && absolute-manifest emit",
24
+ "build": "rm -rf dist && bun build src/index.ts src/drizzle.ts src/manifest.ts src/rag.ts --outdir dist --root ./src --target=bun --external @absolutejs/rag --external @sinclair/typebox --external @sinclair/typebox/value --external drizzle-orm --external 'drizzle-orm/*' --external drizzle-typebox && tsc --emitDeclarationOnly --project tsconfig.json && absolute-manifest emit",
25
25
  "format": "prettier --write \"./**/*.{ts,json,md}\"",
26
26
  "release": "bun run format && bun run test && bun run build && bun publish",
27
27
  "test": "bun test",
@@ -45,6 +45,11 @@
45
45
  "default": "./dist/manifest.js"
46
46
  },
47
47
  "./manifest.json": "./dist/manifest.json",
48
+ "./drizzle": {
49
+ "types": "./dist/src/drizzle.d.ts",
50
+ "import": "./dist/drizzle.js",
51
+ "default": "./dist/drizzle.js"
52
+ },
48
53
  "./rag": {
49
54
  "types": "./dist/src/rag.d.ts",
50
55
  "import": "./dist/rag.js",
@@ -53,19 +58,26 @@
53
58
  },
54
59
  "dependencies": {
55
60
  "@absolutejs/manifest": "^0.4.0",
56
- "@sinclair/typebox": "^0.34.0"
61
+ "@sinclair/typebox": "^0.34.0",
62
+ "drizzle-typebox": "1.0.0-beta.14-a36c63d"
57
63
  },
58
64
  "peerDependencies": {
59
- "@absolutejs/rag": ">=0.0.29"
65
+ "@absolutejs/rag": ">=0.0.29",
66
+ "drizzle-orm": ">=1.0.0-rc.4 <2"
60
67
  },
61
68
  "peerDependenciesMeta": {
62
69
  "@absolutejs/rag": {
63
70
  "optional": true
71
+ },
72
+ "drizzle-orm": {
73
+ "optional": true
64
74
  }
65
75
  },
66
76
  "devDependencies": {
67
77
  "@absolutejs/rag": "0.0.29",
78
+ "@electric-sql/pglite": "0.3.14",
68
79
  "@types/bun": "latest",
80
+ "drizzle-orm": "1.0.0-rc.4",
69
81
  "prettier": "3.5.3",
70
82
  "typescript": "5.8.3"
71
83
  }