diff --git a/make-index.mjs b/make-index.mjs index fc5a215..330792c 100644 --- a/make-index.mjs +++ b/make-index.mjs @@ -1,7 +1,7 @@ // Regenerate the QQ plugin market index (DSH plugin-market index format 1). // // The index lists the QQ-dsh bundle and its four components. Each entry's -// install source is the bundle's Gitea repository pinned to the branch HEAD +// install source is the org's Gitea npm registry (registry spec -> DSH shows its native update button); versions are read live from each repo's package.json // commit at generation time, so re-running this after a release is the whole // maintenance story. The Gitea repos are public, so the branch endpoints are // read anonymously. Output: ./index.json next to this script. @@ -91,7 +91,7 @@ for (const plugin of PLUGINS) { { version: version, publishTimestamp: head.timestamp, - source: { type: 'git', url: `${WEB}/${plugin.repo}`, commit: head.commit }, + source: { type: 'npm', registry: 'https://git.qyhhh.top/api/packages/DeepsSeekHarness/npm' }, engines: {}, }, ],