From f61ef4aaad0a560428373508e49efa8bf5d0dbf6 Mon Sep 17 00:00:00 2001 From: saberzero1 Date: Tue, 17 Feb 2026 17:44:55 +0100 Subject: [PATCH] chore: add quartz plugin manifest, remove legacy manifest.ts --- package.json | 18 ++++++++++++++++++ src/index.ts | 1 - src/manifest.ts | 18 ------------------ 3 files changed, 18 insertions(+), 19 deletions(-) delete mode 100644 src/manifest.ts diff --git a/package.json b/package.json index ca2afe4..03a38d6 100644 --- a/package.json +++ b/package.json @@ -83,6 +83,24 @@ "typescript": "^5.9.3", "vitest": "^2.1.9" }, + "quartz": { + "name": "graph", + "displayName": "Graph", + "category": "emitter", + "version": "1.0.0", + "quartzVersion": ">=5.0.0", + "dependencies": [], + "defaultOrder": 50, + "defaultEnabled": true, + "defaultOptions": {}, + "components": { + "Graph": { + "displayName": "Graph", + "defaultPosition": "right", + "defaultPriority": 10 + } + } + }, "engines": { "node": ">=22", "npm": ">=10.9.2" diff --git a/src/index.ts b/src/index.ts index 138588e..fc1bd99 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,3 +1,2 @@ export { default as Graph } from "./components/Graph"; export type { GraphOptions, D3Config } from "./components/Graph"; -export { manifest } from "./manifest"; diff --git a/src/manifest.ts b/src/manifest.ts deleted file mode 100644 index 10684e6..0000000 --- a/src/manifest.ts +++ /dev/null @@ -1,18 +0,0 @@ -export const manifest = { - name: "@quartz-community/graph", - displayName: "Graph", - description: - "Interactive graph visualization component for Quartz - visualize your content as a network graph.", - version: "0.1.0", - category: "component", - quartzVersion: "^4.5.0", - components: { - Graph: { - name: "Graph", - displayName: "Graph", - description: - "Visualize your content as an interactive network graph with local and global views", - version: "0.1.0", - }, - }, -};