Skip to content

Commit

Permalink
fix: upgrade deps custom-media-element, hls.js, mux-embed, ... (#1052)
Browse files Browse the repository at this point in the history
- upgrades all non breaking dev dependencies and fixes exports order
(esbuild warned on these)
- upgrades dependencies custom-media-element, hls.js and mux-embed
- use newest playwright, remove NPM resolution
  • Loading branch information
luwes authored Dec 20, 2024
1 parent e009982 commit dd4264d
Show file tree
Hide file tree
Showing 24 changed files with 1,146 additions and 545 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,13 @@ jobs:
- run: yarn clean
- name: Install playwright browsers
run: npx playwright install --with-deps
# run yarn and pass through `-- --all` to turborepo
- run: yarn test -- -- --all
# Retry the test command up to 3 times with a timeout of 10 minutes
- uses: nick-fields/retry@v3
with:
timeout_minutes: 10
max_attempts: 3
# run yarn and pass through `-- --all` to turborepo
command: yarn test -- -- --all
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v2.1.0
with:
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -131,3 +131,4 @@ dist
packages/*/src/polyfills

.turbo
examples/astro/.vercel/
6 changes: 3 additions & 3 deletions examples/astro/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
"astro": "astro"
},
"dependencies": {
"@astrojs/react": "^4.0.0",
"@astrojs/vercel": "^8.0.0",
"@astrojs/react": "^4.1.2",
"@astrojs/vercel": "^8.0.1",
"@mux/mux-player-react": ">=1.0.0-beta.0",
"astro": "^5.0.3",
"astro": "^5.1.1",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"water.css": "^2.1.1"
Expand Down
2 changes: 1 addition & 1 deletion examples/create-react-app-with-typescript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"@types/react": "^18.2.79",
"@types/react-dom": "^18.2.25",
"react-scripts": "5.0.1",
"typescript": "^5.5.4",
"typescript": "^5.7.2",
"web-vitals": "^2.1.4"
},
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion examples/nextjs-with-typescript/next-env.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
/// <reference types="next/navigation-types/compat/navigation" />

// NOTE: This file should not be edited
// see https://nextjs.org/docs/basic-features/typescript for more information.
// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
2 changes: 1 addition & 1 deletion examples/nextjs-with-typescript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
},
"dependencies": {
"@mux/assets": ">=0.1.0",
"@mux/blurup": "^0.2.3",
"@mux/blurup": "^1.0.1",
"@mux/mux-audio": ">=0.2.0",
"@mux/mux-audio-react": ">=0.2.0",
"@mux/mux-player": ">=1.0.0-beta.0",
Expand Down
12 changes: 6 additions & 6 deletions examples/svelte-kit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,17 @@
"devDependencies": {
"@sveltejs/adapter-vercel": "^1.0.0",
"@sveltejs/kit": "^1.0.0",
"@typescript-eslint/eslint-plugin": "^8.3.0",
"@typescript-eslint/parser": "^8.3.0",
"@typescript-eslint/eslint-plugin": "^8.18.1",
"@typescript-eslint/parser": "^8.18.1",
"eslint": "^8.28.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-svelte3": "^4.0.0",
"prettier": "^2.8.0",
"prettier-plugin-svelte": "^2.8.1",
"prettier": "^3.4.2",
"prettier-plugin-svelte": "^3.3.2",
"svelte": "^3.54.0",
"svelte-check": "^3.8.6",
"tslib": "^2.4.1",
"typescript": "^5.5.4",
"tslib": "^2.8.1",
"typescript": "^5.7.2",
"vite": "^4.0.0"
},
"type": "module",
Expand Down
4 changes: 2 additions & 2 deletions examples/vanilla-ts-esm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
"build": "yarn esbuild --minify"
},
"devDependencies": {
"esbuild": "^0.19.8",
"typescript": "^5.5.4"
"esbuild": "^0.24.1",
"typescript": "^5.7.2"
},
"dependencies": {
"@mux/mux-active-viewer-count": ">=0.2.0-alpha.0",
Expand Down
12 changes: 6 additions & 6 deletions examples/vue-with-typescript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@
"@mux/mux-audio": ">=0.3.0",
"@mux/mux-player": ">=1.0.0-beta.0",
"@mux/mux-video": ">=0.3.0",
"pinia": "^2.2.2",
"vue": "^3.4.37",
"vue-router": "^4.4.3"
"pinia": "^2.3.0",
"vue": "^3.5.13",
"vue-router": "^4.5.0"
},
"devDependencies": {
"@vitejs/plugin-vue": "^5.1.2",
"typescript": "^5.5.4",
"@vitejs/plugin-vue": "^5.2.1",
"typescript": "^5.7.2",
"vite": "^5.4.1",
"vue-tsc": "^2.0.29"
"vue-tsc": "^2.1.10"
}
}
11 changes: 4 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
"license": "MIT",
"private": true,
"devDependencies": {
"husky": "^7.0.0",
"prettier": "^3.2.5",
"husky": "^9.1.7",
"prettier": "^3.4.2",
"pretty-quick": "^4.0.0",
"turbo": "^2.3.3"
},
Expand All @@ -32,10 +32,7 @@
"build:packages": "turbo run build --filter '!./examples/*'",
"build": "turbo run build",
"i18n": "turbo run i18n",
"prepare": "husky install"
"prepare": "husky"
},
"resolutions": {
"playwright": "1.45.3"
},
"packageManager": "yarn@1.22.21+sha256.dbed5b7e10c552ba0e1a545c948d5473bc6c5a28ce22a8fd27e493e3e5eb6370"
"packageManager": "yarn@1.22.22"
}
16 changes: 8 additions & 8 deletions packages/mux-active-viewer-count/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@
}
},
"exports": {
"import": "./dist/index.mjs",
"require": "./dist/index.cjs.js",
"types@<4.3.5": "./dist/types-ts3.4/index.d.ts",
"types": "./dist/types/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.cjs.js",
"default": "./dist/index.cjs.js"
},
"types": "./dist/types/index.d.ts",
Expand Down Expand Up @@ -61,17 +61,17 @@
},
"devDependencies": {
"@open-wc/testing": "^4.0.0",
"@typescript-eslint/eslint-plugin": "^8.3.0",
"@typescript-eslint/parser": "^8.3.0",
"@web/dev-server-esbuild": "^1.0.2",
"@typescript-eslint/eslint-plugin": "^8.18.1",
"@typescript-eslint/parser": "^8.18.1",
"@web/dev-server-esbuild": "^1.0.3",
"@web/dev-server-import-maps": "^0.2.1",
"@web/test-runner": "^0.19.0",
"downlevel-dts": "^0.11.0",
"esbuild": "^0.19.8",
"eslint": "^9.9.1",
"esbuild": "^0.24.1",
"eslint": "^9.17.0",
"npm-run-all": "^4.1.5",
"replace": "^1.2.1",
"shx": "^0.3.4",
"typescript": "^5.5.4"
"typescript": "^5.7.2"
}
}
16 changes: 8 additions & 8 deletions packages/mux-audio-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@
},
"exports": {
".": {
"import": "./dist/index.mjs",
"require": "./dist/index.cjs.js",
"types@<4.3.5": "./dist/types-ts3.4/index.d.ts",
"types": "./dist/types/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.cjs.js",
"default": "./dist/index.cjs.js"
}
},
Expand Down Expand Up @@ -70,18 +70,18 @@
"prop-types": "^15.7.2"
},
"devDependencies": {
"@types/prop-types": "^15.7.12",
"@types/prop-types": "^15.7.14",
"@types/react": "^18.2.79",
"@types/react-dom": "^18.2.25",
"@typescript-eslint/eslint-plugin": "^8.3.0",
"@typescript-eslint/parser": "^8.3.0",
"@typescript-eslint/eslint-plugin": "^8.18.1",
"@typescript-eslint/parser": "^8.18.1",
"downlevel-dts": "^0.11.0",
"esbuild": "^0.19.8",
"eslint": "^9.9.1",
"esbuild": "^0.24.1",
"eslint": "^9.17.0",
"npm-run-all": "^4.1.5",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"shx": "^0.3.4",
"typescript": "^5.5.4"
"typescript": "^5.7.2"
}
}
20 changes: 10 additions & 10 deletions packages/mux-audio/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@
},
"exports": {
".": {
"import": "./dist/index.mjs",
"require": "./dist/index.cjs.js",
"types@<4.3.5": "./dist/types-ts3.4/index.d.ts",
"types": "./dist/types/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.cjs.js",
"default": "./dist/index.cjs.js"
}
},
Expand Down Expand Up @@ -64,22 +64,22 @@
},
"dependencies": {
"@mux/playback-core": "0.28.1",
"custom-media-element": "~1.4.1"
"custom-media-element": "~1.4.2"
},
"devDependencies": {
"@open-wc/testing": "^4.0.0",
"@typescript-eslint/eslint-plugin": "^8.3.0",
"@typescript-eslint/parser": "^8.3.0",
"@web/dev-server-esbuild": "^1.0.2",
"@typescript-eslint/eslint-plugin": "^8.18.1",
"@typescript-eslint/parser": "^8.18.1",
"@web/dev-server-esbuild": "^1.0.3",
"@web/dev-server-import-maps": "^0.2.1",
"@web/test-runner": "^0.19.0",
"downlevel-dts": "^0.11.0",
"esbuild": "^0.19.8",
"eslint": "^9.9.1",
"hls.js": "~1.5.11",
"esbuild": "^0.24.1",
"eslint": "^9.17.0",
"hls.js": "~1.5.18",
"npm-run-all": "^4.1.5",
"replace": "^1.2.1",
"shx": "^0.3.4",
"typescript": "^5.5.4"
"typescript": "^5.7.2"
}
}
12 changes: 6 additions & 6 deletions packages/mux-elements-codemod/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,21 +24,21 @@
"build": "npm-run-all --parallel build:esm"
},
"dependencies": {
"chalk": "^5.0.1",
"chalk": "^5.4.0",
"minimist": "^1.2.6",
"shelljs": "^0.8.5"
},
"devDependencies": {
"@types/minimist": "^1.2.2",
"@types/shelljs": "^0.8.11",
"@typescript-eslint/eslint-plugin": "^8.3.0",
"@typescript-eslint/parser": "^8.3.0",
"@typescript-eslint/eslint-plugin": "^8.18.1",
"@typescript-eslint/parser": "^8.18.1",
"downlevel-dts": "^0.11.0",
"esbuild": "^0.19.8",
"eslint": "^9.9.1",
"esbuild": "^0.24.1",
"eslint": "^9.17.0",
"npm-run-all": "^4.1.5",
"replace": "^1.2.1",
"shx": "^0.3.4",
"typescript": "^5.5.4"
"typescript": "^5.7.2"
}
}
16 changes: 8 additions & 8 deletions packages/mux-player-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,23 +38,23 @@
},
"exports": {
".": {
"import": "./dist/index.mjs",
"require": "./dist/index.cjs.js",
"types@<4.3.5": "./dist/types-ts3.4/index.d.ts",
"types": "./dist/types/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.cjs.js",
"default": "./dist/index.cjs.js"
},
"./lazy": {
"import": "./dist/lazy.mjs",
"types@<4.3.5": "./dist/types-ts3.4/lazy.d.ts",
"types": "./dist/types/lazy.d.ts",
"import": "./dist/lazy.mjs",
"default": "./dist/lazy.mjs"
},
"./themes/*": {
"import": "./dist/themes/*.mjs",
"require": "./dist/themes/*.cjs.js",
"types@<4.3.5": "./dist/types-ts3.4/themes/*.d.ts",
"types": "./dist/types/themes/*.d.ts",
"import": "./dist/themes/*.mjs",
"require": "./dist/themes/*.cjs.js",
"default": "./dist/themes/*.cjs.js"
}
},
Expand Down Expand Up @@ -101,15 +101,15 @@
"prop-types": "^15.7.2"
},
"devDependencies": {
"@types/prop-types": "^15.7.12",
"@types/prop-types": "^15.7.14",
"@types/react": "^18.2.79",
"@types/react-dom": "^18.2.25",
"downlevel-dts": "^0.11.0",
"esbuild": "^0.19.8",
"esbuild": "^0.24.1",
"npm-run-all": "^4.1.5",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"shx": "^0.3.4",
"typescript": "^5.5.4"
"typescript": "^5.7.2"
}
}
Loading

0 comments on commit dd4264d

Please sign in to comment.