Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,8 @@ packages/player/ @missing-elements/h5p-offline-player — the published
warm.ts walks the library spans off one ranged request each and caches their entries
scripts/ sync-h5p-assets (builds the runtime package and copies its dist/ to public/frame-assets/,
writes frame-fonts.ts and pack-index.ts, stamps the versions), build-workers,
build-plan (dist/h5p-plan.js alone, which `prepare:dev` and h5p-author's tests
run, since h5p-author imports it), build-fixtures, prepack;
build-plan (dist/h5p-plan.js alone, which `prepare:dev`, h5p-author's tests
and its `sync:skill` run, since h5p-author imports it), build-fixtures, prepack;
scripts/lib/worker-bundle.mjs builds both workers, and a host's own worker with the
handlers mounted (the demo uses it for h5p-sw.js and the app's sw.js)
vite.config.ts the library build and the test runner
Expand Down
2 changes: 1 addition & 1 deletion packages/author/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"test": "pnpm --filter @missing-elements/h5p-offline-player build && vitest run",
"test:unit": "pnpm --filter @missing-elements/h5p-offline-player build:plan && vitest run --project node",
"typecheck": "pnpm types && tsc -p tsconfig.json",
"sync:skill": "node scripts/sync-skill.mjs",
"sync:skill": "pnpm --filter @missing-elements/h5p-offline-player build:plan && node scripts/sync-skill.mjs",
"prepack": "node -e \"require('node:fs').copyFileSync('../../LICENSE', 'LICENSE')\" && pnpm types",
"prepublishOnly": "node -e \"if (!/^pnpm\\//.test(process.env.npm_config_user_agent || '')) { console.error('Publish with pnpm publish: npm would ship the workspace: dependency ranges as they are, and the package would not install.'); process.exit(1) }\" && node scripts/check-pack-published.mjs && pnpm typecheck && pnpm test",
"types": "pnpm --filter @missing-elements/h5p-offline-player exec tsc -b && node -e \"require('node:fs').rmSync('types', { recursive: true, force: true })\" && tsc -p tsconfig.types.json"
Expand Down
Loading