feat(packages): ship bundled markdown docs in html and react tarballs (#1560)

Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
Darius Cepulis
2026-05-19 11:35:16 -07:00
committed by GitHub
co-authored by Claude
parent 2ad9fdf7ed
commit 20e77d37fa
9 changed files with 369 additions and 6 deletions
+6
View File
@@ -10,6 +10,12 @@
Web Components. It provides a complete set of Custom Elements, state management, controllers,
and utilities for creating feature-rich, accessible video and audio players.
## Documentation
Read the docs at [videojs.org](https://videojs.org/docs/framework/html), or after installing,
browse the bundled markdown at `node_modules/@videojs/html/docs/` (start with `llms.txt` for the
structured index).
## Community
If you need help with anything related to Video.js 10, or if you'd like to casually chat with other
+4 -2
View File
@@ -20,7 +20,8 @@
],
"files": [
"dist",
"cdn"
"cdn",
"docs"
],
"exports": {
".": {
@@ -131,7 +132,8 @@
"build:watch": "tsdown --watch ./src --no-clean",
"dev": "pnpm run build:watch",
"test": "vitest run",
"clean": "rimraf --glob dist cdn types '*.tsbuildinfo'"
"clean": "rimraf --glob dist cdn docs types '*.tsbuildinfo'",
"prepack": "node --import tsx ../../site/scripts/copy-package-docs.ts html"
},
"dependencies": {
"@videojs/core": "workspace:*",