@puzzle-ui/storage-d1 0.0.0-stage → 0.5.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/dist/index.js ADDED
@@ -0,0 +1,3 @@
1
+ import { D1StorageAdapter } from "./d1.adapter.js";
2
+ import { D1StorageMigrationAdapter } from "./d1.migrations.js";
3
+ export { D1StorageAdapter, D1StorageMigrationAdapter };
package/package.json CHANGED
@@ -1,6 +1,49 @@
1
1
  {
2
2
  "name": "@puzzle-ui/storage-d1",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.5.0",
4
+ "description": "Cloudflare D1 storage adapter foundation for Puzzle Auth.",
5
+ "license": "MIT",
6
+ "publishConfig": {
7
+ "access": "public",
8
+ "registry": "https://registry.npmjs.org/"
9
+ },
10
+ "type": "module",
11
+ "main": "./dist/index.cjs",
12
+ "module": "./dist/index.js",
13
+ "types": "./dist/index.d.ts",
14
+ "exports": {
15
+ ".": {
16
+ "import": {
17
+ "types": "./dist/index.d.ts",
18
+ "default": "./dist/index.js"
19
+ },
20
+ "require": {
21
+ "types": "./dist/index.d.cts",
22
+ "default": "./dist/index.cjs"
23
+ }
24
+ }
25
+ },
26
+ "files": [
27
+ "dist"
28
+ ],
29
+ "sideEffects": false,
30
+ "scripts": {
31
+ "build": "tsdown",
32
+ "typecheck": "tsc --noEmit -p .",
33
+ "test": "bun test tests --timeout 30000",
34
+ "vitest": "bun test tests --timeout 30000",
35
+ "clean": "rm -rf dist",
36
+ "prepack": "tsdown"
37
+ },
38
+ "devDependencies": {
39
+ "@types/bun": "^1.4.4",
40
+ "@types/node": "^26.6.6",
41
+ "bun": "^1.4.4",
42
+ "miniflare": "^4.20260730.0",
43
+ "tsdown": "^0.23.1",
44
+ "typescript": "^7.0.2"
45
+ },
46
+ "dependencies": {
47
+ "@puzzle-ui/storage": "^0.5.0"
48
+ }
49
+ }