code-foundry 0.34.5 → 0.34.6

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/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.34.6](https://github.com/0xPlayerOne/code-foundry/compare/v0.34.5...v0.34.6) (2026-08-02)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * **sync:** keep prettier ignores idempotent ([5db5307](https://github.com/0xPlayerOne/code-foundry/commit/5db53072fded27a57cca3cedf7c40527cd238507))
9
+
3
10
  ## [0.34.5](https://github.com/0xPlayerOne/code-foundry/compare/v0.34.4...v0.34.5) (2026-08-02)
4
11
 
5
12
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "code-foundry",
3
- "version": "0.34.5",
3
+ "version": "0.34.6",
4
4
  "description": "A fast, language-aware repository factory for agent-ready workflows, testing, security, and release automation.",
5
5
  "type": "module",
6
6
  "license": "AGPL-3.0-or-later",
@@ -412,9 +412,12 @@ function mergeGitignore(baseline, existing) {
412
412
 
413
413
  /** @param {string} baseline @param {string} existing */
414
414
  function mergeIgnoreFile(baseline, existing) {
415
+ const marker = '# Repository-specific rules'
415
416
  const baselineLines = new Set(baseline.split(/\r?\n/).map((line) => line.trim()).filter(Boolean))
416
- const custom = existing.split(/\r?\n/).map((line) => line.trimEnd()).filter((line) => line.trim() && !baselineLines.has(line.trim()))
417
- return custom.length ? `${baseline.trimEnd()}\n\n# Repository-specific rules\n${custom.join('\n')}\n` : baseline
417
+ const custom = existing.split(/\r?\n/)
418
+ .map((line) => line.trimEnd())
419
+ .filter((line) => line.trim() && line.trim() !== marker && !baselineLines.has(line.trim()))
420
+ return custom.length ? `${baseline.trimEnd()}\n\n${marker}\n${custom.join('\n')}\n` : baseline
418
421
  }
419
422
 
420
423
  /** @param {string} file @param {string} content */