@commonpub/server 2.1.0 → 2.1.1
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 +102 -39
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commonpub/server",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Framework-agnostic business logic for CommonPub instances",
|
|
6
6
|
"license": "AGPL-3.0-or-later",
|
|
@@ -9,49 +9,104 @@
|
|
|
9
9
|
"url": "https://github.com/commonpub/commonpub",
|
|
10
10
|
"directory": "packages/server"
|
|
11
11
|
},
|
|
12
|
-
"keywords": [
|
|
13
|
-
|
|
14
|
-
|
|
12
|
+
"keywords": [
|
|
13
|
+
"commonpub",
|
|
14
|
+
"activitypub",
|
|
15
|
+
"federation",
|
|
16
|
+
"typescript",
|
|
17
|
+
"server",
|
|
18
|
+
"business-logic"
|
|
19
|
+
],
|
|
20
|
+
"publishConfig": {
|
|
21
|
+
"access": "public"
|
|
22
|
+
},
|
|
23
|
+
"engines": {
|
|
24
|
+
"node": ">=22"
|
|
25
|
+
},
|
|
15
26
|
"sideEffects": false,
|
|
16
27
|
"main": "./dist/index.js",
|
|
17
28
|
"types": "./dist/index.d.ts",
|
|
18
29
|
"exports": {
|
|
19
|
-
".": {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
"./
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
"./
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
"./
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
"
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
"
|
|
44
|
-
|
|
30
|
+
".": {
|
|
31
|
+
"types": "./dist/index.d.ts",
|
|
32
|
+
"import": "./dist/index.js"
|
|
33
|
+
},
|
|
34
|
+
"./types": {
|
|
35
|
+
"types": "./dist/types.d.ts",
|
|
36
|
+
"import": "./dist/types.js"
|
|
37
|
+
},
|
|
38
|
+
"./query": {
|
|
39
|
+
"types": "./dist/query.d.ts",
|
|
40
|
+
"import": "./dist/query.js"
|
|
41
|
+
},
|
|
42
|
+
"./content": {
|
|
43
|
+
"types": "./dist/content/index.d.ts",
|
|
44
|
+
"import": "./dist/content/index.js"
|
|
45
|
+
},
|
|
46
|
+
"./hub": {
|
|
47
|
+
"types": "./dist/hub/index.d.ts",
|
|
48
|
+
"import": "./dist/hub/index.js"
|
|
49
|
+
},
|
|
50
|
+
"./social": {
|
|
51
|
+
"types": "./dist/social/index.d.ts",
|
|
52
|
+
"import": "./dist/social/index.js"
|
|
53
|
+
},
|
|
54
|
+
"./learning": {
|
|
55
|
+
"types": "./dist/learning/index.d.ts",
|
|
56
|
+
"import": "./dist/learning/index.js"
|
|
57
|
+
},
|
|
58
|
+
"./docs": {
|
|
59
|
+
"types": "./dist/docs/index.d.ts",
|
|
60
|
+
"import": "./dist/docs/index.js"
|
|
61
|
+
},
|
|
62
|
+
"./product": {
|
|
63
|
+
"types": "./dist/product/index.d.ts",
|
|
64
|
+
"import": "./dist/product/index.js"
|
|
65
|
+
},
|
|
66
|
+
"./contest": {
|
|
67
|
+
"types": "./dist/contest/index.d.ts",
|
|
68
|
+
"import": "./dist/contest/index.js"
|
|
69
|
+
},
|
|
70
|
+
"./admin": {
|
|
71
|
+
"types": "./dist/admin/index.d.ts",
|
|
72
|
+
"import": "./dist/admin/index.js"
|
|
73
|
+
},
|
|
74
|
+
"./notification": {
|
|
75
|
+
"types": "./dist/notification/index.d.ts",
|
|
76
|
+
"import": "./dist/notification/index.js"
|
|
77
|
+
},
|
|
78
|
+
"./messaging": {
|
|
79
|
+
"types": "./dist/messaging/index.d.ts",
|
|
80
|
+
"import": "./dist/messaging/index.js"
|
|
81
|
+
},
|
|
82
|
+
"./video": {
|
|
83
|
+
"types": "./dist/video/index.d.ts",
|
|
84
|
+
"import": "./dist/video/index.js"
|
|
85
|
+
},
|
|
86
|
+
"./profile": {
|
|
87
|
+
"types": "./dist/profile/index.d.ts",
|
|
88
|
+
"import": "./dist/profile/index.js"
|
|
89
|
+
},
|
|
90
|
+
"./federation": {
|
|
91
|
+
"types": "./dist/federation/index.d.ts",
|
|
92
|
+
"import": "./dist/federation/index.js"
|
|
93
|
+
}
|
|
45
94
|
},
|
|
95
|
+
"files": [
|
|
96
|
+
"dist/",
|
|
97
|
+
"!dist/__tests__/",
|
|
98
|
+
"README.md",
|
|
99
|
+
"LICENSE"
|
|
100
|
+
],
|
|
46
101
|
"dependencies": {
|
|
47
|
-
"
|
|
48
|
-
"@commonpub/
|
|
49
|
-
"@commonpub/
|
|
50
|
-
"@commonpub/
|
|
51
|
-
"@commonpub/
|
|
52
|
-
"@commonpub/
|
|
53
|
-
"@commonpub/
|
|
54
|
-
"
|
|
102
|
+
"isomorphic-dompurify": "^3.3.0",
|
|
103
|
+
"@commonpub/auth": "0.5.0",
|
|
104
|
+
"@commonpub/config": "0.7.0",
|
|
105
|
+
"@commonpub/docs": "0.5.0",
|
|
106
|
+
"@commonpub/infra": "0.5.0",
|
|
107
|
+
"@commonpub/learning": "0.5.0",
|
|
108
|
+
"@commonpub/protocol": "0.9.0",
|
|
109
|
+
"@commonpub/schema": "0.8.0"
|
|
55
110
|
},
|
|
56
111
|
"peerDependencies": {
|
|
57
112
|
"drizzle-orm": "^0.45.1"
|
|
@@ -62,5 +117,13 @@
|
|
|
62
117
|
"drizzle-kit": "^0.31.10",
|
|
63
118
|
"typescript": "^5.7.0",
|
|
64
119
|
"vitest": "^3.0.0"
|
|
120
|
+
},
|
|
121
|
+
"scripts": {
|
|
122
|
+
"build": "tsc",
|
|
123
|
+
"dev": "tsc --watch",
|
|
124
|
+
"test": "vitest run",
|
|
125
|
+
"lint": "eslint src/",
|
|
126
|
+
"typecheck": "tsc --noEmit",
|
|
127
|
+
"clean": "rm -rf dist"
|
|
65
128
|
}
|
|
66
|
-
}
|
|
129
|
+
}
|