Skip to content

programmatic video rendering framework that is actually fast

fix(ci): Fix nightly versions and landing build paths

Dmitriy Kovalenko91fc96e468ea
diff --git a/package.json b/package.json
index 1432eaf7..26351d22 100644
--- a/package.json
+++ b/package.json
@@ -6,5 +6,8 @@
"odiff-bin": "^2.5.1",
"prettier": "^3.5.3",
"syncpack": "^12.3.0"
+ },
+ "scripts": {
+ "build:landing": "node scripts/build-skills-index.mjs"
}
}
diff --git a/scripts/release-version.sh b/scripts/release-version.sh
index 70aef5d1..53c257d4 100755
--- a/scripts/release-version.sh
+++ b/scripts/release-version.sh
@@ -19,7 +19,7 @@ fi
tag=$(git describe --tags --abbrev=0)
last=${tag#v}
-count=$(printf '%02d' "$(git rev-list --count "$tag..HEAD")")
+count=$(git rev-list --count "$tag..HEAD")
if [[ "$last" == *-* ]]; then
echo "$last.rc-$count"
else
diff --git a/wrangler.jsonc b/wrangler.jsonc
index 327d2d29..aa04357d 100644
--- a/wrangler.jsonc
+++ b/wrangler.jsonc
@@ -1,12 +1,13 @@
// landing/ as static assets on Cloudflare. Workers Builds runs `wrangler deploy` for main
// and `wrangler preview` for pull requests, which needs the (empty) previews block.
+// npm runs the script from the repository root even when Builds starts in landing/.
// The build step publishes skills/ under landing/.well-known/agent-skills for
// `npx skills add https://fframes.studio`.
{
"name": "fframes",
"account_id": "86ddf0334885d2955aa80c778509d857",
"compatibility_date": "2026-09-01",
- "build": { "command": "node scripts/build-skills-index.mjs", "watch_dir": "skills" },
+ "build": { "command": "npm run build:landing", "watch_dir": "skills" },
"assets": { "directory": "./landing" },
"previews": {}
}