Skip to content

Commit 622b42f

Browse files
authored
feat(registry): add moderation evaluator (#1917)
1 parent 66ad9d9 commit 622b42f

10 files changed

Lines changed: 857 additions & 1 deletion

File tree

.changeset/shiny-ants-deny.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@emdash-cms/registry-moderation": patch
3+
---
4+
5+
Adds shared release moderation evaluation for accepted ATProto label streams.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"typecheck:templates": "pnpm run --workspace-concurrency=1 --filter {./templates/*} typecheck",
1111
"check": "pnpm run typecheck && pnpm run --filter {./packages/*} check",
1212
"test": "pnpm run --filter {./packages/*} test",
13-
"test:unit": "pnpm run --filter emdash --filter @emdash-cms/auth --filter @emdash-cms/blocks --filter @emdash-cms/gutenberg-to-portable-text --filter @emdash-cms/marketplace --filter @emdash-cms/plugin-cli --filter @emdash-cms/plugin-forms --filter @emdash-cms/plugin-types --filter @emdash-cms/registry-client --filter @emdash-cms/registry-lexicons test",
13+
"test:unit": "pnpm run --filter emdash --filter @emdash-cms/auth --filter @emdash-cms/blocks --filter @emdash-cms/gutenberg-to-portable-text --filter @emdash-cms/marketplace --filter @emdash-cms/plugin-cli --filter @emdash-cms/plugin-forms --filter @emdash-cms/plugin-types --filter @emdash-cms/registry-client --filter @emdash-cms/registry-lexicons --filter @emdash-cms/registry-moderation test",
1414
"test:browser": "pnpm run --filter @emdash-cms/admin test",
1515
"test:e2e": "playwright test",
1616
"test:e2e:ui": "playwright test --ui",
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
{
2+
"name": "@emdash-cms/registry-moderation",
3+
"version": "0.0.0",
4+
"description": "Shared label reduction and release moderation policy for the EmDash plugin registry.",
5+
"type": "module",
6+
"main": "dist/index.js",
7+
"exports": {
8+
".": {
9+
"types": "./dist/index.d.ts",
10+
"default": "./dist/index.js"
11+
}
12+
},
13+
"files": [
14+
"dist"
15+
],
16+
"scripts": {
17+
"build": "tsdown",
18+
"dev": "tsdown --watch",
19+
"prepublishOnly": "node --run build",
20+
"typecheck": "tsgo --noEmit",
21+
"test": "vitest run",
22+
"check": "publint && attw --pack --ignore-rules=cjs-resolves-to-esm --ignore-rules=no-resolution"
23+
},
24+
"devDependencies": {
25+
"@arethetypeswrong/cli": "catalog:",
26+
"@types/node": "catalog:",
27+
"publint": "catalog:",
28+
"tsdown": "catalog:",
29+
"typescript": "catalog:",
30+
"vitest": "catalog:"
31+
},
32+
"keywords": [
33+
"emdash",
34+
"cms",
35+
"plugin-registry",
36+
"atproto",
37+
"moderation"
38+
],
39+
"author": "Matt Kane",
40+
"license": "MIT",
41+
"repository": {
42+
"type": "git",
43+
"url": "git+https://github.com/emdash-cms/emdash.git",
44+
"directory": "packages/registry-moderation"
45+
},
46+
"homepage": "https://github.com/emdash-cms/emdash"
47+
}

0 commit comments

Comments
 (0)