Repository navigation
feat(video.js): publish video.js to npm under next - #9477
Merged
Merged
Conversation
`video.js` is private, so a release would publish `@videojs/core` depending on a `video.js@10` that npm does not have. Publish `video.js` on its own first; the dependency returns in #9259. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Drop `private` so the release job publishes `video.js` under `latest`, and include it in PR previews. Tag the Video.js 8 stubs `@deprecated` and the `video.js/errors` helpers `@internal` for the API stability check, expect the AI Quickstart in its README, and say on the site that `video.js@10` has no player and `video.js@8` keeps Video.js 8. Carried over from #9259, which now only restores the `@videojs/core` dependency. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
✅ Deploy Preview for vjs-registry ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
mihar-22
added a commit
that referenced
this pull request
Oct 12, 2026
Restore the dependency that #9477 drops so `video.js` could publish on its own. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
✅ Deploy Preview for vjs10-site ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
@videojs/cdn
@videojs/cli
@videojs/core
@videojs/element
@videojs/html
@videojs/media
@videojs/react
@videojs/spf
@videojs/store
@videojs/utils
video.js
@videojs/cloudflare-video
@videojs/dash-video
@videojs/hlsjs-video
@videojs/mux-audio
@videojs/mux-video
@videojs/native-hls-video
@videojs/playerjs-video
@videojs/shaka-video
@videojs/spotify-audio
@videojs/tiktok-video
@videojs/twitch-video
@videojs/vimeo-video
@videojs/wistia-video
@videojs/youtube-video
@videojs/google-cast
@videojs/mux-data
commit: |
Contributor
📦 Bundle Size Report🎨 @videojs/html — no changesPresets (7)
Media (19)
Players (5)
Skins (53)
UI Components (62)
⚛️ @videojs/react — no changesPresets (7)
Media (23)
Extensions (2)
Players (5)
Skins (34)
UI Components (39)
🧩 @videojs/core — no changesEntries (76)
🏷️ @videojs/element — no changesEntries (2)
📦 @videojs/store — no changesEntries (3)
🔧 @videojs/utils — no changesEntries (13)
📦 @videojs/cdn — no changes📦 @videojs/cloudflare-video — no changes📦 @videojs/dash-video — no changes📦 @videojs/google-cast — no changes📦 @videojs/hlsjs-video — no changes📦 @videojs/media — no changesEntries (3)
📦 @videojs/mux — no changes📦 @videojs/mux-audio — no changesEntries (2)
📦 @videojs/mux-data — no changes📦 @videojs/mux-video — no changesEntries (2)
📦 @videojs/native-hls-video — no changes📦 @videojs/playerjs-video — no changes📦 @videojs/shaka-video — no changes📦 @videojs/spf — no changesEntries (7)
📦 @videojs/spotify-audio — no changes📦 @videojs/tiktok-video — no changes📦 @videojs/twitch-video — no changes📦 @videojs/other — 1 small size change
Entries (3)
📦 @videojs/vimeo-video — no changes📦 @videojs/wistia-video — no changesEntries (2)
📦 @videojs/youtube-video — no changesℹ️ How to interpretEach entry is independently bundled, minified, and brotli-compressed. Initial size includes its static import graph; lazy dynamic chunks are reported separately. Entries are not additive because their dependency graphs overlap. Preset rows represent realistic combined bundles. Changes of 300 B or less across initial, lazy, and total size are collapsed, not discarded. Run |
`latest` stays on Video.js 8, so `npm install video.js` and unversioned CDN URLs keep resolving v8 until `video.js` is promoted. Publish it before the other packages so a dependent never pins a version npm lacks. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
`video.js@10` publishes under `next`, so the default install is still Video.js 8. Keep the migration guide's link to the Video.js 8 repository at videojs/videojs-v8. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refs #9259
Summary
Publishes
video.js@10to npm under thenextdist-tag in the next release.lateststays on Video.js 8, sonpm install video.jsand unversioned CDN URLs keep resolving v8 untilvideo.jsis promoted.It also fixes
main. #9258 made@videojs/coredepend on the privatevideo.js, so the next release would publish core pinned to avideo.js@10that isn't on npm. This PR drops that dependency, and #9259 adds it back.Changes
video.jsis public and publishes undernext. The release job publishes it first with--tag next, then publishes the other packages as before (latest, ornextfor prereleases). It publishes at the shared linked version, and release-please already versions it. PR previews include it, andhomepageis set tohttps://videojs.org.@videojs/coreno longer depends onvideo.js. feat(core): depend on video.js #9259 restores it. Core pins an exact version, which npm resolves whatever the dist-tag, sonextdoesn't block that.@deprecatedand each links its error page. Thevideo.js/errorshelpers are@internal.check:api-stabilityrequires these once the package is public.video.jsREADME, which the test would otherwise reject in a public package.videojs/videojs-v8. The site still says thevideo.jspackage is Video.js 8, which stays true whilelatestis v8.Promoting
video.jslater means movinglatest, then removing thenextspecial case incd.ymland updating the site wording.Before merging
video.js. Use repositoryvideojs/video.js, workflowcd.yml, and environmentproduction. The release job authenticates only through OIDC, so without this entry thevideo.jspublish fails and the job stops before the other packages publish.Testing
pnpm install --frozen-lockfilepnpm check:workspacepnpm -F site check:api-stability: 26video.jsexports fail without the tags.pnpm -F video.js test(30 passing)pnpm -F @videojs/installation test(306 passing). The workspace contract test fails without the README entry.pnpm -F site test llms-markdown(38 passing)pnpm typecheck,pnpm lintpnpm -r ls:./packages/video.jsselects onlyvideo.js, and./packages/**with!./packages/video.jsselects the other 31 packages.🤖 Generated with Claude Code