code-foundry 1.36.1 → 1.36.2
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.
|
@@ -283,19 +283,30 @@ jobs:
|
|
|
283
283
|
# cf path: refresh the Build Output with the project's own
|
|
284
284
|
# cf-wrangler delegate, then deploy/preview it with the cf CLI.
|
|
285
285
|
# Both CLIs come from the app's devDependencies installed by the
|
|
286
|
-
# build step
|
|
287
|
-
|
|
288
|
-
|
|
286
|
+
# build step. Resolve their bins by walking up from the working
|
|
287
|
+
# directory: bun hoists workspace bins to arbitrary levels, and
|
|
288
|
+
# npx's local resolution misses them (then hits the registry,
|
|
289
|
+
# where cf-wrangler does not exist).
|
|
290
|
+
binpath="$PWD"
|
|
291
|
+
while [ "$binpath" != / ]; do
|
|
292
|
+
[ -d "$binpath/node_modules/.bin" ] && PATH="$binpath/node_modules/.bin:$PATH"
|
|
293
|
+
binpath=$(dirname "$binpath")
|
|
294
|
+
done
|
|
295
|
+
export PATH
|
|
296
|
+
command -v cf-wrangler >/dev/null || {
|
|
297
|
+
echo 'cf-wrangler not found: declare cf and wrangler as devDependencies of the deployed package' >&2
|
|
298
|
+
exit 1
|
|
299
|
+
}
|
|
289
300
|
if [ "$MODE" = production ]; then
|
|
290
|
-
out="$(
|
|
301
|
+
out="$(cf deploy --prebuilt)"
|
|
291
302
|
printf '%s\n' "$out"
|
|
292
303
|
version_id="$(printf '%s\n' "$out" | sed -n 's/.*Current Version ID: *//p' | head -1 | tr -d '[:space:]')"
|
|
293
304
|
value="${DEPLOYMENT_URL:-$(printf '%s\n' "$out" | grep -o 'https://[^[:space:]]*' | head -1)}"
|
|
294
305
|
else
|
|
295
306
|
# Previews refuse a production Build Output; rebuild flagged as
|
|
296
307
|
# a preview build first.
|
|
297
|
-
CLOUDFLARE_PREVIEW_BUILD=true
|
|
298
|
-
|
|
308
|
+
CLOUDFLARE_PREVIEW_BUILD=true cf-wrangler build --mode preview
|
|
309
|
+
cf previews deploy "$PREVIEW_NAME" > "$RUNNER_TEMP/cf-preview.json"
|
|
299
310
|
value="$(jq -r '.preview_urls[0] // empty' "$RUNNER_TEMP/cf-preview.json")"
|
|
300
311
|
version_id="$(jq -r '.deployment_id // empty' "$RUNNER_TEMP/cf-preview.json")"
|
|
301
312
|
fi
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.36.2](https://github.com/0xPlayerOne/code-foundry/compare/v1.36.1...v1.36.2) (2026-09-29)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* **cloudflare:** resolve cf bins by walking up node_modules/.bin ([#662](https://github.com/0xPlayerOne/code-foundry/issues/662)) ([e82bbe0](https://github.com/0xPlayerOne/code-foundry/commit/e82bbe0a1687b5cc8bf939769e15639f25199969))
|
|
9
|
+
|
|
3
10
|
## [1.36.1](https://github.com/0xPlayerOne/code-foundry/compare/v1.36.0...v1.36.1) (2026-09-29)
|
|
4
11
|
|
|
5
12
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "code-foundry",
|
|
3
|
-
"version": "1.36.
|
|
3
|
+
"version": "1.36.2",
|
|
4
4
|
"description": "A fast, language-aware repository factory for agent-ready workflows, testing, security, and release automation.",
|
|
5
5
|
"homepage": "https://github.com/0xPlayerOne/code-foundry#readme",
|
|
6
6
|
"bugs": {
|