@commonpub/schema 0.4.1 → 0.4.2

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.
Files changed (1) hide show
  1. package/package.json +30 -18
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@commonpub/schema",
3
- "version": "0.4.1",
3
+ "version": "0.4.2",
4
4
  "type": "module",
5
5
  "description": "Drizzle ORM tables and Zod validators for CommonPub",
6
6
  "license": "AGPL-3.0-or-later",
@@ -9,7 +9,15 @@
9
9
  "url": "https://github.com/commonpub/commonpub",
10
10
  "directory": "packages/schema"
11
11
  },
12
- "keywords": ["commonpub", "activitypub", "federation", "typescript", "drizzle", "schema", "zod"],
12
+ "keywords": [
13
+ "commonpub",
14
+ "activitypub",
15
+ "federation",
16
+ "typescript",
17
+ "drizzle",
18
+ "schema",
19
+ "zod"
20
+ ],
13
21
  "publishConfig": {
14
22
  "access": "public"
15
23
  },
@@ -33,10 +41,27 @@
33
41
  "import": "./dist/enums.js"
34
42
  }
35
43
  },
36
- "files": ["dist/", "!dist/__tests__/", "README.md", "LICENSE"],
44
+ "files": [
45
+ "dist/",
46
+ "!dist/__tests__/",
47
+ "README.md",
48
+ "LICENSE"
49
+ ],
50
+ "dependencies": {
51
+ "zod": "^4.3.6"
52
+ },
53
+ "peerDependencies": {
54
+ "drizzle-orm": "^0.45.1"
55
+ },
56
+ "devDependencies": {
57
+ "drizzle-kit": "^0.31.10",
58
+ "drizzle-orm": "^0.45.1",
59
+ "pg": "^8.13.0",
60
+ "typescript": "^5.7.0",
61
+ "vitest": "^3.0.0"
62
+ },
37
63
  "scripts": {
38
64
  "build": "tsc",
39
- "prepublishOnly": "pnpm run build",
40
65
  "dev": "tsc --watch",
41
66
  "test": "vitest run",
42
67
  "test:watch": "vitest",
@@ -48,18 +73,5 @@
48
73
  "db:generate": "drizzle-kit generate",
49
74
  "db:migrate": "drizzle-kit migrate",
50
75
  "db:studio": "drizzle-kit studio"
51
- },
52
- "dependencies": {
53
- "zod": "^4.3.6"
54
- },
55
- "peerDependencies": {
56
- "drizzle-orm": "^0.45.1"
57
- },
58
- "devDependencies": {
59
- "drizzle-kit": "^0.31.10",
60
- "drizzle-orm": "^0.45.1",
61
- "pg": "^8.13.0",
62
- "typescript": "^5.7.0",
63
- "vitest": "^3.0.0"
64
76
  }
65
- }
77
+ }