sequoia-cli 0.5.4 → 0.5.5

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.
Files changed (2) hide show
  1. package/dist/index.js +5 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -104764,10 +104764,13 @@ Matching documents to local files:
104764
104764
  } else {
104765
104765
  contentHash = await getContentHash(localPost.rawContent);
104766
104766
  }
104767
+ const existing = state.posts[relativeFilePath];
104767
104768
  state.posts[relativeFilePath] = {
104768
104769
  contentHash,
104769
104770
  atUri: doc.uri,
104770
- lastPublished: doc.value.publishedAt
104771
+ lastPublished: doc.value.publishedAt,
104772
+ slug: localPost.slug,
104773
+ ...existing?.bskyPostRef ? { bskyPostRef: existing.bskyPostRef } : {}
104771
104774
  };
104772
104775
  } else {
104773
104776
  unmatchedCount++;
@@ -105684,7 +105687,7 @@ Publish evergreen content to the ATmosphere
105684
105687
 
105685
105688
  > https://tangled.org/stevedylan.dev/sequoia
105686
105689
  `,
105687
- version: "0.5.4",
105690
+ version: "0.5.5",
105688
105691
  cmds: {
105689
105692
  add: addCommand,
105690
105693
  auth: authCommand,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sequoia-cli",
3
- "version": "0.5.4",
3
+ "version": "0.5.5",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "sequoia": "dist/index.js"