pakstr 0.15.0 → 0.16.0
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.
- package/dist/commands/publish.js +4 -1
- package/package.json +1 -1
package/dist/commands/publish.js
CHANGED
|
@@ -103,14 +103,17 @@ async function publishCommand(configPath, options = {}) {
|
|
|
103
103
|
pubkeyHex,
|
|
104
104
|
relayUrl: config.publish.relay,
|
|
105
105
|
});
|
|
106
|
+
console.log(`📋 Existing kind-32267: ${existingAppMetadata?.id ?? "none"}`);
|
|
106
107
|
const appMetadata = existingAppMetadata && (0, zapStore_1.isCurrentAppMetadataEvent)(existingAppMetadata, appPublish.appMetadata)
|
|
107
108
|
? existingAppMetadata
|
|
108
109
|
: appPublish.appMetadata;
|
|
109
110
|
if (appMetadata === appPublish.appMetadata) {
|
|
111
|
+
console.log("📤 Publishing kind-32267...");
|
|
110
112
|
await transport.publish(appMetadata, config.publish.relay);
|
|
113
|
+
console.log(`✅ Published kind-32267: ${appMetadata.id}`);
|
|
111
114
|
}
|
|
112
115
|
else {
|
|
113
|
-
console.log("
|
|
116
|
+
console.log("✅ kind-32267 already up to date, skipping publish");
|
|
114
117
|
}
|
|
115
118
|
if (options.dryRun) {
|
|
116
119
|
// No network, no APK required. Synthesize a stub descriptor so the events
|