Skip to content

Commit

Permalink
chore: Deprecated @mixwave/hls.js in favor of [email protected]
Browse files Browse the repository at this point in the history
  • Loading branch information
matvp91 committed Oct 12, 2024
1 parent ff3709d commit db6b2c1
Show file tree
Hide file tree
Showing 12 changed files with 17 additions and 37,537 deletions.
7 changes: 0 additions & 7 deletions extern/hls.js/README.md

This file was deleted.

3,718 changes: 0 additions & 3,718 deletions extern/hls.js/hls.js.d.ts

This file was deleted.

33,789 changes: 0 additions & 33,789 deletions extern/hls.js/hls.mjs

This file was deleted.

1 change: 0 additions & 1 deletion extern/hls.js/index.mjs

This file was deleted.

7 changes: 0 additions & 7 deletions extern/hls.js/package.json

This file was deleted.

2 changes: 1 addition & 1 deletion packages/dashboard/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
"@elysiajs/eden": "^1.1.3",
"@hookform/resolvers": "^3.9.0",
"@mixwave/api": "workspace:*",
"@mixwave/hls.js": "^1.6.0",
"@mixwave/player": "workspace:*",
"@monaco-editor/react": "^4.6.0",
"@radix-ui/react-accordion": "^1.2.0",
Expand All @@ -31,6 +30,7 @@
"@tanstack/react-query": "^5.51.21",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.1",
"hls.js": "1.6.0-beta.1",
"lucide-react": "^0.424.0",
"monaco-editor": "^0.51.0",
"pretty-bytes": "^6.1.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/dashboard/src/components/Player.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Hls from "@mixwave/hls.js";
import Hls from "hls.js";
import { HlsFacade, HlsUi } from "@mixwave/player";
import { useEffect, useRef, useState } from "react";

Expand Down
2 changes: 1 addition & 1 deletion packages/player/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Player is a collection of React components and a `facade` for [HLS.js](https://github.com/video-dev/hls.js), providing a unified API. It streamlines working with HLS.js by handling state management with a strong emphasis on reactivity and it provides a set of methods that make more sense for those building their own player UI.

```sh
npm i @mixwave/hls.js
npm i hls.js@1.6.0-beta.1
npm i @mixwave/player
```

Expand Down
2 changes: 1 addition & 1 deletion packages/player/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"lint": "eslint \"./src/**/*.ts\" \"./src/**/*.tsx\" && prettier --check \"./src/**/*.ts\" \"./src/**/*.tsx\""
},
"peerDependencies": {
"@mixwave/hls.js": "^1.6.0",
"hls.js": "^1.6.0-beta.1",
"react": "^18.3.1"
},
"dependencies": {
Expand Down
4 changes: 2 additions & 2 deletions packages/player/src/facade.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Hls from "@mixwave/hls.js";
import Hls from "hls.js";
import EventEmitter from "eventemitter3";
import { assert } from "./assert";
import { EventManager } from "./event-manager";
Expand All @@ -7,7 +7,7 @@ import type {
InterstitialAssetStartedData,
Level,
MediaPlaylist,
} from "@mixwave/hls.js";
} from "hls.js";
import type {
MixType,
Quality,
Expand Down
2 changes: 1 addition & 1 deletion packages/player/src/types.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { MediaPlaylist, Level, HlsAssetPlayer } from "@mixwave/hls.js";
import type { MediaPlaylist, Level, HlsAssetPlayer } from "hls.js";

/**
* A custom type for each `ASSET`.
Expand Down
18 changes: 10 additions & 8 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit db6b2c1

Please sign in to comment.