From 3bec16b171ca5f28a834eb2ae27919488f948d35 Mon Sep 17 00:00:00 2001 From: Matt Kane Date: Wed, 1 Apr 2026 13:27:23 +0100 Subject: [PATCH] fix repo urls --- packages/create-emdash/src/index.ts | 10 +-- packages/plugins/ai-moderation/package.json | 87 ++++++++++--------- packages/plugins/api-test/package.json | 67 +++++++------- packages/plugins/atproto/package.json | 5 ++ packages/plugins/audit-log/package.json | 69 ++++++++------- packages/plugins/color/package.json | 5 ++ packages/plugins/embeds/package.json | 77 ++++++++-------- packages/plugins/forms/package.json | 5 ++ .../plugins/marketplace-test/package.json | 5 ++ packages/plugins/sandboxed-test/package.json | 85 +++++++++--------- .../plugins/webhook-notifier/package.json | 69 ++++++++------- 11 files changed, 267 insertions(+), 217 deletions(-) diff --git a/packages/create-emdash/src/index.ts b/packages/create-emdash/src/index.ts index 7381727..04dcca7 100644 --- a/packages/create-emdash/src/index.ts +++ b/packages/create-emdash/src/index.ts @@ -144,16 +144,16 @@ async function main() { const platform = await p.select({ message: "Where will you deploy?", options: [ - { - value: "node", - label: "Node.js", - hint: "SQLite + local file storage", - }, { value: "cloudflare", label: "Cloudflare Workers", hint: "D1 + R2", }, + { + value: "node", + label: "Node.js", + hint: "SQLite + local file storage", + }, ], initialValue: "node", }); diff --git a/packages/plugins/ai-moderation/package.json b/packages/plugins/ai-moderation/package.json index 69f35bb..e71ddd1 100644 --- a/packages/plugins/ai-moderation/package.json +++ b/packages/plugins/ai-moderation/package.json @@ -1,43 +1,48 @@ { - "name": "@emdash-cms/plugin-ai-moderation", - "version": "0.0.2", - "description": "AI-powered comment moderation plugin for EmDash CMS using Cloudflare Workers AI (Llama Guard)", - "type": "module", - "main": "src/descriptor.ts", - "exports": { - ".": "./src/descriptor.ts", - "./plugin": "./src/index.ts", - "./admin": "./src/admin.tsx" - }, - "files": [ - "src" - ], - "keywords": [ - "emdash", - "cms", - "plugin", - "ai", - "moderation", - "comments", - "llama-guard" - ], - "author": "Matt Kane", - "license": "MIT", - "peerDependencies": { - "emdash": "workspace:*", - "react": "^18.0.0 || ^19.0.0", - "@phosphor-icons/react": "^2.1.10", - "@cloudflare/kumo": "^1.0.0" - }, - "devDependencies": { - "@cloudflare/workers-types": "^4.20250224.0", - "@types/react": "catalog:", - "vitest": "catalog:" - }, - "scripts": { - "test": "vitest run", - "typecheck": "tsgo --noEmit" - }, - "dependencies": {}, - "optionalDependencies": {} + "name": "@emdash-cms/plugin-ai-moderation", + "version": "0.0.2", + "description": "AI-powered comment moderation plugin for EmDash CMS using Cloudflare Workers AI (Llama Guard)", + "type": "module", + "main": "src/descriptor.ts", + "exports": { + ".": "./src/descriptor.ts", + "./plugin": "./src/index.ts", + "./admin": "./src/admin.tsx" + }, + "files": [ + "src" + ], + "keywords": [ + "emdash", + "cms", + "plugin", + "ai", + "moderation", + "comments", + "llama-guard" + ], + "author": "Matt Kane", + "license": "MIT", + "peerDependencies": { + "emdash": "workspace:*", + "react": "^18.0.0 || ^19.0.0", + "@phosphor-icons/react": "^2.1.10", + "@cloudflare/kumo": "^1.0.0" + }, + "devDependencies": { + "@cloudflare/workers-types": "^4.20250224.0", + "@types/react": "catalog:", + "vitest": "catalog:" + }, + "scripts": { + "test": "vitest run", + "typecheck": "tsgo --noEmit" + }, + "dependencies": {}, + "optionalDependencies": {}, + "repository": { + "type": "git", + "url": "git+https://github.com/emdash-cms/emdash.git", + "directory": "packages/plugins/ai-moderation" + } } diff --git a/packages/plugins/api-test/package.json b/packages/plugins/api-test/package.json index 88817f5..2a3712f 100644 --- a/packages/plugins/api-test/package.json +++ b/packages/plugins/api-test/package.json @@ -1,32 +1,37 @@ { - "name": "@emdash-cms/plugin-api-test", - "private": true, - "version": "0.0.2", - "description": "Test plugin that exercises all EmDash plugin APIs", - "type": "module", - "main": "src/index.ts", - "exports": { - ".": "./src/index.ts", - "./admin": "./src/admin.tsx" - }, - "files": [ - "src" - ], - "keywords": [ - "emdash", - "cms", - "plugin", - "test", - "api" - ], - "author": "Matt Kane", - "license": "MIT", - "peerDependencies": { - "emdash": "workspace:*", - "react": "^18.0.0 || ^19.0.0", - "@phosphor-icons/react": "^2.1.10" - }, - "dependencies": {}, - "devDependencies": {}, - "optionalDependencies": {} -} \ No newline at end of file + "name": "@emdash-cms/plugin-api-test", + "private": true, + "version": "0.0.2", + "description": "Test plugin that exercises all EmDash plugin APIs", + "type": "module", + "main": "src/index.ts", + "exports": { + ".": "./src/index.ts", + "./admin": "./src/admin.tsx" + }, + "files": [ + "src" + ], + "keywords": [ + "emdash", + "cms", + "plugin", + "test", + "api" + ], + "author": "Matt Kane", + "license": "MIT", + "peerDependencies": { + "emdash": "workspace:*", + "react": "^18.0.0 || ^19.0.0", + "@phosphor-icons/react": "^2.1.10" + }, + "dependencies": {}, + "devDependencies": {}, + "optionalDependencies": {}, + "repository": { + "type": "git", + "url": "git+https://github.com/emdash-cms/emdash.git", + "directory": "packages/plugins/api-test" + } +} diff --git a/packages/plugins/atproto/package.json b/packages/plugins/atproto/package.json index a826779..68dbb7d 100644 --- a/packages/plugins/atproto/package.json +++ b/packages/plugins/atproto/package.json @@ -32,5 +32,10 @@ "scripts": { "test": "vitest run", "typecheck": "tsgo --noEmit" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/emdash-cms/emdash.git", + "directory": "packages/plugins/atproto" } } diff --git a/packages/plugins/audit-log/package.json b/packages/plugins/audit-log/package.json index 6e8f31d..ce29e2b 100644 --- a/packages/plugins/audit-log/package.json +++ b/packages/plugins/audit-log/package.json @@ -1,33 +1,38 @@ { - "name": "@emdash-cms/plugin-audit-log", - "version": "0.0.2", - "description": "Audit logging plugin for EmDash CMS - tracks content changes", - "type": "module", - "main": "src/index.ts", - "exports": { - ".": "./src/index.ts", - "./sandbox": "./src/sandbox-entry.ts" - }, - "files": [ - "src" - ], - "keywords": [ - "emdash", - "cms", - "plugin", - "audit", - "logging", - "history" - ], - "author": "Matt Kane", - "license": "MIT", - "dependencies": {}, - "peerDependencies": { - "emdash": "workspace:*" - }, - "devDependencies": {}, - "scripts": { - "typecheck": "tsgo --noEmit" - }, - "optionalDependencies": {} -} \ No newline at end of file + "name": "@emdash-cms/plugin-audit-log", + "version": "0.0.2", + "description": "Audit logging plugin for EmDash CMS - tracks content changes", + "type": "module", + "main": "src/index.ts", + "exports": { + ".": "./src/index.ts", + "./sandbox": "./src/sandbox-entry.ts" + }, + "files": [ + "src" + ], + "keywords": [ + "emdash", + "cms", + "plugin", + "audit", + "logging", + "history" + ], + "author": "Matt Kane", + "license": "MIT", + "dependencies": {}, + "peerDependencies": { + "emdash": "workspace:*" + }, + "devDependencies": {}, + "scripts": { + "typecheck": "tsgo --noEmit" + }, + "optionalDependencies": {}, + "repository": { + "type": "git", + "url": "git+https://github.com/emdash-cms/emdash.git", + "directory": "packages/plugins/audit-log" + } +} diff --git a/packages/plugins/color/package.json b/packages/plugins/color/package.json index ce4f444..b467bc9 100644 --- a/packages/plugins/color/package.json +++ b/packages/plugins/color/package.json @@ -30,5 +30,10 @@ }, "scripts": { "typecheck": "tsgo --noEmit" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/emdash-cms/emdash.git", + "directory": "packages/plugins/color" } } diff --git a/packages/plugins/embeds/package.json b/packages/plugins/embeds/package.json index 84beab6..47676a0 100644 --- a/packages/plugins/embeds/package.json +++ b/packages/plugins/embeds/package.json @@ -1,37 +1,42 @@ { - "name": "@emdash-cms/plugin-embeds", - "version": "0.0.2", - "description": "Embed blocks for EmDash CMS - YouTube, Vimeo, Twitter, Bluesky, Mastodon, and more", - "type": "module", - "main": "src/index.ts", - "exports": { - ".": "./src/index.ts", - "./astro": "./src/astro/index.ts" - }, - "files": [ - "src" - ], - "keywords": [ - "emdash", - "cms", - "plugin", - "embed", - "youtube", - "vimeo", - "twitter", - "bluesky" - ], - "author": "Matt Kane", - "license": "MIT", - "peerDependencies": { - "astro": ">=6.0.0-beta.0", - "emdash": "workspace:*" - }, - "dependencies": { - "@emdash-cms/blocks": "workspace:*", - "astro-embed": "^0.12.0" - }, - "scripts": { - "typecheck": "tsgo --noEmit" - } -} \ No newline at end of file + "name": "@emdash-cms/plugin-embeds", + "version": "0.0.2", + "description": "Embed blocks for EmDash CMS - YouTube, Vimeo, Twitter, Bluesky, Mastodon, and more", + "type": "module", + "main": "src/index.ts", + "exports": { + ".": "./src/index.ts", + "./astro": "./src/astro/index.ts" + }, + "files": [ + "src" + ], + "keywords": [ + "emdash", + "cms", + "plugin", + "embed", + "youtube", + "vimeo", + "twitter", + "bluesky" + ], + "author": "Matt Kane", + "license": "MIT", + "peerDependencies": { + "astro": ">=6.0.0-beta.0", + "emdash": "workspace:*" + }, + "dependencies": { + "@emdash-cms/blocks": "workspace:*", + "astro-embed": "^0.12.0" + }, + "scripts": { + "typecheck": "tsgo --noEmit" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/emdash-cms/emdash.git", + "directory": "packages/plugins/embeds" + } +} diff --git a/packages/plugins/forms/package.json b/packages/plugins/forms/package.json index 6e2dd53..8409d45 100644 --- a/packages/plugins/forms/package.json +++ b/packages/plugins/forms/package.json @@ -36,5 +36,10 @@ }, "scripts": { "typecheck": "tsgo --noEmit" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/emdash-cms/emdash.git", + "directory": "packages/plugins/forms" } } diff --git a/packages/plugins/marketplace-test/package.json b/packages/plugins/marketplace-test/package.json index 357db00..0c5fd84 100644 --- a/packages/plugins/marketplace-test/package.json +++ b/packages/plugins/marketplace-test/package.json @@ -35,5 +35,10 @@ "devDependencies": { "tsdown": "catalog:", "typescript": "catalog:" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/emdash-cms/emdash.git", + "directory": "packages/plugins/marketplace-test" } } diff --git a/packages/plugins/sandboxed-test/package.json b/packages/plugins/sandboxed-test/package.json index 9c1d9ce..51f0792 100644 --- a/packages/plugins/sandboxed-test/package.json +++ b/packages/plugins/sandboxed-test/package.json @@ -1,41 +1,46 @@ { - "name": "@emdash-cms/plugin-sandboxed-test", - "private": true, - "version": "0.0.2", - "description": "Test plugin for sandboxed plugin system", - "type": "module", - "main": "dist/index.mjs", - "exports": { - ".": { - "import": "./dist/index.mjs", - "types": "./dist/index.d.mts" - }, - "./sandbox": "./dist/sandbox-entry.mjs" - }, - "files": [ - "dist" - ], - "scripts": { - "build": "tsdown src/index.ts src/sandbox-entry.ts --format esm --dts --clean", - "dev": "tsdown src/index.ts src/sandbox-entry.ts --format esm --dts --watch", - "typecheck": "tsgo --noEmit" - }, - "keywords": [ - "emdash", - "cms", - "plugin", - "test", - "sandbox" - ], - "author": "Matt Kane", - "license": "MIT", - "dependencies": { - "emdash": "workspace:*" - }, - "devDependencies": { - "tsdown": "catalog:", - "typescript": "catalog:" - }, - "peerDependencies": {}, - "optionalDependencies": {} -} \ No newline at end of file + "name": "@emdash-cms/plugin-sandboxed-test", + "private": true, + "version": "0.0.2", + "description": "Test plugin for sandboxed plugin system", + "type": "module", + "main": "dist/index.mjs", + "exports": { + ".": { + "import": "./dist/index.mjs", + "types": "./dist/index.d.mts" + }, + "./sandbox": "./dist/sandbox-entry.mjs" + }, + "files": [ + "dist" + ], + "scripts": { + "build": "tsdown src/index.ts src/sandbox-entry.ts --format esm --dts --clean", + "dev": "tsdown src/index.ts src/sandbox-entry.ts --format esm --dts --watch", + "typecheck": "tsgo --noEmit" + }, + "keywords": [ + "emdash", + "cms", + "plugin", + "test", + "sandbox" + ], + "author": "Matt Kane", + "license": "MIT", + "dependencies": { + "emdash": "workspace:*" + }, + "devDependencies": { + "tsdown": "catalog:", + "typescript": "catalog:" + }, + "peerDependencies": {}, + "optionalDependencies": {}, + "repository": { + "type": "git", + "url": "git+https://github.com/emdash-cms/emdash.git", + "directory": "packages/plugins/sandboxed-test" + } +} diff --git a/packages/plugins/webhook-notifier/package.json b/packages/plugins/webhook-notifier/package.json index 7a5d074..f47dfdb 100644 --- a/packages/plugins/webhook-notifier/package.json +++ b/packages/plugins/webhook-notifier/package.json @@ -1,33 +1,38 @@ { - "name": "@emdash-cms/plugin-webhook-notifier", - "version": "0.0.2", - "description": "Webhook notification plugin for EmDash CMS - posts to external URLs on content changes", - "type": "module", - "main": "src/index.ts", - "exports": { - ".": "./src/index.ts", - "./sandbox": "./src/sandbox-entry.ts" - }, - "files": [ - "src" - ], - "keywords": [ - "emdash", - "cms", - "plugin", - "webhook", - "notifications", - "integration" - ], - "author": "Matt Kane", - "license": "MIT", - "peerDependencies": { - "emdash": "workspace:*" - }, - "devDependencies": {}, - "scripts": { - "typecheck": "tsgo --noEmit" - }, - "dependencies": {}, - "optionalDependencies": {} -} \ No newline at end of file + "name": "@emdash-cms/plugin-webhook-notifier", + "version": "0.0.2", + "description": "Webhook notification plugin for EmDash CMS - posts to external URLs on content changes", + "type": "module", + "main": "src/index.ts", + "exports": { + ".": "./src/index.ts", + "./sandbox": "./src/sandbox-entry.ts" + }, + "files": [ + "src" + ], + "keywords": [ + "emdash", + "cms", + "plugin", + "webhook", + "notifications", + "integration" + ], + "author": "Matt Kane", + "license": "MIT", + "peerDependencies": { + "emdash": "workspace:*" + }, + "devDependencies": {}, + "scripts": { + "typecheck": "tsgo --noEmit" + }, + "dependencies": {}, + "optionalDependencies": {}, + "repository": { + "type": "git", + "url": "git+https://github.com/emdash-cms/emdash.git", + "directory": "packages/plugins/webhook-notifier" + } +}