code-foundry 0.31.16 → 0.31.17

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.31.17](https://github.com/0xPlayerOne/code-foundry/compare/v0.31.16...v0.31.17) (2026-07-30)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * **sync:** preserve repository release policy ([8a8291b](https://github.com/0xPlayerOne/code-foundry/commit/8a8291b940bcc777e4aa9a426e56235b031fd002))
9
+
3
10
  ## [0.31.16](https://github.com/0xPlayerOne/code-foundry/compare/v0.31.15...v0.31.16) (2026-07-30)
4
11
 
5
12
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "code-foundry",
3
- "version": "0.31.16",
3
+ "version": "0.31.17",
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",
@@ -225,6 +225,9 @@ function renderWorkflow(content, config, repository, ref, rustCodeql) {
225
225
  const workflow = content.match(/\.github\/workflows\/([^/]+)\.yml/)?.[1]
226
226
  const runner = workflow ? runners[workflow] : undefined
227
227
  if (runner) rendered = rendered.replace(/^(\s+runner:)\s+.*$/m, `$1 ${runner}`)
228
+ if (workflow === 'test' && config.unit_runner) {
229
+ rendered = rendered.replace(/^(\s+unit-runner:)\s+.*$/m, `$1 ${config.unit_runner}`)
230
+ }
228
231
  if (workflow === 'codeql') {
229
232
  rendered = rendered.replace(/^(\s+rust-shards:)\s+.*$/m, `$1 '${rustCodeql.shards}'`)
230
233
  rendered = rendered.replace(/^(\s+rust-threads:)\s+.*$/m, `$1 '${rustCodeql.threads}'`)
@@ -36,6 +36,9 @@ export function buildReleaseConfig(root, existing = {}) {
36
36
  const packages = detectReleasePackages(root)
37
37
  const result = { ...existing }
38
38
  if (!packages.length) return result
39
+ // An explicit packages map is repository policy. Do not silently turn
40
+ // version-synchronized subprojects or vendored manifests into releases.
41
+ if (Object.prototype.hasOwnProperty.call(existing, 'packages')) return result
39
42
  if (packages.length === 1 && packages[0].directory === '.') {
40
43
  result['release-type'] ??= packages[0].releaseType
41
44
  /** @type {any[]} */