[build] add MCP npm publishing workflow

This commit is contained in:
dijunkun committed 2026-11-12 12:36:53 +08:00
1 parent b1236534ac
commit 5f526cd70e
8 files changed
+363 -6

No files matched your search

+1 -1
View File
@@ -79,7 +79,7 @@ try {
optionalDependencies: Object.fromEntries(
Object.values(platforms).map((p) => [p.packageName, nativeVersion]),
),
publishConfig: { access: "public" },
publishConfig: { access: "public", registry: "https://registry.npmjs.org/" },
};
delete manifest.scripts;
delete manifest.devDependencies;