Commit the Alpine.js tarball in 3p/ and extract it at build time (closes #345) #351

Merged
clawbot merged 3 commits from issue-345-alpine-tarball-in-3p into next 2026-10-01 22:44:42 +02:00
3 Commits
Author SHA1 Message Date
sneak 8cb1222737 Make README Entrypoints and script/check's header match script/assets
check / check (push) Successful in 4m14s
The Entrypoints paragraph now says build, run and dev first run
script/assets. script/check's header now says it writes only the
ignored static/js/alpine.min.js, through script/test.

Model: opus-5-5
2026-10-01 19:42:29 +00:00
clawbot 1a7ffa3b3d Extract Alpine.js in script/test so the pre-commit hook works
The extraction moves from the Makefile's assets target into
script/assets. script/test runs it before the tests, so make test,
make check, script/check and the pre-commit hook all get the file on a
fresh clone; make assets, make build and make dev call the same script.
The README now says only that nothing downloads Alpine.js.

Model: opus-5-5
2026-10-01 19:42:29 +00:00
clawbot ff19b5237d Commit the Alpine.js tarball in 3p/ and extract it at build time (closes #345)
The build no longer downloads Alpine.js. Its npm package tarball is
committed as 3p/alpinejs-3.14.9.tgz; its sha256 matches the value
script/fetch-assets pinned, and the cdn.min.js inside it matches the
value static/vendor.sha256 pinned.

make assets extracts package/dist/cdn.min.js to the ignored
static/js/alpine.min.js. make test, check, build and dev run it first,
and the Dockerfile builds through make test and make build.
script/fetch-assets, its Dockerfile step, static/vendor.sha256 and
static/vendor_test.go are removed, along with bootstrap's curl install.

Model: opus-5-5
2026-10-01 19:42:29 +00:00