@justestif/pk 0.3.2 → 0.3.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.
Files changed (2) hide show
  1. package/dist/index.js +2 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -5634,6 +5634,7 @@ async function initRepo(knowledgeDir) {
5634
5634
  }
5635
5635
  await $`git -C ${knowledgeDir} config user.name "pk"`.quiet();
5636
5636
  await $`git -C ${knowledgeDir} config user.email "pk@local"`.quiet();
5637
+ await $`git -C ${knowledgeDir} config commit.gpgsign false`.quiet();
5637
5638
  const gitignorePath = path2.join(knowledgeDir, ".gitignore");
5638
5639
  const ignoreContent = `*.db
5639
5640
  *.db-shm
@@ -5646,7 +5647,7 @@ node_modules
5646
5647
  if (commitResult.exitCode !== 0) {
5647
5648
  throw new Error(`Git commit failed: ${commitResult.stderr.toString()}`);
5648
5649
  }
5649
- await $`git -C ${knowledgeDir} notes add`.quiet().catch(() => {});
5650
+ await $`git -C ${knowledgeDir} notes add -m "pk: initialize notes ref"`.quiet().catch(() => {});
5650
5651
  }
5651
5652
  async function commitKnowledgeFile(filePath, operation) {
5652
5653
  const knowledgeDir = path2.dirname(filePath);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@justestif/pk",
3
3
  "type": "module",
4
- "version": "0.3.2",
4
+ "version": "0.3.3",
5
5
  "description": "Project knowledge — structured intake, search, and recall",
6
6
  "bin": {
7
7
  "pk": "dist/index.js"