@ericsanchezok/synergy-plugin-kit 2.2.2 → 2.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -15,7 +15,7 @@ export declare const PluginPublishMarketCommand: import("yargs").CommandModule<{
15
15
  } & {
16
16
  "skip-release-upload": boolean;
17
17
  } & {
18
- "no-pr": boolean;
18
+ pr: boolean;
19
19
  } & {
20
20
  changelog: string | undefined;
21
21
  } & {
@@ -87,6 +87,7 @@ async function ensureGitHubReleaseAssets(input) {
87
87
  }
88
88
  async function runRegistryValidation(registryDir) {
89
89
  await $ `bun install`.cwd(registryDir);
90
+ await $ `bun run build-registry`.cwd(registryDir);
90
91
  await $ `bun run validate`.cwd(registryDir);
91
92
  await $ `bun run build-registry --check`.cwd(registryDir);
92
93
  }
@@ -158,10 +159,10 @@ export const PluginPublishMarketCommand = cmd({
158
159
  default: false,
159
160
  describe: "do not create/upload GitHub Release assets",
160
161
  })
161
- .option("no-pr", {
162
+ .option("pr", {
162
163
  type: "boolean",
163
- default: false,
164
- describe: "prepare registry changes but do not open a PR",
164
+ default: true,
165
+ describe: "open a PR after preparing registry changes; pass --no-pr to skip",
165
166
  })
166
167
  .option("changelog", {
167
168
  type: "string",
@@ -212,7 +213,7 @@ export const PluginPublishMarketCommand = cmd({
212
213
  registryDir,
213
214
  pluginId: entry.id,
214
215
  version: manifest.version,
215
- noPr: Boolean(args["no-pr"]),
216
+ noPr: args.pr === false,
216
217
  });
217
218
  UI.println(`${UI.Style.TEXT_SUCCESS}✔${UI.Style.TEXT_NORMAL} Marketplace publishing request prepared for ${entry.id} v${manifest.version}`);
218
219
  }
@@ -21,6 +21,10 @@ export interface GithubRegistryEntry {
21
21
  version: string;
22
22
  downloadUrl: string;
23
23
  signatureUrl: string;
24
+ signature: {
25
+ algorithm: "ed25519";
26
+ signer: string;
27
+ };
24
28
  integrity: string;
25
29
  manifestHash: string;
26
30
  permissionsHash: string;
@@ -150,6 +150,10 @@ export function githubEntry(input) {
150
150
  version: manifest.version,
151
151
  downloadUrl,
152
152
  signatureUrl,
153
+ signature: {
154
+ algorithm: "ed25519",
155
+ signer: signature.signer,
156
+ },
153
157
  integrity,
154
158
  manifestHash,
155
159
  permissionsHash,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "@ericsanchezok/synergy-plugin-kit",
4
- "version": "2.2.2",
4
+ "version": "2.2.3",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "repository": {
@@ -34,7 +34,7 @@
34
34
  "dist"
35
35
  ],
36
36
  "dependencies": {
37
- "@ericsanchezok/synergy-plugin": "2.2.1",
37
+ "@ericsanchezok/synergy-plugin": "2.2.2",
38
38
  "yargs": "18.0.0"
39
39
  },
40
40
  "peerDependencies": {