From e1f2c8ee5de55965e1b5c9cbcb08e92846a1d52e Mon Sep 17 00:00:00 2001 From: Matthias Van Parijs Date: Sun, 8 Sep 2024 10:59:00 +0200 Subject: [PATCH] feat(player): Renamed hlsjs wrapper to player --- packages/{hlsjs => player}/.gitignore | 0 packages/{hlsjs => player}/README.md | 0 .../external/hlsjs__feature__interstitials/hls.d.ts | 0 .../external/hlsjs__feature__interstitials/hls.mjs | 0 .../external/hlsjs__feature__interstitials/hls.mjs.map | 0 .../external/hlsjs__feature__interstitials/index.mjs | 0 .../external/hlsjs__feature__interstitials/package.json | 0 packages/{hlsjs => player}/index.html | 0 packages/{hlsjs => player}/lib/main.ts | 0 packages/{hlsjs => player}/lib/ui/components/CheckList.scss | 0 packages/{hlsjs => player}/lib/ui/components/CheckList.tsx | 0 packages/{hlsjs => player}/lib/ui/components/Controls.scss | 0 packages/{hlsjs => player}/lib/ui/components/Controls.tsx | 0 packages/{hlsjs => player}/lib/ui/components/Pane.scss | 0 packages/{hlsjs => player}/lib/ui/components/Pane.tsx | 0 packages/{hlsjs => player}/lib/ui/components/Progress.scss | 0 packages/{hlsjs => player}/lib/ui/components/Progress.tsx | 0 packages/{hlsjs => player}/lib/ui/components/QualitiesPane.tsx | 0 packages/{hlsjs => player}/lib/ui/components/Root.tsx | 0 packages/{hlsjs => player}/lib/ui/components/Settings.scss | 0 packages/{hlsjs => player}/lib/ui/components/Settings.tsx | 0 packages/{hlsjs => player}/lib/ui/components/SettingsPane.scss | 0 packages/{hlsjs => player}/lib/ui/components/SettingsPane.tsx | 0 packages/{hlsjs => player}/lib/ui/components/SqButton.scss | 0 packages/{hlsjs => player}/lib/ui/components/SqButton.tsx | 0 packages/{hlsjs => player}/lib/ui/components/TextAudioPane.scss | 0 packages/{hlsjs => player}/lib/ui/components/TextAudioPane.tsx | 0 packages/{hlsjs => player}/lib/ui/components/TimeStat.scss | 0 packages/{hlsjs => player}/lib/ui/components/TimeStat.tsx | 0 packages/{hlsjs => player}/lib/ui/hooks/useDelta.ts | 0 packages/{hlsjs => player}/lib/ui/hooks/useHlsState.ts | 0 packages/{hlsjs => player}/lib/ui/hooks/usePrevious.ts | 0 packages/{hlsjs => player}/lib/ui/hooks/useSettings.ts | 0 packages/{hlsjs => player}/lib/ui/hooks/useTime.ts | 0 packages/{hlsjs => player}/lib/ui/hooks/useVisible.ts | 0 packages/{hlsjs => player}/lib/ui/icons/forward.svg | 0 packages/{hlsjs => player}/lib/ui/icons/pause.svg | 0 packages/{hlsjs => player}/lib/ui/icons/play.svg | 0 packages/{hlsjs => player}/lib/ui/icons/settings.svg | 0 packages/{hlsjs => player}/lib/ui/icons/subtitles.svg | 0 packages/{hlsjs => player}/lib/ui/index.scss | 0 packages/{hlsjs => player}/lib/ui/index.tsx | 0 packages/{hlsjs => player}/lib/ui/utils.ts | 0 packages/{hlsjs => player}/package.json | 2 +- packages/{hlsjs => player}/src/main.tsx | 0 packages/{hlsjs => player}/src/vite-env.d.ts | 0 packages/{hlsjs => player}/tsconfig.app.json | 0 packages/{hlsjs => player}/tsconfig.json | 0 packages/{hlsjs => player}/tsconfig.node.json | 0 packages/{hlsjs => player}/vite.config.ts | 1 + 50 files changed, 2 insertions(+), 1 deletion(-) rename packages/{hlsjs => player}/.gitignore (100%) rename packages/{hlsjs => player}/README.md (100%) rename packages/{hlsjs => player}/external/hlsjs__feature__interstitials/hls.d.ts (100%) rename packages/{hlsjs => player}/external/hlsjs__feature__interstitials/hls.mjs (100%) rename packages/{hlsjs => player}/external/hlsjs__feature__interstitials/hls.mjs.map (100%) rename packages/{hlsjs => player}/external/hlsjs__feature__interstitials/index.mjs (100%) rename packages/{hlsjs => player}/external/hlsjs__feature__interstitials/package.json (100%) rename packages/{hlsjs => player}/index.html (100%) rename packages/{hlsjs => player}/lib/main.ts (100%) rename packages/{hlsjs => player}/lib/ui/components/CheckList.scss (100%) rename packages/{hlsjs => player}/lib/ui/components/CheckList.tsx (100%) rename packages/{hlsjs => player}/lib/ui/components/Controls.scss (100%) rename packages/{hlsjs => player}/lib/ui/components/Controls.tsx (100%) rename packages/{hlsjs => player}/lib/ui/components/Pane.scss (100%) rename packages/{hlsjs => player}/lib/ui/components/Pane.tsx (100%) rename packages/{hlsjs => player}/lib/ui/components/Progress.scss (100%) rename packages/{hlsjs => player}/lib/ui/components/Progress.tsx (100%) rename packages/{hlsjs => player}/lib/ui/components/QualitiesPane.tsx (100%) rename packages/{hlsjs => player}/lib/ui/components/Root.tsx (100%) rename packages/{hlsjs => player}/lib/ui/components/Settings.scss (100%) rename packages/{hlsjs => player}/lib/ui/components/Settings.tsx (100%) rename packages/{hlsjs => player}/lib/ui/components/SettingsPane.scss (100%) rename packages/{hlsjs => player}/lib/ui/components/SettingsPane.tsx (100%) rename packages/{hlsjs => player}/lib/ui/components/SqButton.scss (100%) rename packages/{hlsjs => player}/lib/ui/components/SqButton.tsx (100%) rename packages/{hlsjs => player}/lib/ui/components/TextAudioPane.scss (100%) rename packages/{hlsjs => player}/lib/ui/components/TextAudioPane.tsx (100%) rename packages/{hlsjs => player}/lib/ui/components/TimeStat.scss (100%) rename packages/{hlsjs => player}/lib/ui/components/TimeStat.tsx (100%) rename packages/{hlsjs => player}/lib/ui/hooks/useDelta.ts (100%) rename packages/{hlsjs => player}/lib/ui/hooks/useHlsState.ts (100%) rename packages/{hlsjs => player}/lib/ui/hooks/usePrevious.ts (100%) rename packages/{hlsjs => player}/lib/ui/hooks/useSettings.ts (100%) rename packages/{hlsjs => player}/lib/ui/hooks/useTime.ts (100%) rename packages/{hlsjs => player}/lib/ui/hooks/useVisible.ts (100%) rename packages/{hlsjs => player}/lib/ui/icons/forward.svg (100%) rename packages/{hlsjs => player}/lib/ui/icons/pause.svg (100%) rename packages/{hlsjs => player}/lib/ui/icons/play.svg (100%) rename packages/{hlsjs => player}/lib/ui/icons/settings.svg (100%) rename packages/{hlsjs => player}/lib/ui/icons/subtitles.svg (100%) rename packages/{hlsjs => player}/lib/ui/index.scss (100%) rename packages/{hlsjs => player}/lib/ui/index.tsx (100%) rename packages/{hlsjs => player}/lib/ui/utils.ts (100%) rename packages/{hlsjs => player}/package.json (97%) rename packages/{hlsjs => player}/src/main.tsx (100%) rename packages/{hlsjs => player}/src/vite-env.d.ts (100%) rename packages/{hlsjs => player}/tsconfig.app.json (100%) rename packages/{hlsjs => player}/tsconfig.json (100%) rename packages/{hlsjs => player}/tsconfig.node.json (100%) rename packages/{hlsjs => player}/vite.config.ts (96%) diff --git a/packages/hlsjs/.gitignore b/packages/player/.gitignore similarity index 100% rename from packages/hlsjs/.gitignore rename to packages/player/.gitignore diff --git a/packages/hlsjs/README.md b/packages/player/README.md similarity index 100% rename from packages/hlsjs/README.md rename to packages/player/README.md diff --git a/packages/hlsjs/external/hlsjs__feature__interstitials/hls.d.ts b/packages/player/external/hlsjs__feature__interstitials/hls.d.ts similarity index 100% rename from packages/hlsjs/external/hlsjs__feature__interstitials/hls.d.ts rename to packages/player/external/hlsjs__feature__interstitials/hls.d.ts diff --git a/packages/hlsjs/external/hlsjs__feature__interstitials/hls.mjs b/packages/player/external/hlsjs__feature__interstitials/hls.mjs similarity index 100% rename from packages/hlsjs/external/hlsjs__feature__interstitials/hls.mjs rename to packages/player/external/hlsjs__feature__interstitials/hls.mjs diff --git a/packages/hlsjs/external/hlsjs__feature__interstitials/hls.mjs.map b/packages/player/external/hlsjs__feature__interstitials/hls.mjs.map similarity index 100% rename from packages/hlsjs/external/hlsjs__feature__interstitials/hls.mjs.map rename to packages/player/external/hlsjs__feature__interstitials/hls.mjs.map diff --git a/packages/hlsjs/external/hlsjs__feature__interstitials/index.mjs b/packages/player/external/hlsjs__feature__interstitials/index.mjs similarity index 100% rename from packages/hlsjs/external/hlsjs__feature__interstitials/index.mjs rename to packages/player/external/hlsjs__feature__interstitials/index.mjs diff --git a/packages/hlsjs/external/hlsjs__feature__interstitials/package.json b/packages/player/external/hlsjs__feature__interstitials/package.json similarity index 100% rename from packages/hlsjs/external/hlsjs__feature__interstitials/package.json rename to packages/player/external/hlsjs__feature__interstitials/package.json diff --git a/packages/hlsjs/index.html b/packages/player/index.html similarity index 100% rename from packages/hlsjs/index.html rename to packages/player/index.html diff --git a/packages/hlsjs/lib/main.ts b/packages/player/lib/main.ts similarity index 100% rename from packages/hlsjs/lib/main.ts rename to packages/player/lib/main.ts diff --git a/packages/hlsjs/lib/ui/components/CheckList.scss b/packages/player/lib/ui/components/CheckList.scss similarity index 100% rename from packages/hlsjs/lib/ui/components/CheckList.scss rename to packages/player/lib/ui/components/CheckList.scss diff --git a/packages/hlsjs/lib/ui/components/CheckList.tsx b/packages/player/lib/ui/components/CheckList.tsx similarity index 100% rename from packages/hlsjs/lib/ui/components/CheckList.tsx rename to packages/player/lib/ui/components/CheckList.tsx diff --git a/packages/hlsjs/lib/ui/components/Controls.scss b/packages/player/lib/ui/components/Controls.scss similarity index 100% rename from packages/hlsjs/lib/ui/components/Controls.scss rename to packages/player/lib/ui/components/Controls.scss diff --git a/packages/hlsjs/lib/ui/components/Controls.tsx b/packages/player/lib/ui/components/Controls.tsx similarity index 100% rename from packages/hlsjs/lib/ui/components/Controls.tsx rename to packages/player/lib/ui/components/Controls.tsx diff --git a/packages/hlsjs/lib/ui/components/Pane.scss b/packages/player/lib/ui/components/Pane.scss similarity index 100% rename from packages/hlsjs/lib/ui/components/Pane.scss rename to packages/player/lib/ui/components/Pane.scss diff --git a/packages/hlsjs/lib/ui/components/Pane.tsx b/packages/player/lib/ui/components/Pane.tsx similarity index 100% rename from packages/hlsjs/lib/ui/components/Pane.tsx rename to packages/player/lib/ui/components/Pane.tsx diff --git a/packages/hlsjs/lib/ui/components/Progress.scss b/packages/player/lib/ui/components/Progress.scss similarity index 100% rename from packages/hlsjs/lib/ui/components/Progress.scss rename to packages/player/lib/ui/components/Progress.scss diff --git a/packages/hlsjs/lib/ui/components/Progress.tsx b/packages/player/lib/ui/components/Progress.tsx similarity index 100% rename from packages/hlsjs/lib/ui/components/Progress.tsx rename to packages/player/lib/ui/components/Progress.tsx diff --git a/packages/hlsjs/lib/ui/components/QualitiesPane.tsx b/packages/player/lib/ui/components/QualitiesPane.tsx similarity index 100% rename from packages/hlsjs/lib/ui/components/QualitiesPane.tsx rename to packages/player/lib/ui/components/QualitiesPane.tsx diff --git a/packages/hlsjs/lib/ui/components/Root.tsx b/packages/player/lib/ui/components/Root.tsx similarity index 100% rename from packages/hlsjs/lib/ui/components/Root.tsx rename to packages/player/lib/ui/components/Root.tsx diff --git a/packages/hlsjs/lib/ui/components/Settings.scss b/packages/player/lib/ui/components/Settings.scss similarity index 100% rename from packages/hlsjs/lib/ui/components/Settings.scss rename to packages/player/lib/ui/components/Settings.scss diff --git a/packages/hlsjs/lib/ui/components/Settings.tsx b/packages/player/lib/ui/components/Settings.tsx similarity index 100% rename from packages/hlsjs/lib/ui/components/Settings.tsx rename to packages/player/lib/ui/components/Settings.tsx diff --git a/packages/hlsjs/lib/ui/components/SettingsPane.scss b/packages/player/lib/ui/components/SettingsPane.scss similarity index 100% rename from packages/hlsjs/lib/ui/components/SettingsPane.scss rename to packages/player/lib/ui/components/SettingsPane.scss diff --git a/packages/hlsjs/lib/ui/components/SettingsPane.tsx b/packages/player/lib/ui/components/SettingsPane.tsx similarity index 100% rename from packages/hlsjs/lib/ui/components/SettingsPane.tsx rename to packages/player/lib/ui/components/SettingsPane.tsx diff --git a/packages/hlsjs/lib/ui/components/SqButton.scss b/packages/player/lib/ui/components/SqButton.scss similarity index 100% rename from packages/hlsjs/lib/ui/components/SqButton.scss rename to packages/player/lib/ui/components/SqButton.scss diff --git a/packages/hlsjs/lib/ui/components/SqButton.tsx b/packages/player/lib/ui/components/SqButton.tsx similarity index 100% rename from packages/hlsjs/lib/ui/components/SqButton.tsx rename to packages/player/lib/ui/components/SqButton.tsx diff --git a/packages/hlsjs/lib/ui/components/TextAudioPane.scss b/packages/player/lib/ui/components/TextAudioPane.scss similarity index 100% rename from packages/hlsjs/lib/ui/components/TextAudioPane.scss rename to packages/player/lib/ui/components/TextAudioPane.scss diff --git a/packages/hlsjs/lib/ui/components/TextAudioPane.tsx b/packages/player/lib/ui/components/TextAudioPane.tsx similarity index 100% rename from packages/hlsjs/lib/ui/components/TextAudioPane.tsx rename to packages/player/lib/ui/components/TextAudioPane.tsx diff --git a/packages/hlsjs/lib/ui/components/TimeStat.scss b/packages/player/lib/ui/components/TimeStat.scss similarity index 100% rename from packages/hlsjs/lib/ui/components/TimeStat.scss rename to packages/player/lib/ui/components/TimeStat.scss diff --git a/packages/hlsjs/lib/ui/components/TimeStat.tsx b/packages/player/lib/ui/components/TimeStat.tsx similarity index 100% rename from packages/hlsjs/lib/ui/components/TimeStat.tsx rename to packages/player/lib/ui/components/TimeStat.tsx diff --git a/packages/hlsjs/lib/ui/hooks/useDelta.ts b/packages/player/lib/ui/hooks/useDelta.ts similarity index 100% rename from packages/hlsjs/lib/ui/hooks/useDelta.ts rename to packages/player/lib/ui/hooks/useDelta.ts diff --git a/packages/hlsjs/lib/ui/hooks/useHlsState.ts b/packages/player/lib/ui/hooks/useHlsState.ts similarity index 100% rename from packages/hlsjs/lib/ui/hooks/useHlsState.ts rename to packages/player/lib/ui/hooks/useHlsState.ts diff --git a/packages/hlsjs/lib/ui/hooks/usePrevious.ts b/packages/player/lib/ui/hooks/usePrevious.ts similarity index 100% rename from packages/hlsjs/lib/ui/hooks/usePrevious.ts rename to packages/player/lib/ui/hooks/usePrevious.ts diff --git a/packages/hlsjs/lib/ui/hooks/useSettings.ts b/packages/player/lib/ui/hooks/useSettings.ts similarity index 100% rename from packages/hlsjs/lib/ui/hooks/useSettings.ts rename to packages/player/lib/ui/hooks/useSettings.ts diff --git a/packages/hlsjs/lib/ui/hooks/useTime.ts b/packages/player/lib/ui/hooks/useTime.ts similarity index 100% rename from packages/hlsjs/lib/ui/hooks/useTime.ts rename to packages/player/lib/ui/hooks/useTime.ts diff --git a/packages/hlsjs/lib/ui/hooks/useVisible.ts b/packages/player/lib/ui/hooks/useVisible.ts similarity index 100% rename from packages/hlsjs/lib/ui/hooks/useVisible.ts rename to packages/player/lib/ui/hooks/useVisible.ts diff --git a/packages/hlsjs/lib/ui/icons/forward.svg b/packages/player/lib/ui/icons/forward.svg similarity index 100% rename from packages/hlsjs/lib/ui/icons/forward.svg rename to packages/player/lib/ui/icons/forward.svg diff --git a/packages/hlsjs/lib/ui/icons/pause.svg b/packages/player/lib/ui/icons/pause.svg similarity index 100% rename from packages/hlsjs/lib/ui/icons/pause.svg rename to packages/player/lib/ui/icons/pause.svg diff --git a/packages/hlsjs/lib/ui/icons/play.svg b/packages/player/lib/ui/icons/play.svg similarity index 100% rename from packages/hlsjs/lib/ui/icons/play.svg rename to packages/player/lib/ui/icons/play.svg diff --git a/packages/hlsjs/lib/ui/icons/settings.svg b/packages/player/lib/ui/icons/settings.svg similarity index 100% rename from packages/hlsjs/lib/ui/icons/settings.svg rename to packages/player/lib/ui/icons/settings.svg diff --git a/packages/hlsjs/lib/ui/icons/subtitles.svg b/packages/player/lib/ui/icons/subtitles.svg similarity index 100% rename from packages/hlsjs/lib/ui/icons/subtitles.svg rename to packages/player/lib/ui/icons/subtitles.svg diff --git a/packages/hlsjs/lib/ui/index.scss b/packages/player/lib/ui/index.scss similarity index 100% rename from packages/hlsjs/lib/ui/index.scss rename to packages/player/lib/ui/index.scss diff --git a/packages/hlsjs/lib/ui/index.tsx b/packages/player/lib/ui/index.tsx similarity index 100% rename from packages/hlsjs/lib/ui/index.tsx rename to packages/player/lib/ui/index.tsx diff --git a/packages/hlsjs/lib/ui/utils.ts b/packages/player/lib/ui/utils.ts similarity index 100% rename from packages/hlsjs/lib/ui/utils.ts rename to packages/player/lib/ui/utils.ts diff --git a/packages/hlsjs/package.json b/packages/player/package.json similarity index 97% rename from packages/hlsjs/package.json rename to packages/player/package.json index 1ff224fd..7bb07b7c 100644 --- a/packages/hlsjs/package.json +++ b/packages/player/package.json @@ -1,5 +1,5 @@ { - "name": "@mixwave/hlsjs", + "name": "@mixwave/player", "private": true, "version": "0.0.0", "type": "module", diff --git a/packages/hlsjs/src/main.tsx b/packages/player/src/main.tsx similarity index 100% rename from packages/hlsjs/src/main.tsx rename to packages/player/src/main.tsx diff --git a/packages/hlsjs/src/vite-env.d.ts b/packages/player/src/vite-env.d.ts similarity index 100% rename from packages/hlsjs/src/vite-env.d.ts rename to packages/player/src/vite-env.d.ts diff --git a/packages/hlsjs/tsconfig.app.json b/packages/player/tsconfig.app.json similarity index 100% rename from packages/hlsjs/tsconfig.app.json rename to packages/player/tsconfig.app.json diff --git a/packages/hlsjs/tsconfig.json b/packages/player/tsconfig.json similarity index 100% rename from packages/hlsjs/tsconfig.json rename to packages/player/tsconfig.json diff --git a/packages/hlsjs/tsconfig.node.json b/packages/player/tsconfig.node.json similarity index 100% rename from packages/hlsjs/tsconfig.node.json rename to packages/player/tsconfig.node.json diff --git a/packages/hlsjs/vite.config.ts b/packages/player/vite.config.ts similarity index 96% rename from packages/hlsjs/vite.config.ts rename to packages/player/vite.config.ts index 727d19d4..f37c6323 100644 --- a/packages/hlsjs/vite.config.ts +++ b/packages/player/vite.config.ts @@ -25,6 +25,7 @@ export default defineConfig({ external: ["react", "hls.js"], }, }, + clearScreen: false, server: { port: 52005, },