code-foundry 1.0.0 → 1.0.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.
@@ -25,9 +25,13 @@ outputs:
25
25
  runs:
26
26
  using: composite
27
27
  steps:
28
+ # Caches are restored on every event but saved on push only: scheduled
29
+ # and dispatched runs share the default branch with untrusted
30
+ # runtime-ref checkouts, so letting them save would allow cache
31
+ # poisoning. Push events require write access and stay trusted.
28
32
  - name: Restore cache
29
33
  id: restore
30
- if: inputs.save != 'true'
34
+ if: inputs.save != 'true' || github.event_name != 'push'
31
35
  uses: actions/cache/restore@v5
32
36
  with:
33
37
  path: ${{ inputs.path }}
@@ -35,7 +39,7 @@ runs:
35
39
  restore-keys: ${{ inputs.restore-keys }}
36
40
  - name: Restore and save cache
37
41
  id: cache
38
- if: inputs.save == 'true'
42
+ if: inputs.save == 'true' && github.event_name == 'push'
39
43
  uses: actions/cache@v5
40
44
  with:
41
45
  path: ${{ inputs.path }}
@@ -11,7 +11,7 @@ dependency_review: auto
11
11
  package_manager: bun
12
12
  toolchain: auto
13
13
  runtime_repository: 0xPlayerOne/code-foundry
14
- runtime_ref: v0.34.4
14
+ runtime_ref: v1.0.0
15
15
  release_type: node
16
16
  npm_publish: true
17
17
  license: agpl-3.0-or-later
@@ -489,6 +489,27 @@ jobs:
489
489
  with:
490
490
  node-version: 24
491
491
  registry-url: https://registry.npmjs.org
492
+ - name: Setup Bun (lockfile managers)
493
+ # The install step below dispatches on lockfile: bun, pnpm, yarn, or
494
+ # npm. Stock runners only provide Node, so provision Bun (oven-sh)
495
+ # and Corepack (pnpm/yarn) explicitly; otherwise bun.lock projects
496
+ # fail with `bun: command not found` before publish.
497
+ uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2
498
+ with:
499
+ bun-version: latest
500
+ - name: Enable Corepack (pnpm/yarn managers)
501
+ run: corepack enable
502
+ - name: Install dependencies
503
+ # npm publish runs prepublishOnly (usually a build), which needs
504
+ # devDependencies present. Install with the project's own manager.
505
+ run: |
506
+ set -euo pipefail
507
+ if [ -f bun.lock ] || [ -f bun.lockb ]; then bun install --frozen-lockfile
508
+ elif [ -f pnpm-lock.yaml ]; then pnpm install --frozen-lockfile
509
+ elif [ -f yarn.lock ]; then yarn install --immutable
510
+ elif [ -f package-lock.json ]; then npm ci --no-audit --fund=false
511
+ elif [ -f package.json ]; then npm install --no-audit --fund=false --package-lock=false
512
+ fi
492
513
  - name: Publish npm with token
493
514
  if: env.NPM_TOKEN != ''
494
515
  env:
package/CHANGELOG.md CHANGED
@@ -1,5 +1,26 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.0.3](https://github.com/0xPlayerOne/code-foundry/compare/v1.0.2...v1.0.3) (2026-09-06)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * **security:** save caches on push events only ([3180b07](https://github.com/0xPlayerOne/code-foundry/commit/3180b07a669b7caa5728be6a07143d60a0c7f6af))
9
+
10
+ ## [1.0.2](https://github.com/0xPlayerOne/code-foundry/compare/v1.0.1...v1.0.2) (2026-09-05)
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * **release:** provision bun and corepack before publish install ([32f9b15](https://github.com/0xPlayerOne/code-foundry/commit/32f9b153cdc96cf3c38b379eada41853116e9200))
16
+
17
+ ## [1.0.1](https://github.com/0xPlayerOne/code-foundry/compare/v1.0.0...v1.0.1) (2026-09-05)
18
+
19
+
20
+ ### Bug Fixes
21
+
22
+ * **release:** install dependencies before npm publish ([8e03535](https://github.com/0xPlayerOne/code-foundry/commit/8e0353549c42b982e84c28db94351d752a28d60e))
23
+
3
24
  ## [1.0.0](https://github.com/0xPlayerOne/code-foundry/compare/v0.40.3...v1.0.0) (2026-09-05)
4
25
 
5
26
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "code-foundry",
3
- "version": "1.0.0",
3
+ "version": "1.0.3",
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",