Pin h5p-author 0.10.0, and serve its skill only as zips
Closes #51.
h5p-author 0.10.0 (missing-elements/h5p-offline-player#203) changes the skill, not how a package is built. With it, the site stops serving the skill's text files one by one: the zips carry them (the owner's call).
The 0.10.0 skill has each build route as a file of its own under references/build/. A chat that built nothing writes a page that makes the build page's link. Only the content type is asked, and the author and licence rule now sits in every type file's generated text.
What changes
- The pin:
package.jsonand the lockfile move@missing-elements/h5p-authorfrom 0.9.8 to 0.10.0. The lockfile change is the five lines of that entry, with the integrity npm gives for 0.10.0. Its dependencies are the same as 0.9.8's. - The zips:
/h5p/skill/h5p-author.zipand/h5p/skill/h5p-author-chatgpt.ziphold 0.10.0's skill, the five route files included, and the plugin'splugin.jsonsays 0.10.0. These are what the guide's first step hands out. /h5p/skill/serves the zips and its page, nothing else:SKILL.md,LICENSE,references/andindex.json, which listed them, are gone.eleventy.config.jsno longer copies the files,src/_data/skill.jsno longer lists them, andsrc/h5p/skill/index.json.11ty.jsis deleted.- The page at
/h5p/skill/: it lists the two zips and thenpx skills addcommand, then the build tool and every bundle, each at its full address, as before. It stays because the skill's route 3 takes the bundles' addresses from it, and so do installed copies of 0.9.x. Its "for a person" note points to the guide's install step and the build page. - What this breaks: a copy of the skill at 0.9.7 or older, in a chat that has only its text, was told to read
SKILL.mdand the type files at/h5p/skill/, and so were prompts copied before 2026-11-13. They now find nothing there. Installed copies build as before: they take only the bundles' addresses from the page. - Comments and README: the README's table, its paragraph on
/h5p/skill/and its pins table;vite.config.ts' header andskillZips(); the sitemap's comment. - The build page's type files:
/h5p/build/types/carries 0.10.0's 32 type files, whose generated text names the licence codes. - The pages and the archive: the guide and the skill's page name h5p-author 0.10.0.
/h5p/bundles/index.jsonsays author 0.10.0, with the same bundles from pack 1.1.0.h5p-author-build.tar.gzholds 0.10.0's tool.
Tested
- Checks:
pnpm install --frozen-lockfile,pnpm build(which type-checks) andpnpm typecheckpass. The build's own check that the tool's--versionnames the pinned author and pack versions passed. - Served files: a build from an empty
_site/writes three files under/h5p/skill/:index.htmland the two zips. Each zip's 40 skill files (SKILL.md,LICENSEand the 38 underreferences/, the five route files among them) equal the published 0.10.0 tarball's, and the 32 type files under/h5p/build/types/equal its too. No page or JSON file in the built site names 0.9.8. - Links: all 59 addresses under
/h5p/skill/and/h5p/bundles/that the built pages name resolve to a file, and nothing in the site or the built pages namesskill/SKILL.md,skill/referencesorskill/index.json. - The archive: unpacked,
h5p-author.mjs --versionprints 0.10.0 and pack 1.1.0, and it built a True/False with--libraries partsthat the verifier passes. A build from npm's 0.10.0 gave the same revision. - Pages: not run in a browser. The skill's page keeps the classes it had, and only its text and lists changed.
Summary by cubic
Pins @missing-elements/h5p-author from 0.9.8 to 0.10.0, closing #51, and serves the skill only as zips. 0.10.0 changes the skill, not how a package is built: each build route is now a file under references/build/, and the author and licence rule live in each type file's generated text.
What changes
- The lockfile moves the package with the same dependencies; the build tool, the zips and the build page's type files now come from 0.10.0.
- The skill's text files are no longer served one by one at
/h5p/skill/: the page lists the two zips and the bundles' addresses instead, and the passthrough copy ofSKILL.md,LICENSEandreferences/, plusindex.json, were removed. package.json, the lockfile,README.mdand the skill's page name 0.10.0; no page or file names 0.9.8.